RPM failures when using 2.6.X kernels on RH9
When attempting to install RPM packages on RH9 using any 2.6.X kernel I get the following error messages:
[peterw@mudlark KERNELS]$ sudo rpm -i /home/peterw/Downloads/atrpms-29-1.rh9.at.noarch.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/peterw/Downloads/atrpms-29-1.rh9.at.noarch.rpm: V3 DSA signature: NOKEY, key ID 66534c2b
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages database in /var/lib/rpm
[peterw@mudlark KERNELS]$
If I revert to a 2.4.X kernel the package installs without any problems.
Can anyone enlighten me to a likely cause for this phenomenon?
Peter
Signature · 4 lines
Dr Peter Williams, Chief Scientist [email protected] Aurema Pty Limited Tel:+61 2 9698 2322 PO Box 305, Strawberry Hills NSW 2012, Australia Fax:+61 2 9699 9174 79 Myrtle Street, Chippendale NSW 2008, Australia http://www.aurema.com
Quoted 3 lines · Peter Williams
When attempting to install RPM packages on RH9 using any 2.6.X kernel I get the following error messages:
Yes. Buggy rpm binary which tries to use direct-IO without proper alignment etc.
Work around by doing
export LD_ASSUME_KERNEL=2.4.1
and then upgrade to a fixed rpm binary as quickly as possible.
Linus