Yum Kernel Solution

Chad Miller cmiller at gruuv.com
Thu Jan 27 06:42:39 UTC 2005


man yum.conf

exclude
List of packages to exclude from updates or installs. This should be a space 
separated list.  Shell globs using wildcards (eg. * and ?) are allowed.

Take your pick as to if you want to use kernel* or specifically list
kernel kernel-utils

-C

----- Original Message ----- 
From: "Vinicius" <cviniciusm at terra.com.br>
To: <fedora-list at redhat.com>
Sent: Wednesday, January 26, 2005 6:33 PM
Subject: Re: Yum Kernel Solution


> Lee Tambiah escreveu:
>> So yum avoids updating your kernel, do the following.
>>
>> 1. Open terminal.
>> 2. Log in as Super User, Su -
>> 3. enter: cd /etc/
>> 4. enter: ls yum.conf
>> 5. yum.conf should appear
>> 6. enter: gedit yum.conf or emacs yum.conf depending on your editor.
>> 7. The following should be displayed:
>>
>> [main]
>>
>> cachedir=/var/cache/yum
>> debuglevel=2
>> logfile=/var/log/yum.log
>> pkgpolicy=newest
>> distroverpkg=redhat-release
>> tolerant=1
>> exactarch=1
>> retries=20
>> obsoletes=1
>> gpgcheck=1
>>
>> # PUT YOUR REPOS HERE OR IN separate files named file.repo
>> # in /etc/yum.repos.d
>>
>> 8. Below [main] add the following:-
>> exclude=kernel
>> 9. Save and exit.
>> 10. Now yum will not update your kernel.
>>
>>
>>
>> Regards
>>
>> L Tambiah - Linux Enthusiast
>
> Does this excludes kernel-utils too?
>
>
> 




More information about the users mailing list