public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Reiserfs vs rpm wierdness
@ 2003-06-10 16:30 Samuel Flory
  2003-06-10 16:43 ` Bryan O'Sullivan
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Flory @ 2003-06-10 16:30 UTC (permalink / raw)
  To: linux-kernel

  Anytime I try to install an rpm, or even run "rpm -qa"  2.5.70, and RH 
9.   I get the following error.

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
no packages


  If I reboot into redhat's 2.4.20-9 rpm works fine.  As far as I can 
tell there doesn't appear to be any file system corruption.

-- 
There is no such thing as obsolete hardware.
Merely hardware that other people don't want.
(The Second Rule of Hardware Acquisition)
Sam Flory  <sflory@rackable.com>



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

* Re: Reiserfs vs rpm wierdness
  2003-06-10 16:30 Reiserfs vs rpm wierdness Samuel Flory
@ 2003-06-10 16:43 ` Bryan O'Sullivan
  0 siblings, 0 replies; 3+ messages in thread
From: Bryan O'Sullivan @ 2003-06-10 16:43 UTC (permalink / raw)
  To: Samuel Flory; +Cc: linux-kernel

On Tue, 2003-06-10 at 09:30, Samuel Flory wrote:
>   Anytime I try to install an rpm, or even run "rpm -qa"  2.5.70, and RH 
> 9.   I get the following error.

It's an RPM problem.  Grab the latest rpm-4.2 RPMs from rpm.org and
install them with LD_ASSUME_KERNEL=2.2.5 set.

	<b


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

* Re: Reiserfs vs rpm wierdness
       [not found] <20030610164156.46888.qmail@web80110.mail.yahoo.com>
@ 2003-06-10 17:02 ` Samuel Flory
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Flory @ 2003-06-10 17:02 UTC (permalink / raw)
  To: Jordan Breeding; +Cc: linux-kernel

Jordan Breeding wrote:

>Try the following:
>
>`LD_ASSUME_KERNEL=2.4.5 rpm -qa` or whatever rpm
>command you need.  The recent 2.5.x (actually for a
>while) kernels have lots of changes to threading when
>used with the RedHat 9 glibc (which has nptl).  Using
>LD_ASSUME_KERNEL forces the new glibc to use the old
>threading stuff instead of something like that.  I
>read all of this on the RedHat 9 Beta mailing list and
>it seemes to work for me, it seems at some point
>RedHat will fix their berkley db and rpm packages to
>work with nptl and the newer 2.5.x kernels properly,
>they might even already be fixed in rawhide.
>
>Jordan
>

  That would appear to be my issue.  Thanks.  Sorry Reiserfs guys.

>
>--- Samuel Flory <sflory@rackable.com> wrote:
>  
>
>>  Anytime I try to install an rpm, or even run "rpm
>>-qa"  2.5.70, and RH 
>>9.   I get the following error.
>>
>>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
>>no packages
>>
>>
>>  If I reboot into redhat's 2.4.20-9 rpm works fine.
>> As far as I can 
>>tell there doesn't appear to be any file system
>>corruption.
>>
>>-- 
>>There is no such thing as obsolete hardware.
>>Merely hardware that other people don't want.
>>(The Second Rule of Hardware Acquisition)
>>Sam Flory  <sflory@rackable.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/
>>    
>>
>
>  
>


-- 
There is no such thing as obsolete hardware.
Merely hardware that other people don't want.
(The Second Rule of Hardware Acquisition)
Sam Flory  <sflory@rackable.com>



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

end of thread, other threads:[~2003-06-10 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-10 16:30 Reiserfs vs rpm wierdness Samuel Flory
2003-06-10 16:43 ` Bryan O'Sullivan
     [not found] <20030610164156.46888.qmail@web80110.mail.yahoo.com>
2003-06-10 17:02 ` Samuel Flory

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