FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-24-2007, 04:02 PM
adrian kok
 
Default yum question - install or upgrade

Hi

I install new kernel to use yum

Which command should I use

yum install kernel
or
yum upgrade kernel

I want to keep the old kernel

thank you


Send instant messages to your online friends http://uk.messenger.yahoo.com

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-24-2007, 08:30 PM
"Kam Leo"
 
Default yum question - install or upgrade

On Dec 24, 2007 9:02 AM, adrian kok <adriankok2000@yahoo.com.hk> wrote:
> Hi
>
> I install new kernel to use yum
>
> Which command should I use
>
> yum install kernel

Use if you know the version.

> or
> 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

Additional information:

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
tokeep.)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-24-2007, 08:35 PM
Aaron Konstam
 
Default yum question - install or upgrade

On Tue, 2007-12-25 at 01:02 +0800, adrian kok wrote:
> Hi
>
> I install new kernel to use yum
>
> Which command should I use
>
> yum install kernel
> or
> yum upgrade kernel
>
> I want to keep the old kernel
>
> thank you
>
It does e not really matter. Yum update would be better. The number of
kernels kept is controlled by the : installonly_limit=8
line in /etc/yum.conf
--
================================================== =====================
Time is a great teacher, but unfortunately it kills all its pupils. --
Hector Berlioz
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 05:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org