[Spacewalk-list] question about updates not found by yum but by up2date
Pradeep Kilambi
pkilambi at redhat.com
Wed Jun 17 12:51:29 UTC 2009
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>.
~ Prad
> Kind regards,
>
> Michiel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list