"pickle" warning when running yum update

Robin Bowes robin-lists at robinbowes.com
Tue Aug 23 10:38:26 UTC 2005


Michael Schwendt wrote:
> 
> The '?' means that file permissions prevented the test from reading
> the file, which is weird. The files must be chmod 0644.

Michael,

All files are 0644:

[root at dude ~]# ls -l /usr/lib/python2.4/site-packages/repomd/__init__.py
-rw-r--r--  1 root root 0 Jun 21 11:32 
/usr/lib/python2.4/site-packages/repomd/__init__.py
[root at dude ~]# ls -l /usr/lib/python2.4/bsddb/test/__init__.py
-rw-r--r--  1 root root 0 May 16 20:20 
/usr/lib/python2.4/bsddb/test/__init__.py
[root at dude ~]# ls -l /usr/lib/python2.4/email/test/__init__.py
-rw-r--r--  1 root root 0 May 16 20:20 
/usr/lib/python2.4/email/test/__init__.py

>>>SELinux is disabled.
>>
>>Just to confirm, I checked the files that returned a "?" from one of the 
>>tests and they are all zero-length. I don't know if this is correct, or not.
> 
> 
> It's okay in this case.
> 
> Next steps I would try is to "yum clean all ; yum makecache" or even
> "rm -rf /var/cache/yum ; yum update".

[root at dude logging]# yum clean all
Warning, could not load sqlite, falling back to pickle
Cleaning up Everything
2702 headers removed
1045 packages removed
6 metadata files removed
3 cache files removed
0 cache files removed

[root at dude ~]# yum makecache
Warning, could not load sqlite, falling back to pickle
Making cache files for all metadata files.
This may take a while depending on the speed of this computer
Setting up repositories
extras                    100% |=========================| 1.1 kB    00:00
updates-released          100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
primary.xml.gz            100% |=========================| 627 kB    00:03
MD Read   : ################################################## 1802/1802
primary.xml.gz            100% |=========================| 344 kB    00:01
MD Read   : ################################################## 946/946
primary.xml.gz            100% |=========================| 824 kB    00:04
MD Read   : ################################################## 2772/2772
filelists.xml.gz          100% |=========================| 1.8 MB    00:14
MD Read   : ################################################## 1802/1802
filelists.xml.gz          100% |=========================| 3.3 MB    00:16
MD Read   : ################################################## 946/946
filelists.xml.gz          100% |=========================| 2.0 MB    00:11
MD Read   : ################################################## 2772/2772
other.xml.gz              100% |=========================| 1.1 MB    00:13
MD Read   : ################################################## 1802/1802
other.xml.gz              100% |=========================| 2.6 MB    00:21
MD Read   : ################################################## 946/946
other.xml.gz              100% |=========================| 4.3 MB    00:20
MD Read   : ################################################## 2772/2772
Metadata Cache Created

[root at dude ~]# yum update
Warning, could not load sqlite, falling back to pickle
Setting up Update Process
Setting up repositories
(Ctrl-C)

Exiting on user cancel


[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.

R.
-- 
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?




More information about the fedora-list mailing list