LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-19-2003, 11:11 PM   #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-19-2003, 11:37 PM   #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, 10: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, 11:55 AM   #4
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
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, 01:00 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
https://bugzilla.redhat.com/bugzilla...g.cgi?id=83281
 
Old 08-21-2003, 01: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, 05: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



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

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

All times are GMT -5. The time now is 06:20 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
Open Source Consulting | Domain Registration