16

I've got a few hundred ubuntu machines that I need to update, and I'd like to space it over a week and then once they're all updated, space patching over another week.

Is there a way to just download updates so they're ready a week before actually doing the upgrade with apt-get?

Peter Turner
  • 576
  • 1
  • 9
  • 20
  • 1
    look here http://askubuntu.com/questions/463380/difference-between-apt-get-d-install-apt-get-download – derHugo Dec 15 '16 at 21:31

1 Answers1

26

According to its man page, apt-get upgrade --download-only will only retrieve packages; it will not unpack them or install them.

Still according to the man page, apt-get upgrade --no-download --ignore-missing will force APT to use only the .debs it has already downloaded.

Adrien Beau
  • 1,916