Bug 1168949 - DNF tries to uninstall unrelated packages during installation of package
Summary: DNF tries to uninstall unrelated packages during installation of package
Keywords:
Status: CLOSED DUPLICATE of bug 1160011
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
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-11-28 13:58 UTC by Vít Ondruch
Modified: 2014-11-28 14:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-28 14:00:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2014-11-28 13:58:03 UTC
Description of problem:
Recently, I updated my system from F20 -> F21 and since that time, I have four kernels on my system:

$ rpm -q kernel
kernel-3.16.4-200.fc20.x86_64
kernel-3.16.6-200.fc20.x86_64
kernel-3.17.3-200.fc20.x86_64
kernel-3.17.3-300.fc21.x86_64

Now I want to install new package:

$ sudo dnf install gitg
Dependencies resolved.
================================================================================
 Package               Arch    Version                           Repository
                                                                           Size
================================================================================
Installing:
 gitg                  x86_64  3.14.0-1.fc21                     fedora   304 k
 gitg-libs             x86_64  3.14.0-1.fc21                     fedora   230 k
 gtkspell3             x86_64  3.0.6-4.fc21                      fedora    51 k
 http-parser           x86_64  2.0-7.20121128gitcd01361.fc21     fedora    29 k
 libgit2               x86_64  0.21.1-2.fc21                     fedora   367 k
 libgit2-glib          x86_64  0.0.24-1.fc21                     fedora   118 k
Removing:
 kernel                x86_64  3.16.4-200.fc20                   @System  138 M
 kernel-modules-extra  x86_64  3.16.4-200.fc20                   @System  8.2 M

Transaction Summary
================================================================================
Install  6 Packages
Remove   2 Packages

Total download size: 1.1 M
Is this ok [y/N]: 

As you can see, DNF is trying to remove the 4th kernel package when installing some package. I appreciate that DNF is trying to make system clean and tidy, but it should not do unrelated tasks, when I ask to install package. If I did "dnf update", that would be appropriate time to remove the superfluous kernel.

Version-Release number of selected component (if applicable):
$ rpm -q dnf
dnf-0.6.1-1.fc21.noarch


How reproducible:


Steps to Reproduce:
1. Have 4 kernels on the system (not sure how to achieve that with dnf, but on my system, 4th kernel was installed by fedup)
2. dnf install somepackage
3.

Actual results:
Unrelated task, such as kernel cleanup are done.

Expected results:
Only task I am asking, e.g. package installation is executed.

Additional info:

Comment 1 Vít Ondruch 2014-11-28 14:00:12 UTC

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


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