LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-13-2003, 04:39 PM   #1
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Rep: Reputation: 15
RPM Problem.


I'm sorry, I'm not sure whether this belongs in Software or Newbie, but as I am a newbie, I decided this was the place.

Whenever I try to install an RPM, nothing happens.
This is a recent problem that started when I tried to install the new WINE RPM.

When I double click on the RPM icon, nothing happens, and when I go into a terminal and type:
rpm -ivh ./filename.rpm
it goes to the next line, but nothing happens.
It doesn't give me a "[root@localhost directory]#" prompt, or any kind of a status bar, or really any response at all - it just moves the cursor to the next blank line.

I have been unable to find out why, and I would be very appreciative of anyone who can point me in the right direction.
 
Old 07-13-2003, 09:17 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
open terminal
log in as root
rm -rf /var/lib/rpm/__db.*
rpm --rebuilddb
continue to install rpm package.

Last edited by DrOzz; 07-14-2003 at 05:16 AM.
 
Old 07-13-2003, 09:18 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
maybe someone should make this a sticky in the newbie section....this seems to be a common issue with new comers to the redhat 8 / 9 scene...and this question is asked numerous times in the run of a week.
just a thought!
 
Old 07-13-2003, 11:53 PM   #4
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
Well, it would seem that I am the uber-n00b...

The first command didn't do anything I could see (I'm assuming that was supposed to happen), but on the second command, I received this:
rpm --rebuild

EDIT: I meant to say this, too:

I really hope this is something that can be solved without having to install more RPMs...
 
Old 07-14-2003, 05:19 AM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well no you weren't supposed to see anything when you issued the command rm -rf /var/lib/__db.* as you are deleting files, all that happens anyways for your knowledge you are deleting 3 files called __db.001, __db.002, and __db.003...they are just temporary files...
anyways although the second command is not really necessary but sometimes for some it is, the reason your not seeing anything is because you never told the command you wanted to see anything...
if you type it like this --> rpm --rebuilddb -vv then it will show output ..
p.s. this command takes quite a bit to finish executing.
and also, did you have any success installing any rpms since you removed them files?
i didnt quite understand some things you wrote in your last post..

Last edited by DrOzz; 07-14-2003 at 10:00 AM.
 
Old 07-14-2003, 02:06 PM   #6
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
I'm sorry, I cut a pasted the wrong line, which is one of the reasons my last post didnt make sense.

And yes, I ran the commands again, and I just tried installing an RPM and everything went fine. Thanks!
 
  


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
rpm problem juanb Linux - Newbie 2 01-26-2004 08:48 PM
RPM Problem chrisknight Linux - Software 4 07-07-2003 02:30 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
rpm problem katana *BSD 2 08-07-2002 06:17 AM
RPM Problem PeterC1 Linux - Newbie 0 09-13-2001 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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