Michael Schwendt wrote:
On Tue, 23 Aug 2005 11:38:26 +0100, Robin Bowes wrote:
[root@dude ~]# rm -rf /var/cache/yum
[root@dude ~]# yum update
Warning, could not load sqlite, falling back to pickle
Traceback (most recent call last):
File "/usr/bin/yum", line 15, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 51, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 248, in getOptionsConfig
self.parseCommands() # before we return check over the base command
+ args
File "/usr/share/yum-cli/cli.py", line 306, in parseCommands
if not self.gpgKeyCheck():
File "__init__.py", line 1195, in gpgKeyCheck
IOError: [Errno 2] No such file or directory:
'//var/cache/yum/.gpgkeyschecked.yum'
[root@dude ~]# mkdir /var/cache/yum
[root@dude ~]# yum update
Warning, could not load sqlite, falling back to pickle
Setting up Update Process
Setting up repositories
(update process complete successfully.)
So, still the same warning.
Hmm... does this work for you, too?
$ python
Python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sqlite
import yum.sqlitecache
import yum.sqlitesack
Right, now we're getting somewhere:
[root@dude ~]# python
Python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/src/build/539311-i386/install//usr/lib/python2.4/site-packages/sqlite/__init__.py",
line 1, in ?
ImportError: /usr/lib/python2.4/site-packages/_sqlite.so: undefined
symbol: sqlite3_libversion
That's a more meaty error message!
Does that tell you anything?
R.
--
http://robinbowes.com
If a man speaks in a forest,
and his wife's not there,
is he still wrong?