Red Hat Bugzilla – Bug 175886
yumdownloader doesn't work properly as non-root
Last modified: 2007-11-30 17:11:19 EST
When running as non-root and all package headers not in local cache,
$ sudo yum clean headers
Cleaning up Headers
170 headers removed
$ yumdownloader --urls --resolve nethack
Traceback (most recent call last):
File "/usr/bin/yumdownloader", line 130, in ?
File "/usr/bin/yumdownloader", line 102, in main
File "depsolve.py", line 211, in resolveDeps
File "depsolve.py", line 169, in populateTs
File "__init__.py", line 676, in downloadHeader
yum.Errors.RepoError: Header not in local cache and caching-only mode enabled.
Cannot download nethack-3.4.3-3.fc4.i386.rpm
$ rpm -q yum yum-utils
This seems to work ok in devel with yum 2.5.0 and my patched yumdownloader from
FC3 and FC4 have now been EOL'd.
Please check the ticket against a current Fedora release, and either adjust the
release number, or close it if appropriate.
Your friendly BZ janitor :-)
This has been fixed in later yum/yum-utils versions.