Bug 1121381 - dnf "installonlypkgs" default missing kernel-devel
Summary: dnf "installonlypkgs" default missing kernel-devel
Status: CLOSED DUPLICATE of bug 1062997
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: noarch
OS: Linux
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-07-20 09:23 UTC by Steve Bryant
Modified: 2014-07-21 06:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-07-21 06:34:45 UTC
Type: Bug

Attachments (Terms of Use)

Description Steve Bryant 2014-07-20 09:23:42 UTC
Description of problem:
In /usr/lib/python2.7/site-packages/dnf/const.py from dnf we have:

But in /usr/lib/python2.7/site-packages/yum/config.py from yum:
    installonlypkgs = ListOption(['kernel',

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

How reproducible:
By running "dnf upgrade" when there is a new kernel version available and "kernel-devel" is also installed.

Steps to Reproduce:

Actual results:
Have up to three kernel packages installed, but only the "kernel-devel" package for the latest kernel.

Expected results:
Retain the corresponding "kernel-devel" package for each of the retained kernel packages.

Additional info:
The "kernel-devel" package "postinstall" script still runs trying to link identical files the new source tree with an existing source tree, but finds no match for every file as an upgrade, not an install has been done.

Comment 1 Ales Kozumplik 2014-07-21 06:34:45 UTC
Hello, this is a duplicate of bug 1062997, please see more details there.

*** This bug has been marked as a duplicate of bug 1062997 ***

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