Ask Your Question
2

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 unknown001c23f907c1.att.net 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
kernel-4.1.4-200.fc22.x86_64
kernel-4.1.5-200.fc22.x86_64
kernel-4.1.6-200.fc22.x86_64

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

edit retag flag offensive close merge delete

Comments

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
1

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 : https://bugzilla.redhat.com/show_bug....

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

Stats

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

Seen: 792 times

Last updated: Sep 12 '15