linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
@ 2003-09-25 13:26 Bradley Chapman
  2003-09-25 15:13 ` Samuel Flory
  2003-09-25 15:24 ` Paolo Dovera
  0 siblings, 2 replies; 9+ messages in thread
From: Bradley Chapman @ 2003-09-25 13:26 UTC (permalink / raw)
  To: linux-kernel

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: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
  2003-09-25 13:26 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way Bradley Chapman
@ 2003-09-25 15:13 ` Samuel Flory
  2003-09-25 15:24 ` Paolo Dovera
  1 sibling, 0 replies; 9+ messages in thread
From: Samuel Flory @ 2003-09-25 15:13 UTC (permalink / raw)
  To: Bradley Chapman; +Cc: linux-kernel

Bradley Chapman wrote:
> 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?
>

    Sound like NPTL issues "LD_ASSUME_KERNEL=2.4.1 <rpm command>". 
Check the archives for details.


-- 
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
Sam Flory  <sflory@rackable.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
  2003-09-25 13:26 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way Bradley Chapman
  2003-09-25 15:13 ` Samuel Flory
@ 2003-09-25 15:24 ` Paolo Dovera
  2003-09-25 16:36   ` Bradley Chapman
  1 sibling, 1 reply; 9+ messages in thread
From: Paolo Dovera @ 2003-09-25 15:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: kakadu_croc

Hi, try this:

export LD_ASSUME_KERNEL=2.4.1

before run rpm command, this works fine on my RH9

        Paolo

Bradley Chapman wrote:

>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: kakadu_croc@yahoo.com
>
>__________________________________
>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 majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>  
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
  2003-09-25 15:24 ` Paolo Dovera
@ 2003-09-25 16:36   ` Bradley Chapman
  2003-09-25 16:46     ` Samuel Flory
  0 siblings, 1 reply; 9+ messages in thread
From: Bradley Chapman @ 2003-09-25 16:36 UTC (permalink / raw)
  To: Paolo Dovera; +Cc: linux-kernel

Mr. Dovera,

--- Paolo Dovera <pdovera@bmind.it> wrote:
> 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.

> 
>         Paolo

Brad

=====
Brad Chapman

Permanent e-mail: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
  2003-09-25 16:36   ` Bradley Chapman
@ 2003-09-25 16:46     ` Samuel Flory
  2003-09-25 17:10       ` Bradley Chapman
  0 siblings, 1 reply; 9+ messages in thread
From: Samuel Flory @ 2003-09-25 16:46 UTC (permalink / raw)
  To: Bradley Chapman; +Cc: Paolo Dovera, linux-kernel

Bradley Chapman wrote:
> Mr. Dovera,
> 
> --- Paolo Dovera <pdovera@bmind.it> wrote:
> 
>>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.


   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

-- 
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
Sam Flory  <sflory@rackable.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
  2003-09-25 16:46     ` Samuel Flory
@ 2003-09-25 17:10       ` Bradley Chapman
  2003-09-25 19:05         ` Bryan O'Sullivan
  2003-09-25 19:52         ` David T Hollis
  0 siblings, 2 replies; 9+ messages in thread
From: Bradley Chapman @ 2003-09-25 17:10 UTC (permalink / raw)
  To: Samuel Flory; +Cc: linux-kernel

Mr. Flory,

--- Samuel Flory <sflory@rackable.com> wrote:
> Bradley Chapman wrote:
> > Mr. Dovera,
> > 
> > --- Paolo Dovera <pdovera@bmind.it> wrote:
> > 
> >>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.
> 
> 
>    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

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: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
  2003-09-25 17:10       ` Bradley Chapman
@ 2003-09-25 19:05         ` Bryan O'Sullivan
  2003-09-25 19:52         ` David T Hollis
  1 sibling, 0 replies; 9+ messages in thread
From: Bryan O'Sullivan @ 2003-09-25 19:05 UTC (permalink / raw)
  To: Bradley Chapman; +Cc: Samuel Flory, linux-kernel

On Thu, 2003-09-25 at 10:10, Bradley Chapman wrote:

> 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
  2003-09-25 17:10       ` Bradley Chapman
  2003-09-25 19:05         ` Bryan O'Sullivan
@ 2003-09-25 19:52         ` David T Hollis
  2003-09-25 20:18           ` Bradley Chapman
  1 sibling, 1 reply; 9+ messages in thread
From: David T Hollis @ 2003-09-25 19:52 UTC (permalink / raw)
  To: Bradley Chapman; +Cc: Samuel Flory, linux-kernel

Bradley Chapman wrote:

>
>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
>
>
>  
>
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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way
  2003-09-25 19:52         ` David T Hollis
@ 2003-09-25 20:18           ` Bradley Chapman
  0 siblings, 0 replies; 9+ messages in thread
From: Bradley Chapman @ 2003-09-25 20:18 UTC (permalink / raw)
  To: David T Hollis; +Cc: linux-kernel

Mr. Hollis,

--- David T Hollis <dhollis@davehollis.com> wrote:
> Bradley Chapman wrote:
> 
> >
> >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
> >
> >
> >  
> >
> 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.
> 

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: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-09-25 20:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 13:26 2.6.0-test broke RPM 4.2 on Red Hat 9 in a VERY weird way Bradley Chapman
2003-09-25 15:13 ` Samuel Flory
2003-09-25 15:24 ` Paolo Dovera
2003-09-25 16:36   ` Bradley Chapman
2003-09-25 16:46     ` Samuel Flory
2003-09-25 17:10       ` Bradley Chapman
2003-09-25 19:05         ` Bryan O'Sullivan
2003-09-25 19:52         ` David T Hollis
2003-09-25 20:18           ` Bradley Chapman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).