Bug 1471473 - Removing specific kernel packages resulted in 584 additional packages candidates for removal
Removing specific kernel packages resulted in 584 additional packages candida...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
rawhide
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: rpm-software-management
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-16 04:46 EDT by George R. Goffe
Modified: 2017-07-19 22:34 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-19 07:23:52 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description George R. Goffe 2017-07-16 04:46:31 EDT
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 07:23:52 EDT
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-19 22:34:59 EDT
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.