On Dec 30, 2007 8:53 PM, Devraj Mukherjee devraj@gmail.com wrote:
Hi everyone,
Yum on one my CentOS systems has decided to stop functioning after an upgrade to CentOS 4.6. It's complaining about errors with Python-SQLite packages?
Any ideas anyone? Here is what happens.
[root@monk var]# yum search zaptel Setting up repositories Reading 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 545, in doCommands return self.search() File "/usr/share/yum-cli/cli.py", line 1129, in search for (po, matched_value) in matching: File "__init__.py", line 1157, in searchGenerator File "sqlitesack.py", line 52, in returnSimple File "sqlitesack.py", line 273, in getPackageDetails 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
Take a look at this thread (an answer from Johnny Hughes for the same question):
http://lists.centos.org/pipermail/centos/2007-December/091669.html
Akemi