Link to home
Start Free TrialLog in
Avatar of George R. Kasica
George R. KasicaFlag for United States of America

asked on

Download ubuntu packages now install all later

I'm looking to use apt-get for Ubuntu and yum for Centos to do the following as root:

1) Ubuntu: apt-get update ; apt-get -d dist-upgrade
to just download the update items for later install

2) How do I install the previously downloaded files at a different time? I was thinking apt-get -f install but can't tell if t will get all the updates. - my 2 Ubuntu systems are both up to date so I can't test this yet

3) yum for CentOS doesn't seem to have a download only option. This part of the question is not as critical.

Thanks in advance
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of George R. Kasica


That’s what I was expecting to hear but have to make the VPs happy by at least looking for another answer. We’ve been doing it “live” the last 4 years and now suddenly someone wants Linux to act like Windows. Ugh!!
Ah! Management!

Good times...

Good luck!