Experiment with adding apt-get update prior to each install command.