Bug 1047049 - distroverpkg default should be the same in dnf as in yum
Summary: distroverpkg default should be the same in dnf as in yum
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-12-28 17:48 UTC by Bruno Wolff III
Modified: 2014-09-30 23:41 UTC (History)
5 users (show)

Fixed In Version: dnf-plugins-core-0.1.1-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-07-09 02:29:44 UTC
Type: Bug

Attachments (Terms of Use)

Description Bruno Wolff III 2013-12-28 17:48:56 UTC
Description of problem:
Yum has changed (in rawhide, 20 updates and 19 updates-testing) the default value of distroverpkg to a list: ['system-release(release)', 'redhat-release'].
The default for dnf should probably be the same to minimize confusion switching between the two. (Though in fedora there isn't likely to be an issue as redhat-release is provided and will be the same as system-release(release) if it is provided.)

Version-Release number of selected component (if applicable):

Comment 1 Bruno Wolff III 2013-12-28 20:12:14 UTC
Another note about this is that dnf maintains its own version of _getsysver and hasn't changed to match yum's change to make distroverpkg a list. That would have to happen before the default can change.

Comment 2 Ales Kozumplik 2014-01-02 07:58:59 UTC
It's true, this poorly planned decision was implemented in Yum (without consulting us) and we let it slide by for the time. Will keep this open but giving it a low priority for now as nobody is affected by this.

Comment 3 Ales Kozumplik 2014-06-12 08:00:22 UTC
Fixed upstream by ba54035.

Comment 4 Fedora Update System 2014-07-07 09:11:35 UTC
dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20 has been submitted as an update for Fedora 20.

Comment 5 Fedora Update System 2014-07-08 01:03:53 UTC
Package dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.1-2.fc20 dnf-0.5.3-1.fc20 hawkey-0.4.17-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-07-09 02:29:44 UTC
dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

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