fix incorrect apt state for jenkins