LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2004, 05:41 PM   #1
Micropocalypse
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Redhat RPM error


basicaly i get this error whenever i try to do anything with a rpm (even --initdb or --rebuilddb) ive removed all the config files, database, and reinstalled rpm, but i still get it. running redhat 9 , 2.6.3 kernel, and besides that just plain redhat.

[root@tiewrap linux]# rpm -ivvv frozen-bubble-1.0.0-5.fr.i386.rpm
D: ============== frozen-bubble-1.0.0-5.fr.i386.rpm
D: Expected size: 7557307 = lead(96)+sigs(344)+pad(0)+data(7556867)
D: Actual size: 7557307
D: opening db environment /var/lib/rpm/Packages joinenv
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
warning: frozen-bubble-1.0.0-5.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
D: added binary package [0]
D: found 0 source and 1 binary packages
D: opening db environment /var/lib/rpm/Packages joinenv
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
error: cannot open Packages database in /var/lib/rpm
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D: 0 0 0 0 0 +frozen-bubble-1.0.0-5.fr



------------------------------
Eagles may soar but a weasel never got sucked into a jet engine.
 
Old 03-17-2004, 09:30 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
I am running RedHat9 and am not having any rpm problems.

try using 'rpm -ivh filename.rpm' to install.

what is the -ivvv switch anyways?

after installing all rpms for the day run 'updatedb' .
 
Old 03-17-2004, 11:18 PM   #3
taillefer
LQ Newbie
 
Registered: Mar 2004
Distribution: RH9
Posts: 21

Rep: Reputation: 15
enter the following in console -

#export LD_ASSUME_KERNEL=2.2.5

and try...

You can enter the same to your login file to avoid typing it everytime... The prob is coz u r using the newer kernel (I think)

http://thomer.com/linux/migrate-to-2.6.html has more info...
 
Old 03-29-2004, 07:38 AM   #4
vishal
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Another RPM error

Hi,
I am a Linux newbie and just installed Redhat Linux 9. Everything went on smoothly but just before the first boot I got the following error:

rpmdb: fatal region error detected; run recovery

After the boot, I found that Linux loads in X Windows Manager with xterm ....etc (dunno what to call it). No Gnome in spite of having installed it. Switchdesk commands kept saying that gnome is not installed.

While upgrading the Gnome packages, I realized that the 'gnome-icon-theme' package did not install properly. My attempts to install that package gave the same error.

Thinking that there might be a problem with my installation media, I downloaded the
package from the internet and used RPM to install it. Again got the following error:

rpmdb: fatal region error detected; run recovery
error: db4 error(-30982) from db->get: DB_RUNRECOVERY: Fatal error, run database recovery

Using rpm -ivh didn't help...

Can anybody help?

Thanks in advance.
Vishal
 
Old 04-20-2004, 11:30 AM   #5
esanchez
Member
 
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
the #LD_ASSUME_KERNEL=2.2.5 worked for me..
regards,

-eduardo s.m.
 
Old 04-22-2004, 08:20 AM   #6
taillefer
LQ Newbie
 
Registered: Mar 2004
Distribution: RH9
Posts: 21

Rep: Reputation: 15
at last some appreciation
 
Old 05-13-2004, 11:07 PM   #7
crondaily
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
RPM died on me too


Running 'rpm -qa' as root gives:

Code:
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
no packages
I have recently upgraded my Kernel to 2.6.6, as I am trying to get kdetv to work. I am not certain if the screwup was due to my compile screwup of kdetv, but I didn't notice this until kdetv's configure command claimed that I didn't have kdelibs installed, even though I was running kde at the time. Anyway, that's another story.

I ran:

Code:
export LD_ASSUME_KERNEL=2.6.6
but that didn't help ... I've tried 'rpm --rebuilddb' but that won't work either, and produces similar error messges.

I've tried:
Code:
cd /var/lib
mv rpm rpm.old
mkdir rpm
chown rpm:rpm rpm
to start rpm off with a fresh directory, but that didn't help either. Each time I run rpm with any parameters, it produces a zero byte file in /var/lib/rpm called '__db.001', waits about 10 seconds, then dies with the above error message.

Oh, and /var is 63% full ... so it's got lots of space.

Any other ideas?
 
Old 05-13-2004, 11:14 PM   #8
crondaily
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
Update

Update ... Running 'rpm -qa' as a non-root user works
 
Old 04-06-2005, 09:04 AM   #9
piggysmile
Member
 
Registered: Apr 2004
Location: Philippines
Posts: 175

Rep: Reputation: 30
export LD_ASSUME_KERNEL=2.2.5 works but only under the shell console. Graphical RPM still crashes including redhat-config-packages and graphical RPM installers when ran not from shell. Why is this?
 
Old 04-06-2005, 11:40 AM   #10
Tudor Vlasceanu
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Rep: Reputation: 0
Thumbs up

Thank you kindly. This information is very usefull for me. Great site! Thanks again!

--------------------------------------------------------------------------------------------------------

http://www.geocities.com/neolink_ro
 
Old 04-06-2005, 06:50 PM   #11
piggysmile
Member
 
Registered: Apr 2004
Location: Philippines
Posts: 175

Rep: Reputation: 30
Please help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpmdb-redhat-4-0.20050525.src.rpm/rebuild error louisb Linux - Enterprise 0 07-12-2005 10:19 AM
Redhat Enterprise AS, php-mysql-4.3.3-4.1.i386.rpm, mysql_connect() error apradhan Linux - Distributions 0 02-18-2004 03:11 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
Redhat 8 rpm error Elad12345 Linux - Software 14 08-18-2003 11:42 PM
redhat 9, webmin install, RPM error boonders Linux - Software 2 04-01-2003 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration