Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1782470 - Protected packages are listed as auto-removable
Summary: Protected packages are listed as auto-removable
Keywords:
Status: CLOSED DUPLICATE of bug 1769788
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Pavla Kratochvilova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-11 17:14 UTC by ricky.tigg
Modified: 2019-12-17 12:50 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-17 12:50:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description ricky.tigg 2019-12-11 17:14:44 UTC
Description of problem: Protected packages are listed as auto-removable

Version-Release number of component: dnf.noarch 4.2.17-1.fc31

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

Expected results: Protected packages not to be eligible for removing, thus not listed.

Comment 1 Pavla Kratochvilova 2019-12-17 12:50:34 UTC
The problem is fixed in dnf-4.2.17 for newly installed systems. On older systems, however, dnf is still trying to remove the kernel, because it forgot the original install reason. To fix it, just run "dnf mark install kernel kernel-modules".

*** 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.