Red Hat Bugzilla – Bug 1266066
dnf download --source non-existing_package returns 0
Last modified: 2016-07-19 14:00:47 EDT
Description of problem:
When trying to download sources of non-existing package using dnf, I get message:
"No package python-sadfg available." to stderr, but returncode is 0.
Version-Release number of selected component (if applicable):
DNF version: 1.1.1
$ dnf download --source python-sadfg
$ echo $?
Return code shouldn't be 0 (SUCCESS) if sources weren't downloaded. I would expect value 1 or higher.
I forgot to specify release: dnf-1.1.1-2.fc22
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.