LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2004, 04:55 PM   #1
l4azyslaxxor
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Rep: Reputation: 0
RH 9 rpms will not install




i downloaded the xmms plugin so i could play mp3s and that installed fine and everything. but every other rpm i've downloaded so far will not run.

for example i'm trying to install mplayer, xine (anything that will play videos) and their dependants. some do not even do anything when I attempt to open them I don't get any errors. others will open a "checking for dependancies" window the bar will go to 100% close and nothing will happen everything just goes away.

i also tried running the rpms from the terminal:

rpm -i --force nameoffile.rpm

the terrminal just stops doing anything; no errors nothing. that was just a last resort guess i don't know if that would even work if everything was/is working right.

what the hell?


Edit:
I've also tried: rpm -ivh filename.rpm

same result - nothing- and no errors

Last edited by l4azyslaxxor; 04-21-2004 at 05:33 PM.
 
Old 04-21-2004, 05:55 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"what the hell?"

One possibility is that your rpm data base may be screwed up. Try rebuilding the rpm data base as root:

rpm --rebuilddb

Another possibility is that your automated installer may have crammed in a new rpm without removing the old. Use:
rpm -qa | sort | less
to check for duplicate names, or two versions of the same name.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 04-21-2004 at 05:58 PM.
 
Old 04-21-2004, 06:13 PM   #3
l4azyslaxxor
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Original Poster
Rep: Reputation: 0
thanks jailbait,

i did both and they just sit there after i press return. i'm logged in as root and opened up a terminal and typed rpm --rebuilddb just like you recommended.

it's been sitting there for 5+min? i'm assuming if it is doing anything it would be printing out lines of executed code or atleast something.

when i do rpm -qa | sort | less it scrolls down as if outputing information but it's all blank. nothing shows up.
 
Old 04-21-2004, 07:50 PM   #4
l4azyslaxxor
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Original Poster
Rep: Reputation: 0
i let it sit went out for a bit came back and this is what i found:

[root@vdsl-130-13-143-55 root]# rpm --rebuilddb
error: db4 error(16) from dbenv->remove: Device or resource busy
[root@vdsl-130-13-143-55 root]#
 
Old 04-21-2004, 08:27 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"error: db4 error(16) from dbenv->remove: Device or resource busy"

You may have a lock file on the rpm data base that never was deleted properly. Look in /var/lock/subsys to see if you can find a lock file that belongs to rpm. If you can find one then delete it and see what happens when you run rebuild.

It is also possible that you got this message by trying to run rebuild and -qa at the same time. Don't have two programs running against the rpm data base at the same time until you get the problem straightened out.

"it's been sitting there for 5+min? i'm assuming if it is doing anything it would be printing out lines of executed code or atleast something."

Actually if rpm --rebuilddb works correctly it issues no messages, just returns to the prompt. By the same token 5 minutes is a long time to rebuild the rpm data base.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 04-21-2004 at 08:30 PM.
 
Old 04-21-2004, 10:50 PM   #6
l4azyslaxxor
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Original Poster
Rep: Reputation: 0
i did all that good stuff. no change.
 
Old 04-21-2004, 11:17 PM   #7
MichaelVaughn
LQ Newbie
 
Registered: Apr 2004
Location: Afghanistan
Distribution: Red Hat Linux 9.0
Posts: 4

Rep: Reputation: 0
Cool

why don't you try the installing from source *.tar.gz. In this way you can find out which dependencies may be lacking.

extract the package
cd <package dir>
./configure
make
make install

if there are errors, when in the installation process, then it usually means that there are dependencies that are lacking or the version is not compatible.

Note : MPlayer requires libogg and libvorbis dependencies. These dependencies do ogg decoding. Download them from ogg website before
installing MPlayer.
 
Old 04-21-2004, 11:42 PM   #8
l4azyslaxxor
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Original Poster
Rep: Reputation: 0
i've thought of that but i've never found the sources for linux. i always find rpms. maybe i'm not looking in the right places, or perhaps it's obvious i'm not.

the problem is it doesn't give me any errors when it try to install the rpms. this dependancy is a real mess. isn't there a way that it will find out what i need, download and install them all at the same time. like freebsd does?
 
Old 06-17-2004, 04:58 PM   #9
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
I had the exact same problem and here's what I did to fix it. I removed the __db.* files under the /var/lib/rpm folder and did an rpm --rebuilddb and it worked perfectly afterwards. Hope that helps you out!!!


Travis L. Beehler
 
  


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
Can't install RPMs puppy Fedora 1 05-26-2004 07:08 PM
Can't install rpms!! Jojo87 Linux - Newbie 1 02-10-2004 01:22 PM
where do the rpms install ooagentbender Linux - Newbie 3 12-16-2003 05:19 AM
please help i cant install rpms mothman Linux - Newbie 4 10-03-2003 02:56 PM
How to install RPMs? gmichel Linux - Newbie 10 09-28-2003 09:30 PM


All times are GMT -5. The time now is 12:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration