On Mon, Dec 19, 2011 at 10:56 AM, Ryan Wagoner <rswagoner at gmail.com> wrote: > On Mon, Dec 19, 2011 at 11:39 AM, Alan McKay <alan.mckay at gmail.com> wrote: > >> Hey folks, >> >> Is there any way to fake a "yum update" just to get yum to force a download >> of all the files it needs, without actually installing them. >> >> I finally have a RPM cache/proxy working and I just want to populate it. >> The server I want to actually update cannot be updated until tomorrow but >> I'd like to do a fake update just to force the RPMs into my cache so they >> will all be pre-downloaded. >> >> I don't see anyway from the man page to do this. >> >> thanks, >> -Alan >> >> > Why not just mirror the CentOS repo with rsync? You can have a script rsync > nightly so updates are ready to install when you need them. Additionally > your repo will be consistent with CentOS. If you use a proxy you could have > inconsistent results depending on the cache time to live. Mirroring a whole repo to save bandwidth for copying the updates to the subset of RPMs that you have installed never sounded like a good way to save bandwidth to me.... And proxies are supposed to check for changes - otherwise you couldn't do much web activity through them. -- Les Mikesell lesmikesell at gmail.com