only update apt-get cache within time limit