LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-03-2003, 11:35 AM   #1
SR712
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Rep: Reputation: 0
RPM, someone please explain....


I am fairly new to Linux, but am generally enjoying my experience with Red Hat 9. Would someone please explain the Add or Remove Packages deal to me? Why when I run it, and select programs to uninstall, does it then say that it can't find them, and that I would have to install it first. ...Huh? Excuse me, I didn't say they were installed... You did. Just seems kinda goofy to me. I have tried to --rebuilddb the rpm database, and it ends with the error that is really not an error...

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


Thank you for your help.
 
Old 09-03-2003, 02:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The rpm databases have never been the most reliable. Try killing of any rpm proccesses that are running (a reboot should do it) If you can't reboot then try:
killall rpm

Then remove the old db:
rm -f /var/lib/rpm/_*

An create a new one:
rpm --rebuilddb
 
Old 09-03-2003, 03:53 PM   #3
SR712
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks David, but I did that, and still goofy.
 
Old 09-03-2003, 04:01 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Do the packages show up if you use the CLI:
rpm -qa | grep -i PACKAGE

Replace PACKAGE for the name of a package that is causing a problem.
 
Old 09-03-2003, 04:18 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
SR712 ive had the same thing for a long time and i have posted several times with no fix found. I cant install any rpms anymore. kinda sux. sorry to thread jump but David is there any fix for this, I did rpm -qa | grep -i * and it came up with these files. What should i do with them?

Makefile.am: addressbook.csv\
 
Old 09-04-2003, 08:51 AM   #6
SR712
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I don't know if it would make any difference, but this machine was originally Red Hat Ver8, and was updated to Ver9. Maybe there is something odd with the db between those versions. Even if there was, you'd think deleting the rpm db and rebuilding it would fix it.
 
Old 09-04-2003, 10:15 AM   #7
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
No i dont think that would matter. I have rebuilt the db before on both and it worked.
 
Old 09-04-2003, 12:28 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If it does come up with packages then try removing them with:
rpm -e package

Replace "package" with the pakagename - no version numbers though.
 
Old 09-04-2003, 05:41 PM   #9
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
It looks like this is a bug according to the link on this thread i tried the workaround but i dont know if it worked.
http://www.linuxquestions.org/questi...threadid=88196
 
Old 09-08-2003, 01:35 PM   #10
SR712
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I resolved this by manually removing packages myself. It just seems odd to me that a computer can't figure out a 3 level database with dependancies, but I can. HaHa. So much for automation, eh? What good is an add/remove program, if it doesn't really work? Why bother?

Thanks, everyone for your help.

Last edited by SR712; 09-08-2003 at 01:36 PM.
 
  


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
explain. bruse Linux - Newbie 6 09-08-2005 11:48 PM
Can someone explain me what this is? hemmelig Linux - Software 3 10-14-2004 06:16 PM
can someone explain this? SteveGodfrey Linux - Wireless Networking 1 05-28-2004 08:47 AM
Can someone explain this to me? Z28kid Linux - Newbie 19 02-27-2003 06:51 AM
Please explain pilotgi Linux - Software 9 05-09-2002 06:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:47 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