Yum Kernel Solution

Lee Tambiah l_tambiah at linuxmail.org
Wed Jan 26 20:53:51 UTC 2005


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

**************************************************
Traditional software is like witchcraft. In history, witchcraft just died out. The same will happen in software. When problems get serious enough, you can't have one person or one company guarding their secrets. You have to have everybody share in knowledge.
--- Linus Torvalds
**************************************************



-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze




More information about the users mailing list