cancel
Showing results for 
Search instead for 
Did you mean: 

REHL5 RHN yum issue

 
Robert Walker_8
Valued Contributor

REHL5 RHN yum issue

Gday,

I have built a couple of RHEL5 boxes and registered to RHN. For some reason 3 of the 4 boxes are automatically downloading and installing patches - when I only want them to down load.

The fourth one has been downloading but not installing. Through HP I have found that the gpg-pubkey wasnt installed on the 4th one and thus failed to meet the gpg_check=1 option in /etc/yum.conf and thus is likely the reason for not installing.

However under RHEL4 when you told the system update=0 it meant dont do updates in /etc/yum/yum-updatesd.conf i have set "do_update = no" but it seems yum isnt listening.

Also under the old RHEL4 up2date system I could do an up2date --get and thus get down the update I wanted for manual install - this doesnt appear to be possible in YUM - its install a package or nothing?

Robert
4 REPLIES
Steven E. Protter
Exalted Contributor

Re: REHL5 RHN yum issue

Shalom,

How to do this is in the yum man.

I have configured systems to only download and not install patches with the GUI that ships for configuring yum.

I'd suggest trying the GUI it is more straightforward.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert Walker_8
Valued Contributor

Re: REHL5 RHN yum issue

Gday SEP,

I dont do GUIs - am a DEC VMS dinosaur - no such thing just the $ prompt.

All the config stuff is set, the downloads happen just that 4/5 systems would auto install patches as well even though they were told explicitly NOT to.

/etc/yum/yum-updatesd.conf says do_update = no plain and simple I would have thought.

Robert.
skt_skt
Honored Contributor

Re: REHL5 RHN yum issue

with up2date i configure as below; :look for an equivalent one

# grep -i skip /etc/sysconfig/rhn/up2date
removeSkipList[comment]=A list of package names, optionally including wildcards that up2date will not remove
removeSkipList=kernel*;
pkgSkipList[comment]=A list of package names, optionally including wildcards, to skip
pkgSkipList=kernel*;
forceInstall[comment]=Force package installation, ignoring package, file and config file skip list
fileSkipList[comment]=A list of file names, optionally including wildcards, to skip
fileSkipList=;


Robert Walker_8
Valued Contributor

Re: REHL5 RHN yum issue

No longer relevant - RHEL now have downloadonly for yum - apparently download and install was by design?