Hi, all,
Totally depressed by rpm4.0. Last friday I uninstalled rpm4.0 by chance.
Then I struggled to recover it last weekend.
I tried install it with tar ball from www.rpm.org. Everything was
fine except the error message "Unable to open NONE/lib/rpm/rpmrc for
reading: No such file or directory" when I tried to query any installed
rpm package.
So I attempted to install rpm4.0 of mandrake release. However, it
complained lots of dependency errors. When I install with "--nodeps",
it said "
-----------------
--> The configured %_dbapi was db1, but the rpm database is db-1 format.
Please verify the setting of the macro %_dbapi using "rpm --showrc"
and configure "%_dbapi -1" (e.g. create and/or edit /etc/rpm/macros).
cannot open Basenames index using db1 - Invalid argument (22)
cannot open Group index using db1 - Invalid argument (22)
cannot open Requirename index using db1 - Invalid argument (22)
cannot open Providename index using db1 - Invalid argument (22)
cannot open Conflictname index using db1 - Invalid argument (22)
cannot open Triggername index using db1 - Invalid argument (22)
unpacking of archive failed on file /usr/lib/rpm/i386-linux: cpio: unlink
failed - Is a directory
---------------- "
Then failed, :(
Anybody plz help me through,
Lonely