public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.5.66-bk12 causes "rpm" errors
@ 2004-04-20  8:10 Fred Shaul
  0 siblings, 0 replies; 18+ messages in thread
From: Fred Shaul @ 2004-04-20  8:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: info

Wow, I just got this to happen with Fedora Core 1!

# uname -a
Linux bilbo.scalix.local 2.4.22-1.2115.nptl #1
Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux


Error I was having ...

# rpm -q 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
package rpm is not installed

Now it works when the following is done!!!!!

# rm /var/lib/rpm/__*

# export LD_ASSUME_KERNEL=2.2.5

# rpm -q rpm
rpm-4.2.1-0.30

Please cc any replies to me

- Fred Shaul
   zap technologies
   http://zaptech.com/

On 6 Apr 2003, Robert Love wrote:
> ok, based on messing around this morning with this, here's what i've 
> found.
> 
> (first, apologies to andrew morton; when i said his patch applied on 
> top of bk12, i was just confused. it's a "battle tactic". :-)
> 
> all of this is based on my RH 9 (shrike) box, running on a dell 
> inspiron 8100.
> 
> first, the rpm flaw exists using all three variations of the kernel i
>  tested:
> 
> 2.5.66 
> 2.5.66-bk12
> 2.5.66-bk12-mm (bk12 minus andrew's filemap patch)
> 
> the interesting part is that doing something simple like "rpm -q rpm"
>  works for a non-root user; it fails only when root tries it, even 
> though the operation is only a query. go figure.
> 
> next, backing out from rpm-4.2-0.69 to rpm-4.2-0.66 didn't seem to 
> fix the problem (at least, not for me -- a previous poster claimed 
> that it fixed it for him, but it didn't solve the problem here).
> 
> finally, using:
> 
> LD_ASSUME_KERNEL=2.2.5 rpm -q rpm
> 
> solves the problem (at least under the 2.5.66-bk12-mm kernel i'm 
> running at the moment -- i'll assume it does the same under the 
> others).




^ permalink raw reply	[flat|nested] 18+ messages in thread
* 2.5.66-bk12 causes "rpm" errors
@ 2003-04-07  1:18 Robert P. J. Day
  2003-04-07  1:32 ` Andrew Morton
  2003-04-07  9:05 ` Felipe Alfaro Solana
  0 siblings, 2 replies; 18+ messages in thread
From: Robert P. J. Day @ 2003-04-07  1:18 UTC (permalink / raw)
  To: Linux kernel mailing list


  got 2.5.66-bk12 to boot on my inspiron 8100, and ran 
"rpm -q iptables", got the following:

rpmdb: write: 0xbfffc2d0, 8192: Invalid argument
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
package iptables is not installed


  rebooted under 2.4.20, that command worked fine.

rday


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

end of thread, other threads:[~2004-04-20  8:09 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-20  8:10 2.5.66-bk12 causes "rpm" errors Fred Shaul
  -- strict thread matches above, loose matches on Subject: below --
2003-04-07  1:18 Robert P. J. Day
2003-04-07  1:32 ` Andrew Morton
2003-04-07  1:41   ` Robert Love
2003-04-07  1:47     ` Robert Love
2003-04-07 11:45       ` Alan Cox
2003-04-07 14:53         ` Robert Love
2003-04-07 14:17           ` Alan Cox
2003-04-07  1:49     ` Robert Love
2003-04-07  2:59       ` J Sloan
2003-04-07 12:07     ` Robert P. J. Day
2003-04-07  2:04   ` Robert P. J. Day
2003-04-07  1:28     ` Andrew Morton
2003-04-07  3:15       ` Robert Love
2003-04-07  3:19         ` Robert Love
2003-04-07  3:29         ` Andrew Morton
2003-04-07  3:35           ` Robert Love
2003-04-07  9:05 ` Felipe Alfaro Solana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox