kernel updates via yum: keeping all old kernels?

Terry Snyder terryjr386 at gmail.com
Fri Jul 7 17:10:49 UTC 2006


On 7/7/06, Peter Teuben <teuben at astro.umd.edu> wrote:
>
> I was using yum to update the kernel, and although the first upgrade
> kept the original one, and gave me revision 2139, the one I did yesterday
> gave me 2145 but wiped out my original 2054.....   I didn't see an
> option to keep old ones, what is the official way to keep the old ones?
>
> - peter
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

you have to edit the installonlyn.conf in /etc/yum/pluginconf.d directory.

example file
[main]
enabled=1
# this sets the number of package versions which are kept
tokeep=5

change enable= to 0 to keep all kernels
tokeep= is the number of prior kernels you would like to keep.  I
changed my system to keep 5 prior kernels.

-- 
Terry Snyder Jr
Computer Support Specialist
http://www.personal.psu.edu/tes215
Linux (Red Hat, Fedora Core), Windows, Mac
Fedora Core 5  3 users,  load average: 0.19, 0.30, 0.28




More information about the users mailing list