You can work around it by setting LD_ASSUME_KERNEL=2.2.5 in the environment for rpm, e.g.
LD_ASSUME_KERNEL=2.2.5 rpm -Uvh ...
Having done this to upgrade to RPM 4.2.1 (along with popt and beecrypt) I can confirm that this works. And RPM 4.2.1 works without the LD_ASSUME_KERNEL=2.2.5 thing -- although something needed restarting that a reboot restarted :-) I wonder if RPM 4.2.1 will make its way into the RH9 updates? :-)
jch
Robert L Cochran wrote:
I got these errors while trying to install gnupg-1.2.1-4.src.rpm on my test machine, which is running kernel 2.5.74. Anyone know what they are trying to tell me and what the solution is? I kinda wonder if rpm, db3 and db4 all need to be recompiled under 2.5.74. Or maybe there's a 2.5.74 config option or two I should have enabled but didn't?
[root@xxxx root]# rpm -ivh /home/cochranb/gnupg-1.2.1-4.src.rpm rpmdb: unable to join the environment error: db4 error(11) from dbenv->open: Resource temporarily unavailable error: cannot open Packages index using db3 - Resource temporarily unavailable (11) error: cannot open Packages database in /var/lib/rpm warning: /home/cochranb/gnupg-1.2.1-4.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e 1:gnupg ###########################################
Thanks
Bob Cochran
Greenbelt, Maryland, USA