yum question - install or upgrade
On Dec 24, 2007 9:02 AM, adrian kok <email@example.com> wrote:
> I install new kernel to use yum
> Which command should I use
> yum install kernel
Use if you know the version.
> yum upgrade kernel
Use if you do not.
> I want to keep the old kernel
Be ware! Yum may trap you with its default settings. You might be
better off downloading the desired kernel and installing with "sudo
rpm -ivh kernel-xxx,xxx.rpm".
> thank you
The default yum setting for the number of kernels to keep is 2. When
you do an upgrade or install only the current kernel (the one that you
are running) and the new kernel (one being installed ) will be left on
your system. Any other kernels will be removed. If you want to keep
more than just two you need to edit /etc/yum.conf and change the value
of installonly_limit. Set the value to zero (0) if you want to keep
all kernels that you have downloaded. (FC6 users need to edit
/etc/yum/plugin.conf.d/installonlyn.conf and change the value of
fedora-list mailing list
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list