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:
*** This bug has been marked as a duplicate of bug 1769788 ***