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):
By running "dnf upgrade" when there is a new kernel version available and "kernel-devel" is also installed.
Steps to Reproduce:
Have up to three kernel packages installed, but only the "kernel-devel" package for the latest kernel.
Retain the corresponding "kernel-devel" package for each of the retained kernel packages.
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.
Hello, this is a duplicate of bug 1062997, please see more details there.
*** This bug has been marked as a duplicate of bug 1062997 ***