Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I keep up2date from updating kernels? 1

Status
Not open for further replies.

linuxMaestro

Instructor
Jan 12, 2004
183
US
How do I keep up2date from updating kernels?

Do I need to change something in yum.conf ?
 
Using the gnome applet you can just click on the "ignored packages" tab and add it there.
 
yum.conf controls where up2date looks for updates.

The file which says what is to be updated and how is /etc/sysconfig/rhn/up2date. Look in that file for the lines:

pkgSkipList[comment]=A list of package names, optionally including wildcards, to skip
pkgSkipList=;

and change the second line to read:

pkgSkipList=kernel*;



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
I have pkgSkipList=kernel*; but it still updates the kernel

Do I have to specify somewhere in yum.conf to use that file?

In yum.conf I have
.
.
.
.
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=0
# Added this because some mirrors go down and then retying takes forever.
retries=1
.
.
.
.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top