Bug 1471473 - Removing specific kernel packages resulted in 584 additional packages candidates for removal
Summary: Removing specific kernel packages resulted in 584 additional packages candida...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-16 08:46 UTC by George R. Goffe
Modified: 2017-07-20 02:34 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-19 11:23:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
tar.gz of debugdata created by dnf for this problem (8.55 MB, application/x-gzip)
2017-07-16 08:46 UTC, George R. Goffe
no flags Details

Description George R. Goffe 2017-07-16 08:46:31 UTC
Created attachment 1299265 [details]
tar.gz of debugdata created by dnf for this problem

Description of problem:

Attempting to remove kernel packages related to the git6 kernel which possibly has a bug that precludes booting successfully.

Removing the extra kernel packages (see below) with dnf erase <packages> resulted in 584 additional packages wanting to be removed.

Version-Release number of selected component (if applicable):
dnf-2.5.1-1.fc27.noarch

How reproducible:
readily

Steps to Reproduce:
1.see script below
2.
3.

Actual results:

584 packages wanting to be removed

Expected results:

packages removed as requested

Additional info:

#!/bin/bash -xv

 dnf --debugsolver erase                                            \
     kernel-core-4.13.0-0.rc0.git6.1.fc27.x86_64                    \
     kernel-cross-headers-4.13.0-0.rc0.git6.1.fc27.x86_64           \
     kernel-devel-4.13.0-0.rc0.git6.1.fc27.x86_64                   \
     kernel-headers-4.13.0-0.rc0.git6.1.fc27.x86_64                 \
     kernel-modules-4.13.0-0.rc0.git6.1.fc27.x86_64                 \
     kernel-modules-extra-4.13.0-0.rc0.git6.1.fc27.x86_64           \
     kernel-tools-4.13.0-0.rc0.git6.1.fc27.x86_64                   \
     kernel-tools-libs-4.13.0-0.rc0.git6.1.fc27.x86_64              \
     kernel-tools-libs-devel-4.13.0-0.rc0.git6.1.fc27.x86_64

Comment 1 Igor Gnatenko 2017-07-19 11:23:52 UTC
All those packages are unneeded, so dnf automatically removes them.

--setopt=clean_requirements_on_remove=False

but next dnf autoremove/remove will clean them... So if you want any of those packages, use `dnf mark install` on them.

Comment 2 George R. Goffe 2017-07-20 02:34:59 UTC
Igor,

I a little confused about what you've said.

These packages are already installed. Marking them as install wouldn't change that, right?

I presume that you mean not needed by other packages. Yes? That doesn't mean that someone (a user) isn't using them.

See the confusion?

Regards,

George...


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