Up2date Issue on FC4
From FedoraNEWS.ORG
Written by Thomas Chung on 2005-07-02
Recently I've noticed up2date is not reporting any updates even though Fedora Project released many Fedora Core 4 Updates.
Here is an exampe. As you can see yum found several updates including kernel packages:
[root@localhost ~]# yum check-update Setting up repositories updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files binutils.i386 2.15.94.0.2.2-2.1 updates-released kernel.i686 2.6.12-1.1387_FC4 updates-released kernel-smp.i686 2.6.12-1.1387_FC4 updates-released kernel-smp-devel.i686 2.6.12-1.1387_FC4 updates-released netpbm.i386 10.27-4.FC4.2 updates-released netpbm-devel.i386 10.27-4.FC4.2 updates-released netpbm-progs.i386 10.27-4.FC4.2 updates-released qt.i386 1:3.3.4-15.1 updates-released selinux-policy-targeted.noarch 1.23.18-17 updates-released totem.i386 1.0.4-1 updates-released [root@localhost ~]#
But up2date did not find any updates. In fact, it seems it's looking for a wrong channel - FC3 instead of FC4 - and eventually it fails to locate any updates.
[root@localhost ~]# up2date --list initRepo Baseurl(s) for repo: ['http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/'] Baseurl(s) for repo: ['http://download.fedora.redhat.com/pub/fedora/linux/extras/4/i386/'] Baseurl(s) for repo: ['http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/'] Setting up Package Sacks Excluding Incompatible Archs Finished Setting up Package Sacks Excluding Incompatible Archs Finished initRepo Setting up Package Sacks Excluding Incompatible Archs Finished initRepo Setting up Package Sacks Excluding Incompatible Archs Finished Fetching Obsoletes list for channel: updates-released... initRepo Fetching obsoletes list for http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i386/... Fetching Obsoletes list for channel: extras... initRepo Fetching obsoletes list for http://download.fedora.redhat.com/pub/fedora/linux/extras/3/i386/... Fetching Obsoletes list for channel: base... initRepo Fetching obsoletes list for http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/... Fetching rpm headers... initRepo bytes=440-40694 There was a fatal error communicating with the server. The message was: An HTTP error occurred: URL: http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i386//binutils-2.15.94.0.2.2-2.1.i386.rpm Status Code: 404 Error Message: Not Found [root@localhost ~]#
After searching for an answer in mailing list and bugzilla, I was able find a fix to resolve at least up2date issue.
Here is what you need to fix up2date issue:
[root@localhost ~]# cd /usr/share/rhn/up2date_client/ [root@localhost up2date_client]# vi sourcesConfig.py
Or using your favorite text editor, scroll down to line 162 where it says:
releasever = "3"
Simply comment it out as following:
#releasever = "3"
Now, up2date should work as it expected:
[root@localhost ~]# up2date --list initRepo Baseurl(s) for repo: ['http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/'] Baseurl(s) for repo: ['http://download.fedora.redhat.com/pub/fedora/linux/extras/4/i386/'] Baseurl(s) for repo: ['http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/'] Setting up Package Sacks Excluding Incompatible Archs Finished Setting up Package Sacks Excluding Incompatible Archs Finished initRepo Setting up Package Sacks Excluding Incompatible Archs Finished initRepo Setting up Package Sacks Excluding Incompatible Archs Finished Fetching Obsoletes list for channel: updates-released... initRepo Fetching obsoletes list for http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/... Fetching Obsoletes list for channel: extras... initRepo Fetching obsoletes list for http://download.fedora.redhat.com/pub/fedora/linux/extras/4/i386/... Fetching Obsoletes list for channel: base... initRepo Fetching obsoletes list for http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/... Fetching rpm headers... initRepo bytes=440-40694 initRepo bytes=440-13615 initRepo### bytes=440-15842 initRepo######### bytes=440-81734 initRepo############## bytes=440-34884 initRepo#################### bytes=440-44828 initRepo########################## bytes=440-26143 ######################################## Name Version Rel ---------------------------------------------------------- binutils 2.15.94.0.2.2 2.1 i386 netpbm 10.27 4.FC4.2 i386 netpbm-devel 10.27 4.FC4.2 i386 netpbm-progs 10.27 4.FC4.2 i386 qt 3.3.4 15.1 i386 selinux-policy-targeted 1.23.18 17 noarch totem 1.0.4 1 i386 The following Packages were marked to be skipped by your configuration: Name Version Rel Reason ------------------------------------------------------------------------------- kernel 2.6.12 1.1387_FC4Pkg name/pattern kernel-smp 2.6.12 1.1387_FC4Pkg name/pattern kernel-smp-devel 2.6.12 1.1387_FC4Pkg name/pattern [root@localhost ~]#
Sorry, I still haven't found a fix for rhn-applet issue yet but it's been already reported in bugzilla so an updated rhn-applet should be released from Fedora Project soon. Until then, please keep monitoring Fedora Core 4 Updates page and use *yum* to receive updates on FC4.
References

