Description of problem:
OS : Fedora 24
command : dnf update
Error: The operation would result in removing the booted kernel: kernel-core-4.5.5-300.fc24.x86_64.
It's simply trying to remove booted and I have 2 kernels
# rpm -q kernel
My dnf conf is
[root@localhost dnf]# cat dnf.conf
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. dnf update and warning message
Cancel the update because of kernel update problem. I can skip that If I exclude kernel and continue the update other packages but not the kernel but If install myself manually It will going to install new kernel and then we can updated but never did.
Update system normally
If need let me know
The problem is that the specified option in conf overridden the default value. We can introduce the new syntax that would append the new ones to existing value.
To make it clear:
in dnf.conf which replaces default instalonlypkgs value.
If you want to add electron to the list of installonly packages you have to include old values as well:
installonlypkgs=kernel installonlypkg(kernel) installonlypkg(kernel-module) installonlypkg(vm) electron
I changed that value and now I can install kernel and others too or just simply disable also works too
we can also don;t override the default value "kernel". We should just unify all ~kernel provides to one kernel provide name and abandon "installonlypkg(*)"
*** This bug has been marked as a duplicate of bug 1348766 ***