Bug 1266066 - dnf download --source non-existing_package returns 0
dnf download --source non-existing_package returns 0
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: rpm-software-management
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-09-24 08:12 EDT by Michal Cyprian
Modified: 2016-07-19 14:00 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-19 14:00:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Cyprian 2015-09-24 08:12:18 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

How reproducible:
$ dnf download --source python-sadfg
$ echo $?

Actual results:

Expected results:

Additional info:
Return code shouldn't be 0 (SUCCESS) if sources weren't downloaded. I would expect value 1 or higher.
Comment 1 Michal Cyprian 2015-09-24 08:23:14 EDT
I forgot to specify release: dnf-1.1.1-2.fc22
Comment 2 Fedora Admin XMLRPC Client 2016-07-08 05:24:55 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 3 Fedora End Of Life 2016-07-19 14:00:47 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.