Hi, I am trying to get rpm 4.3 working on FC1 (and earlier RHL versions). I configured with "--without-selinux", and the built went fine. As soon as I install rpm 4.3 on the FC1 machine I get # rpm -qa rpmdb: Berkeley DB library configured to support only DB_PRIVATE environments 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 # /usr/lib/rpm/rpmdb_stat -CA -h /var/lib/rpm db_stat: Berkeley DB library configured to support only DB_PRIVATE environments db_stat: DB_ENV->open: /var/lib/rpm: Invalid argument (also tried with LD_ASSUME_KERNEL=2.2.5) I checked the %post scriplet and saw that it checked for "db_stat: Program version 4.2 doesn't match environment version" and removed the __db* files. So I removed them by hand. After that LD_ASSUME_KERNEL=2.2.5 rpm -qa works, but not dbstat: # LD_ASSUME_KERNEL=2.2.5 /usr/lib/rpm/rpmdb_stat -CA -h /var/lib/rpm db_stat: Berkeley DB library configured to support only DB_PRIVATE environments db_stat: DB_ENV->open: /var/lib/rpm: Invalid argument Any hints? I believe there are some selinux bits still left in even when "--without-selinux" is used, as I see messages from this build like /etc/security/selinux/src/policy/file_contexts/file_contexts: No such file or directory Can this be the cause of grief? ;) -- Axel.Thimm@xxxxxxxxxxxxxxxxxxx
Attachment:
pgp00038.pgp
Description: PGP signature