[CentOS] Re: Yum errors

Thu Jul 3 18:04:55 UTC 2008
Scott Silva <ssilva at sgvwater.com>

on 7-2-2008 8:01 AM Karanbir Singh spake the following:
> Scott Silva wrote:
>> I'm having a problem with a fairly new server.
>> Running yum upgrade I get the following:
>>
>> Traceback (most recent call last):
>>   File "/usr/bin/yum", line 29, in ?
>>     yummain.main(sys.argv[1:])
>>   File "/usr/share/yum-cli/yummain.py", line 105, in main
>>     result, resultmsgs = base.doCommands()
>>   File "/usr/share/yum-cli/cli.py", line 289, in doCommands
>>     self._getTs()
>>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 85, in 
>> _getTs
>>     self._getTsInfo()
>>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 91, in 
>> _getTsInfo
>>     self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
>>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 537, 
>> in <lambda>
>>     pkgSack = property(fget=lambda self: self._getSacks(),
>>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 392, 
>> in _getSacks
>>     self.repos.populateSack(which=repos)
>>   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 242, in 
>> populateSack
>>     sack.populate(repo, mdtype, callback, cacheonly)
>>   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 168, in 
>> populate
>>     dobj = repo_cache_function(xml, csum)
>>   File "/usr/lib64/python2.4/site-packages/sqlitecachec.py", line 42, 
>> in getPrimary
>>     self.repoid))
>> TypeError: Can not prepare packages insertion: table packages has no 
>> column named location_base
>>
> 
> your .repo files and/or repo setup in /etc/yum.conf is broken
> 
Copied yum.conf, /etc/yum/ and /etc/yum.d/ from working server, but still no joy.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080703/6fb9c536/attachment-0005.sig>