[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] YUM & Package Updates failing - Centos 5



Yesterday, I did a server build using the Centos 5.0.1 DVD.
When ever I try to add software via YUM or Software Updater tells me that 139 updates are available and I click to install updates and it gives a crash message (for a few examples see below.)
Has anyone else had this problem and/or knows a solution.

Thanks
Anthony

[root server ~]# yum update
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
rpmforge  :                                                    1/9417Traceback (most recent call last):
 File "/usr/bin/yum", line 29, in ?
   yummain.main(sys.argv[1:])
 File "/usr/share/yum-cli/yummain.py", line 94, in main
   result, resultmsgs = base.doCommands()
 File "/usr/share/yum-cli/cli.py", line 381, in doCommands
   return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
 File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand
   return base.updatePkgs(extcmds)
 File "/usr/share/yum-cli/cli.py", line 672, in updatePkgs
   self.doRepoSetup()
 File "/usr/share/yum-cli/cli.py", line 109, in doRepoSetup
   self.doSackSetup(thisrepo=thisrepo)
 File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 338, in doSackSetup
   self.repos.populateSack(which=repos)
 File "/usr/lib/python2.4/site-packages/yum/repos.py", line 200, in populateSack
   sack.populate(repo, with, callback, cacheonly)
 File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 91, in populate
   dobj = repo.cacheHandler.getPrimary(xml, csum)
 File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 100, in getPrimary
   return self._getbase(location, checksum, 'primary')
 File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 93, in _getbase
   self.updateSqliteCache(db, parser, checksum, metadatatype)
 File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 368, in updateSqliteCache
   self.addPrimary(pkgId, package, cur)
 File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 257, in addPrimary
   pkgKey = self.insertHash('packages', PackageToDBAdapter(package), cur)
 File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 204, in insertHash
   values = hash.values()
 File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 459, in values
   out.append(self[k])
 File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 451, in __getitem__
   return self._pkg[self.NAME_MAPS.get(k, k)]
 File "/usr/lib/python2.4/site-packages/yum/mdparser.py", line 69, in __getitem__
   return self._p[k]
KeyError: 'epoch'

*******************************************************************************
Component: Software Manager
Summary: TBa540006e mdparser.py:69:__getitem__:KeyError: 'epoch'

Traceback (most recent call last):
 File "/usr/sbin/pirut", line 453, in ?
   main()

***********************************************************************

Component: yumex
Version: 1.2.2
Summary: TB03120a34 yumexmain.py:1045:_runBackground:KeyError: <exceptions.KeyError instance at 0x975bdac>

Traceback (most recent call last):
 File "/usr/share/yumex/yumexmain.py", line 231, in on_repoRefresh_clicked
   self.setup_yum()
 File "/usr/share/yumex/yumexmain.py", line 992, in setup_yum
   if self._runBackground( self.yumexbase.load_repo_data, rload ):
 File "/usr/share/yumex/yumexmain.py", line 1045, in _runBackground
   raise self.backgroundThread.exception
KeyError: <exceptions.KeyError instance at 0x975bdac>

Local variables in innermost frame:
runfunc: <bound method yumexBase.load_repo_data of <yumex.yumexBase.yumexBase object at 0x93ef80c>>
args: (False,)
self: <__main__.YumexMainApplication instance at 0x93dfb2c>


************************************************************
Component: yumex
Version: 1.2.2
Summary: TB03120a34 yumexmain.py:1045:_runBackground:KeyError: <exceptions.KeyError instance at 0x9e14dac>

Traceback (most recent call last):
 File "/usr/share/yumex/yumexmain.py", line 1108, in ?
   mainApp = YumexMainApplication()
 File "/usr/share/yumex/yumexmain.py", line 541, in __init__
   self.setup_yum()
 File "/usr/share/yumex/yumexmain.py", line 992, in setup_yum
   if self._runBackground( self.yumexbase.load_repo_data, rload ):
 File "/usr/share/yumex/yumexmain.py", line 1045, in _runBackground
   raise self.backgroundThread.exception
KeyError: <exceptions.KeyError instance at 0x9e14dac>

Local variables in innermost frame:
runfunc: <bound method yumexBase.load_repo_data of <yumex.yumexBase.yumexBase object at 0x9ab480c>>
args: (False,)
self: <__main__.YumexMainApplication instance at 0x9aa4b2c>

**********************************************************************



--

-----Anthony A. Luscre------
---Director of Technology---
---Mogadore Local Schools---
-----Mogadore, Ohio---------
http://www.mogadore.net/tech

Visit our Homepage http:/www.mogadore.net
Visit our Portal http://www.mogadore.net/portal_pages.html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]