Joe Klemmer escribió: > > Hello all, > > I am having a problem running yum after doing the 4.6 upgrade. I > did a live update through yum and no problems were encountered. > However, now when I try to run yum (with any commands/options) I get > this error right after loading/reading the repo's - > > eading repository metadata in from local files > 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 102, in main > result, resultmsgs = do() > File "/usr/share/yum-cli/cli.py", line 489, in doCommands > ypl = self.returnPkgLists() > File "/usr/share/yum-cli/cli.py", line 1085, in returnPkgLists > ypl = self.doPackageLists(pkgnarrow=pkgnarrow) > File "__init__.py", line 993, in doPackageLists > File "packageSack.py", line 148, in searchNevra > File "packageSack.py", line 236, in _computeAggregateListResult > File "sqlitesack.py", line 514, in searchNevra > File "sqlitesack.py", line 403, in db2class > File > "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", > line 97, in __getattr__ > AttributeError: LOCATION_BASE > > Running "yum clean all" seems to work but the error does not go away. > > I know less than nothing about python so that doesn't help. I > also did a search through the list archives and on Google but couldn't > come up with anything (OC, I may not have been asking the right > questions). The server has a bad optical drive so I can't boot into > the rescue CD (yet, I've got a replacement coming). Whenever it gets > here I'll be updating to 5.1 but in the mean time there's some > security fixes that have come down the pipe which I can't update to > due to yum being petulant. > > If anyone can shed some light on this or point me in the right > direction to get this fixed it would be greatly appreciated. > > Thank you, > Joe > Hello Joe, I had exactly the same problem. I guess that the problem is the yum version upgraded. To solve it I searched for an older yum version. I found this one: yum-2.4.3-4.el4.centos.noarch. And at least it works. Hope it helps -- Lorenzo Martínez Rodríguez Consultor de seguridad informática _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos