I'm having some issues with up2date in CentOS. First, let me give you some background:
I was up2dating to CentOS 4.2 a week or so ago. When it was installing the packages, somewhat messed up. The box was unusable - the load averages were like 15 or so. Top showed useradd taking up 99% of the CPU. Killing it didn't do anything, and this was already about 3 or 4 hours after it started instaling the updates, so I rebooted it. Once I got it running again, I had problems trying to update. Basically, IIRC, it wasn't letting me update stuff, because a package wasn't the latest version, and it wouldn't let me install the latest version or something like that. up2date wouldn't work, yum wouldn't work, manually trying to solve the dependencies wouldn't work so I tryed rpm --rebuilddb. That didn't help anything, so I restore the RPM db's from a backup. I know, that probably wasn't the best thing in the world to do, but I was pretty much out of ideas. So, I restored the RPM database, and the up2dated to CentOS 4.2(from 4.1). That went fairly well. However, since then, I haven't been able to run up2date(GUI or console version - yum works as far as I can tell). When I run up2date, it eventually gets to the "Fetching obsoletes list for channel: centos4-addons" and hangs there. It doesn't matter if I disable that channel, it will just hang on another channel then. I've tried installing an old version of up2date over the newer version, and the old version(from the CentOS 4.0 DVD) worked fine, atleast to update up2date to the new, 4.2, version. The new version though, still does not work. When I start it from a console, I get:
Code:
An error has occured:
exceptions.keyError
See /var/log/up2date for more information
An error has occured:
exceptions.ValueError
See /var/log/up2date for more information
/var/log/up2date:
Code:
[Sun Oct 30 23:41:14 2005] up2date
[Wed Nov 2 17:47:45 2005] up2date availablePackageList from network
[Wed Nov 2 17:47:45 2005] up2date Unable to import repomd support so repomd support will not be available
[Wed Nov 2 17:47:49 2005] up2date Could not find an approriate arch for package [['kernel-smp', '2.6.9', '22.0.1.EL', '', 'x86_64', '1000', 'centos4-Updates', 'RPMS/kernel-smp-2.6.9-22.0.1.EL.x86_64.rpm']], skipping
[Wed Nov 2 17:47:49 2005] up2date The latest version of kernel-smp was not available for this arch. Skipping
[Wed Nov 2 17:47:49 2005] up2date File "/usr/share/rhn/up2date_client/gui.py", line 1438, in onChannelsPageNext
self.pkgList = self.pList.getPackagesToInstall()
File "/usr/share/rhn/up2date_client/packageList.py", line 643, in getPackagesToInstall
self.__findBestArchPackages()
File "/usr/share/rhn/up2date_client/packageList.py", line 612, in __findBestArchPackages
del self.packagesToUpdate[pkey]
[Wed Nov 2 17:47:50 2005] up2date File "/usr/share/rhn/up2date_client/gui.py", line 1517, in onSkippedPagePrepare
maxlength = max(map(lambda x: len(x[0][0]), self.skipPkgList)) * 8
It almost seems like its some kind of a python error from that, but it really doesn't mean anything to me. Any ideas of what's fscked with up2date on this box?