LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RPM installing problems in RH 8.0 (https://www.linuxquestions.org/questions/linux-software-2/rpm-installing-problems-in-rh-8-0-a-35178/)

Oklahoma 11-11-2002 01:59 PM

RPM installing problems in RH 8.0
 
Hey all, I am having some issues with installing RPMs lately. Whenever i try to install one, it will either quit as it is determining dependecies or not even run, just remain a sleeping process in my system moniter. Ive tried logging in under my root account and the same thing happens. Anyone have any ideas as to what may be happening? Any help would be appricated, thanks for reading.

~Oklahoma

DavidPhillips 11-11-2002 02:07 PM

you may want to try and rebuild the rpm datadase

rpm --rebuilddb

Oklahoma 11-11-2002 02:25 PM

David~

I just tried that. Started up a shell, changed to root and tried what you said, it just stopped after that. The cursor just hung on the next line, i could type but nothing was happening.

DavidPhillips 11-11-2002 03:00 PM

not sure

I wonder if you could reinstall rpm

Oklahoma 11-11-2002 03:09 PM

:newbie:

David~

Sorry for the newbness, but how would i go about reinstalling RPM?

DavidPhillips 11-11-2002 05:02 PM

this should help


http://www.rpm.org/

DavidPhillips 11-11-2002 05:03 PM

this link is to download rpm binaries
ftp://ftp.rpm.org/pub/

DavidPhillips 11-11-2002 05:07 PM

you will need the rpm tar.gz file for the version you want to install

first I would uninstall rpm like this

rpm -q rpm
this will show version

rpm-4.0.4-7x.18

rpm -e rpm

will remove it


then you can unpack the tar.gz file with

tar zxvf filename

there will be instructions in the folder created

DavidPhillips 11-11-2002 05:12 PM

do the same with popt, rpm-build, and rpm-python .. or whatever tar.gz files are in the version you are installing

you could just try the rpm if you want, but if the version is different you should do all of them

I would remove all the rpms first then install the tar.gz files

then installl the remaining rpms

Oklahoma 11-11-2002 08:24 PM

I went to the links to grab the files, but they dont offer the rpms in anyother format other than rpms, there are no tar.gz files....

DavidPhillips 11-11-2002 08:30 PM

I was at the ftp site and saw some tar.gz files

Oklahoma 11-11-2002 08:30 PM

never mind i found them, im blind :)

DavidPhillips 11-11-2002 08:33 PM

ftp> pwd
257 "/pub/rpm/dist/rpm-4.1.x"
ftp> ls *gz
227 Entering Passive Mode (66,187,233,245,39,41)
150 Here comes the directory listing.
-rw-rw-r-- 1 2369 300 574549 Sep 17 20:57 popt-1.7.tar.gz
-rw-rw-r-- 1 2369 300 5670825 Sep 17 20:55 rpm-4.1.i386.tar.gz
-rw-rw-r-- 1 2369 300 6494145 Sep 17 19:38 rpm-4.1.tar.gz
226 Directory send OK.

DavidPhillips 11-11-2002 08:34 PM

Oh, OK Cool

LOL

Oklahoma 11-12-2002 11:43 AM

everything is working fine as of now, thanks for your help david!!


All times are GMT -5. The time now is 02:46 PM.