Problems with rpmdb after rpm --root installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have tried to install some basic RH9 packages into a chroot with rpm 
--root /chroot $PACKAGES under Fedora 2.

That worked fine so far and I can work in the chroot after changing to it.

Unfortunately there seems to be a incompatibility with the various rpm 
versions.

Fedora Core 2 has rpm version 4.3.1 while the RedHat Linux 9 distribution 
has 4.2.

Any rpm operation which needs access to the database fails with the 
following error and leaves a stale __db.001 file.

rpmdb: write 0xfeffc610, 8192: Invalid argument
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
no packages

Trying to dump the database and reload it as described on 
http://www.rpm.org/hintskinks/repairdb/ doesn't help either.

According to /usr/lib/rpm/rpmdb_verify the database file is okay.


Any advice how this problem can be solved?

bye,
 andreas


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux