LinuxQuestions.org
Visit Jeremy's Blog.
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 08-20-2003, 12:11 AM   #1
theserge
LQ Newbie
 
Registered: Aug 2003
Location: Stinky Philly
Distribution: RedHat9
Posts: 10

Rep: Reputation: 0
Unhappy rpm crash!


I am new to Linux, so go easy...

I installed RH9 about a week ago and recently rpm has been acting up. Starting about an hour ago, it won't work at all. By won't work I mean that as ROOT the terminal hangs even when I type

rpm -qa

I can do almost anything with rpm as any other user, but, as I understand it, most rpms need to be installed as root (is this a misconception of mine?)

In any case, I do think it is a problem that I cannot use rpm as root.

I have the following installed: (a rpm -qa | grep rpm by a normal user)
rpm-devel-4.2-0.69
rpm-4.2-0.69
rpm-build-4.2-0.69
rpm-python-4.2-0.69
redhat-rpm-config-8.0.21-1 (what is that?)

Any ideas? Thanks!
 
Old 08-20-2003, 12:37 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Try deleting the rpm database and then rebuilding it. As root:

rm -f /var/lib/rpm/__db*
rpm --rebuilddb
 
Old 08-20-2003, 11:46 AM   #3
theserge
LQ Newbie
 
Registered: Aug 2003
Location: Stinky Philly
Distribution: RedHat9
Posts: 10

Original Poster
Rep: Reputation: 0
no luck?

I removed the __db files, and then I rebuilt database and got the following error:

error: db4 error(16) from dbenv->remove: Device or resource busy

Any suggestions? Explanations?

Thanks!
 
Old 08-21-2003, 12:55 PM   #4
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Debian Stable
Posts: 417

Rep: Reputation: 32
I'm also running RH9 , also deleted and rebuilt the db, got the same error RPM's screwing up all over the place
 
Old 08-21-2003, 02:00 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
https://bugzilla.redhat.com/bugzilla...g.cgi?id=83281
 
Old 08-21-2003, 02:45 PM   #6
kristpy
LQ Newbie
 
Registered: Aug 2003
Location: Paraguay
Distribution: Debian, RedHat
Posts: 5

Rep: Reputation: 0
RPM

This error can be ignored. You don't have to rebuild the database after deleting /var/lib/rpm/__db.*
 
Old 08-21-2003, 06:47 PM   #7
theserge
LQ Newbie
 
Registered: Aug 2003
Location: Stinky Philly
Distribution: RedHat9
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks everyone, everything is working fine now!
 
  


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
Crash, Crash, Crash, Crash and You Guessed it Crash! little_penguin SUSE / openSUSE 8 07-04-2005 10:34 AM
X.Org crash........very odd crash..... doctorzoidberg Linux - Software 11 01-07-2005 08:38 PM
kde crash, then other crash, now weird problems true_atlantis Linux - Laptop and Netbook 1 04-28-2004 01:01 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 08:09 AM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration