"pickle" warning when running yum update
Michael Schwendt
mschwendt.tmp0501.nospam at arcor.de
Tue Aug 23 11:30:15 UTC 2005
On Tue, 23 Aug 2005 11:38:26 +0100, Robin Bowes wrote:
> [root at dude ~]# rm -rf /var/cache/yum
> [root at 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 at dude ~]# mkdir /var/cache/yum
> [root at 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
>>>
More information about the fedora-list
mailing list