LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RPM Problem. (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-problem-72387/)

Brian of Gep 07-13-2003 04:39 PM

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.

DrOzz 07-13-2003 09:17 PM

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

DrOzz 07-13-2003 09:18 PM

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! :D

Brian of Gep 07-13-2003 11:53 PM

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... :)

DrOzz 07-14-2003 05:19 AM

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..

Brian of Gep 07-14-2003 02:06 PM

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! :)


All times are GMT -5. The time now is 03:24 AM.