Bug 1769632 - dnf autoremove fails with Problem: The operation would result in removing the following protected packages: kernel-core
Summary: dnf autoremove fails with Problem: The operation would result in removing the...
Keywords:
Status: CLOSED DUPLICATE of bug 1769788
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Mracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-07 04:11 UTC by uor3ee
Modified: 2019-11-11 13:16 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-11 13:16:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description uor3ee 2019-11-07 04:11:55 UTC
Description of problem:

After initial install from iso, kernel, kernel-modules, and kernel-modules-extra are all marked as userinstalled. But after pulling in the new kernel through dnf upgrade, no kernel packages are marked as userinstalled.

Running dnf autoremove gives Error: 
 Problem: The operation would result in removing the following protected packages: kernel-core


Version-Release number of selected component (if applicable): 4.2.9-5.fc31


How reproducible:

Brand new install of Fedora 31, upgrade adding a new kernel in addition to the one with the release, run dnf autoremove.


Steps to Reproduce:
1. Install Fedora 31
2. Run dnf upgrade to update system, bringing in a new kernel
3. Run dnf autoremove

Actual results:

Fails with Problem: The operation would result in removing the following protected packages: kernel-core


Expected results:

Provides an option to remove packages no longer needed.

Additional info:

Comment 1 Pavla Kratochvilova 2019-11-11 13:16:41 UTC

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


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