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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-13-2003, 04:39 PM
|
#1
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Rep:
|
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.
|
|
|
07-13-2003, 09:17 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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.
|
|
|
07-13-2003, 09:18 PM
|
#3
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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!
|
|
|
07-13-2003, 11:53 PM
|
#4
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
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...
|
|
|
07-14-2003, 05:19 AM
|
#5
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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.
|
|
|
07-14-2003, 02:06 PM
|
#6
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
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 09:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|