I just install mate on a new system . I run dnf update . I get this error . Has any one seen this ? How do I fix it The operation would result in removing the booted kernel: kernel-core-4.2.3-300.fc23.x86_64.
On Sun, 2016-06-19 at 00:20 -0700, William Biggs wrote:
I just install mate on a new system . I run dnf update . I get this error . Has any one seen this ? How do I fix it The operation would result in removing the booted kernel: kernel-core-4.2.3-300.fc23.x86_64.
As the simplest option, I would find the setting that specifies how many kernels are to be currently installed (so that you always have that many), and increase it. It used to be an install-only type of value, in the yum.conf era.
I always used to keep about four or five. That let me revert to earlier kernels to debug problems that may have gone un-noticed for several updates (you don't always use all of the software on a computer, and it can take time before you use something that exposes a kernel bug).
If you only have one kernel installed, trying to remove the only running kernel via the normal update procedure would appear to be a serious bug.
If you have several installed, and you're using an old kernel instead of the most recent, that suggests you're not using your computer so well for the way that Fedora works. Or that you manage to have an extraordinary uptime.
On my older system, the following command line would show how many kernels are installed:
$ rpm -q kernel kernel-3.18.9-100.fc20.i686 kernel-3.19.3-100.fc20.i686 kernel-3.19.4-100.fc20.i686 kernel-3.19.5-100.fc20.i686 kernel-3.19.8-100.fc20.i686
And this command line would show which was in use: $ uname -r 3.19.8-100.fc20.i686
(The command lines in question can be seen after the $ prompt, and the answers on the following lines.)