[Spacewalk-list] yum update does not see any new packages from a spacewalk server.

Eugene eugene at bct.bz
Wed Jul 25 01:54:54 UTC 2012


I see file list are being updated, right now have over 100 packages reported by UI but none on the client.

> It should be
>  ls -al /var/cache/rhn/repodata/*/*

# cd /var/cache/rhn/repodata
# ls -atrl *i386*/*
-rw-r--r--. 1 root root     1033 Mar 21 23:06 fedora16-i386-rpmfusion/repomd.xml
-rw-r--r--. 1 root root   137663 Mar 21 23:06 fedora16-i386-rpmfusion/primary.xml.gz
-rw-r--r--. 1 root root   347404 Mar 21 23:06 fedora16-i386-rpmfusion/other.xml.gz
-rw-r--r--. 1 root root   229256 Mar 21 23:06 fedora16-i386-rpmfusion/filelists.xml.gz
-rw-r--r--. 1 root root     1033 Mar 21 23:24 fedora16-i386-rpmfusion-nonfree/repomd.xml
-rw-r--r--. 1 root root    53460 Mar 21 23:24 fedora16-i386-rpmfusion-nonfree/primary.xml.gz
-rw-r--r--. 1 root root   142485 Mar 21 23:24 fedora16-i386-rpmfusion-nonfree/other.xml.gz
-rw-r--r--. 1 root root    96439 Mar 21 23:24 fedora16-i386-rpmfusion-nonfree/filelists.xml.gz
-rw-r--r--. 1 root root     1033 Mar 25 04:26 fedora16-i386-debug/repomd.xml
-rw-r--r--. 1 root root   951069 Mar 25 04:26 fedora16-i386-debug/primary.xml.gz
-rw-r--r--. 1 root root  6864132 Mar 25 04:26 fedora16-i386-debug/other.xml.gz
-rw-r--r--. 1 root root  9666172 Mar 25 04:26 fedora16-i386-debug/filelists.xml.gz
-rw-r--r--. 1 root root     1033 Mar 25 14:17 fedora16-i386/repomd.xml
-rw-r--r--. 1 root root  7521563 Mar 25 14:17 fedora16-i386/primary.xml.gz
-rw-r--r--. 1 root root 32283673 Mar 25 14:17 fedora16-i386/other.xml.gz
-rw-r--r--. 1 root root 23039982 Mar 25 14:17 fedora16-i386/filelists.xml.gz
-rw-r--r--. 1 root root     1033 Jun  3 06:01 fedora16-i386-cinnamon/repomd.xml
-rw-r--r--. 1 root root     3174 Jun  3 06:01 fedora16-i386-cinnamon/primary.xml.gz
-rw-r--r--. 1 root root     1233 Jun  3 06:01 fedora16-i386-cinnamon/other.xml.gz
-rw-r--r--. 1 root root     4506 Jun  3 06:01 fedora16-i386-cinnamon/filelists.xml.gz
-rw-r--r--. 1 root root   140940 Jun 15 04:40 fedora16-i386-updates.bak/updateinfo.xml.gz
-rw-r--r--. 1 root root     1350 Jun 15 04:40 fedora16-i386-updates.bak/repomd.xml
-rw-r--r--. 1 root root  4416286 Jun 15 04:40 fedora16-i386-updates.bak/primary.xml.gz
-rw-r--r--. 1 root root 42773231 Jun 15 04:40 fedora16-i386-updates.bak/other.xml.gz
-rw-r--r--. 1 root root 29161428 Jun 15 04:40 fedora16-i386-updates.bak/filelists.xml.gz
-rw-r--r--. 1 root root   140940 Jun 17 04:33 fedora16-i386-updates/updateinfo.xml.gz
-rw-r--r--. 1 root root     1350 Jun 17 04:33 fedora16-i386-updates/repomd.xml
-rw-r--r--. 1 root root  4478379 Jun 17 04:33 fedora16-i386-updates/primary.xml.gz
-rw-r--r--. 1 root root 44279914 Jun 17 04:33 fedora16-i386-updates/other.xml.gz
-rw-r--r--. 1 root root 29489724 Jun 17 04:33 fedora16-i386-updates/filelists.xml.gz
-rw-r--r--. 1 root root     1033 Jul 23 01:31 fedora16-i386-rpmfusion-nonfree-updates/repomd.xml
-rw-r--r--. 1 root root   109313 Jul 23 01:31 fedora16-i386-rpmfusion-nonfree-updates/primary.xml.gz
-rw-r--r--. 1 root root  3086768 Jul 23 01:31 fedora16-i386-rpmfusion-nonfree-updates/other.xml.gz
-rw-r--r--. 1 root root   415749 Jul 23 01:31 fedora16-i386-rpmfusion-nonfree-updates/filelists.xml.gz
-rw-r--r--. 1 root root     1033 Jul 23 02:01 fedora16-i386-rpmfusion-updates/repomd.xml
-rw-r--r--. 1 root root   295914 Jul 23 02:01 fedora16-i386-rpmfusion-updates/primary.xml.gz
-rw-r--r--. 1 root root  1278518 Jul 23 02:01 fedora16-i386-rpmfusion-updates/other.xml.gz
-rw-r--r--. 1 root root   411102 Jul 23 02:01 fedora16-i386-rpmfusion-updates/filelists.xml.gz
# 

I see that fedora16-i386-updates hasn't changed since Jun 17th, while rpmfusion is being updated just fine.

> You may also check whether yum can see any of packages webUI suggests
> for update:
> yum list --showduplicates package1 package2 ...

# yum list --showduplicates boost-filesystem
Loaded plugins: auto-update-debuginfo, fastestmirror, presto, refresh-
              : packagekit, rhnplugin
Loading mirror speeds from cached hostfile
 * livna: rpm.livna.org
Installed Packages
boost-filesystem.i686            1.47.0-6.fc16             @updates             
Available Packages
boost-filesystem.i686            1.47.0-3.fc16             fedora16-i386        
boost-filesystem.i686            1.47.0-6.fc16             fedora16-i386-updates

UI, for example, reports
Latest Package Available Package
boost-filesystem-1.47.0-7.fc16.i686 	boost-filesystem-1.47.0-6.fc16.i686 

Eugene.

11.07.2012, 03:31, "Michael Mraka" <michael.mraka at redhat.com>:
>
>
> Also check that you don't have packages excluded in /etc/yum.conf,
> /etc/yum/pluginconf.d/rhnplugin.conf or /etc/yum.repos.d/*.

I don't have any excluded.




More information about the Spacewalk-list mailing list