RPM Community Forums

Mailing List Message of <rpm-devel>

Incompatibilities with rpm-4.6.0-rc1

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 21 Oct 2008 - 06:52:34 CEST
Message-id: <5BEEEB3F-FB93-468D-8E9F-B7F29324E678@mac.com>
I happen to have one of these on my screen, so here it is:

The python bindings in use were fresh from F10 development today.

The rpmdb is just Berkeley DB 4.7.21.

[root@wellfleet packages]# yum -y --skip-broken update
Loaded plugins: refresh-packagekit
rpmdb: /var/lib/rpm/Packages: unexpected file type or format
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
   File "/usr/bin/yum", line 29, in <module>
     yummain.user_main(sys.argv[1:], exit_code=True)
   File "/usr/share/yum-cli/yummain.py", line 229, in user_main
     errcode = main(args)
   File "/usr/share/yum-cli/yummain.py", line 84, in main
   File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
   File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 191,  
in _getConfig
     self._conf = config.readMainConfig(startupconf)
   File "/usr/lib/python2.5/site-packages/yum/config.py", line 756, in  
     yumvars['releasever'] = _getsysver(startupconf.installroot,  
   File "/usr/lib/python2.5/site-packages/yum/config.py", line 826, in  
     idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
[root@wellfleet packages]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root             74810720  70436796    573752 100% /
/dev/sda1               101089     34048     61822  36% /boot
none                    517036         0    517036   0% /dev/shm
/dev/sdb5            115377608 109239296    277404 100% /S
[root@wellfleet packages]# rpm --version
rpm (RPM) 5.2.DEVEL
[root@wellfleet packages]# /bin/rpm --version
RPM version 4.6.0-rc1

rpm5 handles rpm.org rpmdb's compatibly. The reverse is not true.

I'll wait for rpm-4.6.0 release before attempting compatibility fixes.

73 de Jeff
Received on Tue Oct 21 06:52:38 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.