From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Description of problem: yumdownloader --resolve --source <package> should not be possible to begin with, and also produces silly output. Also see https://lists.dulug.duke.edu/pipermail/yum-devel/2005-May/001179.html Version-Release number of selected component (if applicable): yum-utils-0.2-2.fc4 How reproducible: Always Steps to Reproduce: yumdownloader --urls --resolve --source emacs Actual Results: emacs-21.4-5.src.rpm 100% |=========================| 36 kB 00:00 emacs-21.4-5.src.rpm 100% |=========================| 36 kB 00:00 emacs-21.4-5.src.rpm 100% |=========================| 36 kB 00:00 . . . Expected Results: Yum could throw an error message about conflicting parameters. Better yet, --resolve should be silently ignored in this case. Additional info:
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. Thanks. Your friendly BZ janitor :-)
Retested on FC6 w/ yum-3.0.3-1.fc6. I wouldn't say the problem is still there; rather, the problem is worse. This works: yumdownloader --urls emacs This fails to report anything: yumdownloader --urls emacs --source This also fails to report anything: yumdownloader --urls emacs --source --resolve This generates a traceback: yumdownloader --urls emacs --resolve Traceback (most recent call last): File "/usr/bin/yumdownloader", line 191, in ? main() File "/usr/bin/yumdownloader", line 156, in main my.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 243, in resolveDeps (checkdep, missing, conflict, errormsgs) = self._processReq(dep) File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 302, in _processReq dumbmatchpkgs = self.rpmdb.searchNevra(name=name, ver=version, rel=release) AttributeError: 'NoneType' object has no attribute 'searchNevra'
The resolve issue has been fixed in upstream CVS. I will make a new yum-utils release soon.