2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
I've just discovered a very strange and unusual problem with rpm on my Red Hat 9 laptop running 2.6.0-test. Under 2.4.22-ac2 rpm runs perfectly fine, but when I run it under 2.6.0-test, it outputs the following errors:
sudo rpm -Uvh alsa-driver-0.9.6-1.fr.i386.rpm
Password:
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: alsa-driver-0.9.6-1.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
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
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
I have never seen rpm do this before, and it only occurs under 2.6.0-test. It happens under these specific kernels:
2.6.0-test5-bk10
2.6.0-test5-bk11
2.6.0-test5-mm4
I have not tried -test5-bk12 yet, but I have a feeling that I will get the same errors. I have checked syslog and dmesg and there are no errors from the kernel; under 2.4.22-ac2 rpm works perfectly fine, so I don't believe it's file corruption or filesystem breakage.
Does anyone have any ideas that I can try?
Thanks!
Brad
=====
Brad Chapman
Permanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Quoted 25 lines · Bradley Chapman
I've just discovered a very strange and unusual problem with rpm on my Red Hat 9 laptop running 2.6.0-test. Under 2.4.22-ac2 rpm runs perfectly fine, but when I run it under 2.6.0-test, it outputs the following errors:
sudo rpm -Uvh alsa-driver-0.9.6-1.fr.i386.rpm
Password:
rpmdb: unable to join the environment
error: db4 error(11) fromdbenv->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: alsa-driver-0.9.6-1.fr.i386.rpm: V3 DSA signature: NOKEY, key IDe42d547b
rpmdb: unable to join the environment
error: db4 error(11) fromdbenv->open: Resource temporarily unavailable
error: cannot open Packages database in/var/lib/rpm
rpmdb: unable to join the environment
error: db4 error(11) fromdbenv->open: Resource temporarily unavailable
error: cannot open Packages database in/var/lib/rpmI have never seen rpm do this before, and it only occurs under 2.6.0-test. It happens under these specific kernels:
2.6.0-test5-bk10
2.6.0-test5-bk11
2.6.0-test5-mm4
Quoted 7 lines
I have not tried -test5-bk12 yet, but I have a feeling that I will get the same errors. I have checked syslog and dmesg and there are no errors from the kernel; under 2.4.22-ac2 rpm works perfectly fine, so I don't believe it's file corruption or filesystem breakage.
Does anyone have any ideas that I can try?
Sound like NPTL issues "LD_ASSUME_KERNEL=2.4.1 <rpm command>".
Check the archives for details.
Signature · 3 lines
Once you have their hardware. Never give it back. (The First Rule of Hardware Acquisition) Sam Flory <[email protected]>
Hi, try this:
export LD_ASSUME_KERNEL=2.4.1
before run rpm command, this works fine on my RH9
Paolo
Quoted 55 lines · Bradley Chapman
I've just discovered a very strange and unusual problem with rpm on my Red Hat 9 laptop running 2.6.0-test. Under 2.4.22-ac2 rpm runs perfectly fine, but when I run it under 2.6.0-test, it outputs the following errors:
sudo rpm -Uvh alsa-driver-0.9.6-1.fr.i386.rpm
Password:
rpmdb: unable to join the environment
error: db4 error(11) fromdbenv->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: alsa-driver-0.9.6-1.fr.i386.rpm: V3 DSA signature: NOKEY, key IDe42d547b
rpmdb: unable to join the environment
error: db4 error(11) fromdbenv->open: Resource temporarily unavailable
error: cannot open Packages database in/var/lib/rpm
rpmdb: unable to join the environment
error: db4 error(11) fromdbenv->open: Resource temporarily unavailable
error: cannot open Packages database in/var/lib/rpmI have never seen rpm do this before, and it only occurs under 2.6.0-test. It happens under these specific kernels:
2.6.0-test5-bk10
2.6.0-test5-bk11
2.6.0-test5-mm4I have not tried -test5-bk12 yet, but I have a feeling that I will get the same errors. I have checked syslog and dmesg and there are no errors from the kernel; under 2.4.22-ac2 rpm works perfectly fine, so I don't believe it's file corruption or filesystem breakage.
Does anyone have any ideas that I can try?
Thanks!
Brad
=====
Brad ChapmanPermanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Mr. Dovera,
Quoted 5 lines · --- Paolo Dovera
Hi, try this:
export LD_ASSUME_KERNEL=2.4.1
before run rpm command, this works fine on my RH9
Hmmm. What version of glibc do you have? I have glibc 2.3.2 installed and I get the same error with LD_ASSUME_KERNEL=2.4.1
I tried LD_ASSUME_KERNEL=2.4.22, since everything is good under 2.4, but that didn't help either. Another guy said to check the archives, which I did, but I don't know what to search for.
Quoted 2 lines
Paolo
Brad
=====
Brad Chapman
Permanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Quoted 11 lines · Bradley Chapman
Mr. Dovera,
Quoted 5 lines · --- Paolo Dovera
Hi, try this:
export LD_ASSUME_KERNEL=2.4.1
before run rpm command, this works fine on my RH9
Quoted 6 lines
Hmmm. What version of glibc do you have? I have glibc 2.3.2 installed and I get the same error with LD_ASSUME_KERNEL=2.4.1
I tried LD_ASSUME_KERNEL=2.4.22, since everything is good under 2.4, but that didn't help either. Another guy said to check the archives, which I did, but I don't know what to search for.
Are you doing LD_ASSUME_KERNEL=2.4.1 on the same line as the rpm command?
This should work:
LD_ASSUME_KERNEL=2.4.1 rpm -qa
This shouldn't:
LD_ASSUME_KERNEL=2.4.1
rpm -qa
Signature · 3 lines
Once you have their hardware. Never give it back. (The First Rule of Hardware Acquisition) Sam Flory <[email protected]>
Mr. Flory,
Quoted 20 lines · --- Samuel Flory
Quoted 11 lines · Bradley Chapman
Mr. Dovera,
Quoted 5 lines · --- Paolo Dovera
Hi, try this:
export LD_ASSUME_KERNEL=2.4.1
before run rpm command, this works fine on my RH9
Quoted 6 lines
Hmmm. What version of glibc do you have? I have glibc 2.3.2 installed and I get the same error with LD_ASSUME_KERNEL=2.4.1
I tried LD_ASSUME_KERNEL=2.4.22, since everything is good under 2.4, but that didn't help either. Another guy said to check the archives, which I did, but I don't know what to search for.
Quoted 8 lines
Are you doing LD_ASSUME_KERNEL=2.4.1 on the same line as the rpm command?
This should work:
LD_ASSUME_KERNEL=2.4.1 rpm -qaThis shouldn't:
LD_ASSUME_KERNEL=2.4.1
rpm -qa
I tried it the first way and I got the same error. I've already upgraded my glibc; do I need to reboot to 2.4.22-ac2 and upgrade some other system component, like ld.so?
Brad
=====
Brad Chapman
Permanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Quoted 3 lines · Bradley Chapman
I tried it the first way and I got the same error. I've already upgraded my glibc; do I need to reboot to 2.4.22-ac2 and upgrade some other system component, like ld.so?
You need to install the latest version of RPM. You can get it from rpm.org.
<b
Quoted 5 lines · Bradley Chapman
I tried it the first way and I got the same error. I've already upgraded my glibc; do I need to reboot to 2.4.22-ac2 and upgrade some other system component, like ld.so?
Quoted 9 lines
Brad
=====
Brad Chapman
A few ways to solve this:
What I did before upgrading RPM was:
export LD_ASSUME_KERNEL=2.2.5
rpm -Uvh blah.rpm
If you upgrade to rpm that is in RedHat Rawhide (current 4.2.1-0.30), this problem goes away. You may need to upgrade your glibc as well, I'm currently at 2.3.2-91 from Rawhide.
Mr. Hollis,
Quoted 17 lines · --- David T Hollis
Quoted 2 lines · Bradley Chapman
I tried it the first way and I got the same error. I've already upgraded my
glibc;
Quoted 12 lines
do I need to reboot to 2.4.22-ac2 and upgrade some other system component, like ld.so?
Brad
=====
Brad Chapman
Quoted 9 lines
A few ways to solve this:
What I did before upgrading RPM was:
export LD_ASSUME_KERNEL=2.2.5
rpm -Uvh blah.rpmIf you upgrade to rpm that is in RedHat Rawhide (current 4.2.1-0.30), this problem goes away. You may need to upgrade your glibc as well, I'm currently at 2.3.2-91 from Rawhide.
Thanks! Using 2.2.5 works!
Thanks to everyone who helped out. Perhaps this needs to go into an FAQ somewhere?
Brad
=====
Brad Chapman
Permanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com