Ask Your Question

installonly_limit=5 but only 3 kernels being saved

asked 2015-09-10 21:16:21 -0600

patrick gravatar image
uname -a 
fedora 22, Linux 4.1.6-200.fc22.x86_64 #1 SMP Mon Aug 17 19:54:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

both /etc/yum.conf and /etc/dnf/dnf.conf have installonly_limit=5, but on the last two kernel upgrades I went from 5 to 4 to 3 kernels installed. upgrading with :

sudo dnf upgrade

Checking for installed kernels right now:

» rpm -q kernel

Why aren't 5 kernels being kept anymore. Is it a bug in dnf?

edit retag flag offensive close merge delete


Do you know exactly who has removed the kernels? Check dnf logs to see if it has removed it. I'm not sure, but PackageKit might have its own settings too! (unfortunately, Fedora has 3 package managers which has its own specific behavior).

hedayat gravatar imagehedayat ( 2015-09-11 01:23:59 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-09-12 16:36:59 -0600

sergiomb gravatar image

I think I had the same problem and some days ago I filled this bug report :

Software updater that use PakageKit which use default backend libhif , So, I think, it is PackageKit that remove kernels .

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-09-10 21:16:21 -0600

Seen: 792 times

Last updated: Sep 12 '15