run apt earlier