I have two repos configured, one accessed via baseurl=http://... and one via baseurl=file://... (a local repo). When I run this command:
sudo yum -y update --downloadonly --downloaddir=foo
The command runs and lists many packages. However foo only contains packages from the remote repo not the local one. How do I 'download' the local files too?
What I am trying to do is pair down a local repo containing far more RPMs than I need down to just the ones I need to run an update. The idea being to create a new local repo containing only what I need.