Bug 1121381 - dnf "installonlypkgs" default missing kernel-devel
Summary: dnf "installonlypkgs" default missing kernel-devel
Keywords:
Status: CLOSED DUPLICATE of bug 1062997
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: noarch
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2014-07-21 06:34:45 UTC


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:
INSTALLONLYPKGS=('kernel',
                 'installonlypkg(kernel)',
                 'installonlypkg(kernel-module)',
                 'installonlypkg(vm)')

But in /usr/lib/python2.7/site-packages/yum/config.py from yum:
    installonlypkgs = ListOption(['kernel',
                                  'kernel-devel',
                                  'kernel-source',
                                  'installonlypkg(kernel)',
                                  'installonlypkg(kernel-module)',
                                  'installonlypkg(vm)'])

Version-Release number of selected component (if applicable):
dnf-0.5.4-1.fc20.noarch
(yum-3.4.3-152.fc20.noarch)

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

Steps to Reproduce:
1.
2.
3.

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.