Red Hat Bugzilla – Bug 252112
yumdowloader --resolve only downloads non-installed dependencies
Last modified: 2007-11-30 17:12:13 EST
Description of problem:
yumdownloader --resolve seems to only download the specified package if the
dependencies for said package are already installed. I'm not sure if this is
intended behavior, but IMO all dependent packages should be downloaded.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install yum-utils
2. yumdownloader --resolve bash
3. Only bash is downloaded instead of bash, glibc, mktemp, ncurses etc.
Only named package is downloaded
Named package as well as all dependencies should be downloaded IMO.
If this behavior is intended, is there a quick and dirty description of what
could be done in the code to allow all dependencies to be downloaded? I am
trying to build a koji server and want to download all dependencies for a
buildgroup and using yumdownloader would make it much easier.
yumdownloader is made for downloading the dependencies for the system it is
running on. If you want a tool to download all the deps in the remote repo look
at repotrack - also in yum-utils.