LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't install an RPM (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-an-rpm-285426/)

Barrie 02-02-2005 01:46 PM

Can't install an RPM
 
Hi .. I'm a newbie to Linux
I have installed Fedora Core 1.0 and have been reading the book "Linux for Non-Geeks". During installation I neglected to install a few packages from the CD which I want to install now. The book says there is a bug in the Fedora Core 1 Package Manager that prohibits reading data on the installation disks and I need to update it with an RPM update file. I've downloaded that file ... The name is:
redhat-config-packages-1.2.7-1.noarch.rpm

It says I should be able to install the package by simply double-clicking on it. When I did I got a message saying it was checking for dependencies, etc., but then I got a response:
Could Not Remove Packages - You have selected a package for removal that is depended upon by a necessary system package. This package must be unselected before package removal can continue.
System Packages: redhat-config-packages

I suspect there is something wrong since it says it wants to "remove" instead of "install" the package. The bug is definitely there since I cannot install packages from the CD Rom.

Am I missing something in the installation process here? Do I have to somehow remove the existing redhat-config-packages to update it?
Any insight is greatly appreciated!

Barrie

vegetassj2 02-02-2005 01:50 PM

hi,

to install .rpm just open a konsole and typ

$ rpm -i <filename.rpm>

Sometimes you must logon as root

$ su root *

$ rpm -i <filename.rpm>

Hope this solved it

* = can be replaced by:

$ su

Barrie 02-03-2005 12:31 PM

Thanks for your help:
$rpm -i <package name> didn't work but led me to investigate and find that
#rpm -Uvh <package name> did the trick!
I first found out I needed the root, and then -U was needed to Update.


All times are GMT -5. The time now is 10:08 AM.