Description of problem: When yumdownloader fails to download a package, it writes an error message, but doesn't signal the failure in its exit status. Version-Release number of selected component (if applicable): yum-utils-0.2-2.fc4 How reproducible: Every time Steps to Reproduce: 1.yumdownloader --source evince-0.4.0-1.2 2.echo $? Actual results: $? is 0 Expected results: $? should be 1, or something else not equal to 0 Additional info: evince-0.4.0-1.2 is an update. And the SRPM directory for updates is (unfortunately) not "yum-enabled". So the failure itself is expected. But it would make sense, and simplify scripts, if yumdownloader indicated this failure in its exit status.
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 :-)
Still the same in FC6, yum-utils-1.0.1-1.fc6.
I also see this in F7-devel as of today with --source option.
i have added a non zero return code if there is nothing to download