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

error: unrecognized db option: "db3" ignored.



 I have an installed RPM database (in a chrooted environment) which seems
to work. I can do stuff like;

 rpm -i package.rpm --root /tmp/chroot

all working...

 rpm -qa --root /tmp/chroot

lists it back for me. However, when I do

# chroot /tmp/chroot
bash-2.04# rpm -qa
error: unrecognized db option: "db3" ignored.
error: cannot open Packages index using db1 - No such file or directory (2)
bash-2.04# rpm --rebuilddb
error: unrecognized db option: "db3" ignored.
error: unrecognized db option: "db3" ignored.
error: unrecognized db option: "db3" ignored.
error: cannot open Name index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: cannot open Basenames index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: cannot open Group index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: cannot open Requirename index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: cannot open Providename index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: cannot open Dirnames index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: cannot open Requireversion index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: cannot open Provideversion index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: cannot open Installtid index using db1 - Invalid argument (22)
error: unrecognized db option: "db3" ignored.
error: unrecognized db option: "db3" ignored.
[ repeat hundreds of times ]
# rpm -qa
[ nice pretty output ]

 However, the --rebuilddb seems to make up a /var/lib/rpm/packages.rpm -
which is the old "rpm db v1" format. Bah. Any idea why this would be ? How
do I verify what format of databases RPM installs ? Both the host system,
and the chrooted environment are running RPM 4.0.3, though as I compiled
up the chrooted version myself (from RedHat 7.1 SRPM), so something could
have gone wrong with the build (db3-devel is installed on the host
system).

John

-- 
_______________________________________
John Looney             Chief Scientist
a n t e f a c t o     t: +353 1 8586004
www.antefacto.com     f: +353 1 8586014

Attachment: pgp00004.pgp
Description: PGP signature


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