LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Unable to install RPM on fedora 9 (https://www.linuxquestions.org/questions/fedora-35/unable-to-install-rpm-on-fedora-9-a-789926/)

chiru.0123456789 02-18-2010 07:49 AM

Unable to install RPM on fedora 9
 
Hi

when i install an RPM on MY PC it says intallation is done.
when i query it says not installed.
when i try to reinstall it says already installed.

Finally its not getting installed
I am using the commands rpm -ivh xxxxx.rpm to install and
rpm -q to query respectively.
Is it a mistake in installing fedora on this PC.or -----


Regards
chiru

knudfl 02-18-2010 09:06 AM

Fedora 9 had end of life July 2009. No new updates since then.
The repo worked last time I used it. ( Three weeks ago.)

Did you try : 1) su , 2) yum install <package> ? ?

To answer you, the name the of the xxxxx.rpm, please.
The universal install command is : rpm -Uvh ...
rpm -ivh <package> , will keep an already installed version.
rpm -Uvh <package> , will update or reinstall.

The command : rpm -qa | grep <first-word-in-package-name>
.. will show, if it is installed.

rpm -qa | sort > all-my-packages.txt
.. is saving the text file in /home/<user-name>/
.....

nelufarup 02-19-2010 11:45 AM

Hi!

I think while checking you should try rpm -q xxxxx
and not rpm -q xxxxx.rpm. May be then u will know if the rpm is installed or not.

regards,
n.


All times are GMT -5. The time now is 03:33 PM.