Created attachment 1062327[details]
dnf remove multiple kernel versions.txt
Description of problem:
When use `dnf remove` to remove multiple versions of kernel packages, the "Erasing" lines of "Running transaction" show duplicated lowest version number
Version-Release number of selected component (if applicable):
How reproducible:
Always.
Steps to Reproduce:
1. use `dnf remove` to remove multiple versions of kernel packages, such as `dnf remove *-4.1.3-201.fc22 *-4.1.4-200.fc22`
2. see the "Erasing .." lines of "Running trasaction" messages
3. there're duplicated "Erasing..." lines, the version number in "Erasing..." lines are all the lowest version of kernel package specified in `dnf remove` packages.
Actual results:
========================================================================================================================
......
Running transaction
Erasing : kernel-4.1.3-201.fc22.x86_64 1/6
Erasing : kernel-4.1.3-201.fc22.x86_64 2/6
Erasing : kernel-modules-4.1.3-201.fc22.x86_64 3/6
Erasing : kernel-modules-4.1.3-201.fc22.x86_64 4/6
Erasing : kernel-core-4.1.3-201.fc22.x86_64 5/6
Erasing : kernel-core-4.1.3-201.fc22.x86_64 6/6
Verifying : ......
......
========================================================================================================================
Expected results:
========================================================================================================================
......
Running transaction
Erasing : kernel-4.1.3-201.fc22.x86_64 1/6
Erasing : kernel-4.1.4-200.fc22.x86_64 2/6
Erasing : kernel-modules-4.1.3-201.fc22.x86_64 3/6
Erasing : kernel-modules-4.1.4-200.fc22.x86_64 4/6
Erasing : kernel-core-4.1.3-201.fc22.x86_64 5/6
Erasing : kernel-core-4.1.4-200.fc22.x86_64 6/6
Verifying : ......
......
========================================================================================================================
Additional info:
This bug is still present in F23 with the following version of DNF:
$ rpm -qa | grep ^dnf | sort
dnf-1.1.3-1.fc23.noarch
dnf-conf-1.1.3-1.fc23.noarch
dnf-plugins-core-0.1.13-1.fc23.noarch
dnf-plugin-system-upgrade-0.7.0-1.fc23.noarch
dnf-yum-1.1.3-1.fc23.noarch
Created attachment 1062327 [details] dnf remove multiple kernel versions.txt Description of problem: When use `dnf remove` to remove multiple versions of kernel packages, the "Erasing" lines of "Running transaction" show duplicated lowest version number Version-Release number of selected component (if applicable): How reproducible: Always. Steps to Reproduce: 1. use `dnf remove` to remove multiple versions of kernel packages, such as `dnf remove *-4.1.3-201.fc22 *-4.1.4-200.fc22` 2. see the "Erasing .." lines of "Running trasaction" messages 3. there're duplicated "Erasing..." lines, the version number in "Erasing..." lines are all the lowest version of kernel package specified in `dnf remove` packages. Actual results: ======================================================================================================================== ...... Running transaction Erasing : kernel-4.1.3-201.fc22.x86_64 1/6 Erasing : kernel-4.1.3-201.fc22.x86_64 2/6 Erasing : kernel-modules-4.1.3-201.fc22.x86_64 3/6 Erasing : kernel-modules-4.1.3-201.fc22.x86_64 4/6 Erasing : kernel-core-4.1.3-201.fc22.x86_64 5/6 Erasing : kernel-core-4.1.3-201.fc22.x86_64 6/6 Verifying : ...... ...... ======================================================================================================================== Expected results: ======================================================================================================================== ...... Running transaction Erasing : kernel-4.1.3-201.fc22.x86_64 1/6 Erasing : kernel-4.1.4-200.fc22.x86_64 2/6 Erasing : kernel-modules-4.1.3-201.fc22.x86_64 3/6 Erasing : kernel-modules-4.1.4-200.fc22.x86_64 4/6 Erasing : kernel-core-4.1.3-201.fc22.x86_64 5/6 Erasing : kernel-core-4.1.4-200.fc22.x86_64 6/6 Verifying : ...... ...... ======================================================================================================================== Additional info: