You can use the yum download-only plugin, or you can enable a keep cache variable in your /etc/yum.repos.d/yourfile.repo. Don't remember the syntax off the top of my head. However a quick google search should turn them both up.
Other option if you want to sync a repo you can check out an application called cobbler.
On Mon, Dec 19, 2011 at 11:39 AM, Alan McKay alan.mckay@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
-- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos