[CentOS] up2date error

Akop Pogosian akopps at LS.Berkeley.EDU
Fri Oct 28 01:53:30 UTC 2005


I am getting the follinf error with u2date:

# up2date -l

Fetching Obsoletes list for channel: centos4-Base...

Fetching obsoletes list for http://mirror.centos.org/centos/4/os/x86_64/...
#######################################
Fetching Obsoletes list for channel: centos4-Updates...

Fetching obsoletes list for http://mirror.centos.org/centos/4/updates/x86_64/...
#######################################
Fetching Obsoletes list for channel: centos4-extras...

Fetching obsoletes list for http://mirror.centos.org/centos/4/extras/x86_64/...
####################################
Fetching Obsoletes list for channel: centos4-addons...

Fetching obsoletes list for http://mirror.centos.org/centos/4/addons/x86_64/...
An error has occurred:
exceptions.KeyError
See /var/log/up2date for more information

the log file contains:


[Thu Oct 27 18:52:10 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
[Thu Oct 27 18:52:10 2005] up2date The latest version of kernel-smp was not avai
lable for this arch. Skipping
[Thu Oct 27 18:52:10 2005] up2date   File "/usr/sbin/up2date", line 1265, in ?
    sys.exit(main() or 0)
   File "/usr/sbin/up2date", line 800, in main
    fullUpdate, dryRun=options.dry_run))
   File "/usr/sbin/up2date", line 1120, in batchRun
    batch.init()
   File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 65, in init
    self.__findPackagesToUpdate()
   File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 112, in __findPack
agesToUpdate
    self.availableUpdates = plist.getPackagesToInstall()
   File "/usr/share/rhn/up2date_client/packageList.py", line 643, in getPackages
ToInstall
    self.__findBestArchPackages()
   File "/usr/share/rhn/up2date_client/packageList.py", line 612, in __findBestA
rchPackages
    del self.packagesToUpdate[pkey]



-akop



More information about the CentOS mailing list