Add some robustness to make sure apt-get updates before trying to install packages.
Scripts for creating archive server.
Pointer