When I do that I get permanent 404 - not found errors on the redhat repositories.
failure: repodata/repomd.xml from rhel-7-server-debug-rpms: [Errno 256] No more mirrors to try. https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/x86_64/debug/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Pasting that address up to the $releasever into my web browser gets me an invalid certificate warning. Allowing the invalid certificate gets me an "access denied". --rich On 20150509 01:48, Tim Lauridsen wrote: > > Try to play with --installroot=/tmp/cache, then the yum cmd/tool will > work with a clean system > > Tim > > > On Fri, May 8, 2015, 20:08 K Richard Pixley > <rpix...@graphitesystems.com <mailto:rpix...@graphitesystems.com>> wrote: > > 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 > _______________________________________________ > Yum-devel mailing list > Yum-devel@lists.baseurl.org <mailto:Yum-devel@lists.baseurl.org> > http://lists.baseurl.org/mailman/listinfo/yum-devel > > > > _______________________________________________ > Yum-devel mailing list > Yum-devel@lists.baseurl.org > http://lists.baseurl.org/mailman/listinfo/yum-devel
_______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel