downloading packages without installing
K Richard Pixley
rpixley at graphitesystems.com
Fri May 8 18:01:24 UTC 2015
I'm having trouble figuring out how to download a set of packages
without installing them.
There would seem to be several possible approaches, none of which are
working in a way that is useful for me.
I'm working on RHEL7.1 if it matters.
Yumdownloader gets too many packages. /Way/ too many to be of practical
use for my purpose, (creating bootable kickstart isos). And the extra
packages introduce unresolvable dependencies, which is a problem.
Using top-of-tree yumdownloader gets fewer packages, but still too many
to be of use.
Using "yum install --downloadonly X Y" also fails. If X is installed on
the system but Y is not, then no available combination of command line
options will cause them both to be downloaded unless I first install Y
on the system.
So my current, horrible solution is to install everything I need on the
host system, then --downloadonly to get copies of the rpms that I need.
Surely there must be a way to use yum to collect all the rpms that I
need for my task. And surely other people have faced and solved exactly
this issue. What's the secret to getting either yumdownloader or
--downloadonly to Do The Right Thing?
--rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20150508/0dda888c/attachment.html>
More information about the Yum-devel
mailing list