[Spacewalk-list] question about updates not found by yum but by up2date

Michiel van Es michiele at info.nl
Thu Jun 18 07:07:27 UTC 2009



-------- Original Message --------
Subject: [Spacewalk-list] question about updates not found by yum but
by	up2date
From: Pradeep Kilambi <pkilambi at redhat.com>
To: spacewalk-list at redhat.com <spacewalk-list at redhat.com>
Date: 6/17/2009 2:51 PM

> Michiel van Es wrote:
>> Hi,
>>
>> I got some machines (centos 4 clients) who are showing updates in
>> spacewalk but when I click on them I don't see any of them.
>> I know this is a known bug but what I find strange is that when I do a
>> yum update on the machine (spacewalk client) it finds no updates.
>> When I do an up2date -fu it installs updates:
>>
>> [root at supwf01p ~]# yum update
>> Setting up Update Process
>> Setting up repositories
>> spacewalk-client-tools    100% |=========================| 1.9 kB    00:00
>> Reading repository metadata in from local files
>> No Packages marked for Update/Obsoletion
>> [root at supwf01p ~]# up2date -fu
>>
>> Fetching Obsoletes list for channel: centos4...
>>
>> Fetching Obsoletes list for channel: centos4-Base...
>>
>> Fetching Obsoletes list for channel: centos4-Updates...
>>
>> Fetching Obsoletes list for channel: centos4-extras...
>>
>> Fetching Obsoletes list for channel: centos4-addons...
>>
>> Name                                    Version        Rel
>> ----------------------------------------------------------
>> cups                                    1.1.22
>> 0.rc1.9.27.el4_7.5i386
>> cups-libs                               1.1.22
>> 0.rc1.9.27.el4_7.5i386
>>
>>
>> Testing package set / solving RPM inter-dependencies...
>> ########################################
>> cups-1.1.22-0.rc1.9.27.el4_ ########################## Done.
>> cups-libs-1.1.22-0.rc1.9.27 ########################## Done.
>> Preparing              ########################################### [100%]
>>
>> Installing...
>>    1:cups-libs              ###########################################
>> [100%]
>>    2:cups                   ###########################################
>> [100%]
>> [root at supwf01p ~]#
>>
>>
>> Why doesn't yum find any updates and up2date does?
>> I thought both use the same spacewalk repositories?
>>   
> 
> Nope, When you use up2date you're directly talking to the spacewalk 
> database. Where as  for yum the data is fetched from the yum repo's 
> metadata generated from the db. So if you isnt pulling updates you'l 
> need to make sure the repo cache is available in 
> /var/cache/rhn/repodata/<channel>.

How can I check it/this and how do I re-establish a good repodata cache?

> 
> ~ Prad

Michiel

> 
>> Kind regards,
>>
>> Michiel
>>
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090618/1bf8d30b/attachment.sig>


More information about the Spacewalk-list mailing list