LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-02-2005, 01:46 PM   #1
Barrie
LQ Newbie
 
Registered: Feb 2005
Location: Surrey, BC, Canada
Distribution: Fedora Core 1.0
Posts: 3

Rep: Reputation: 0
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
 
Old 02-02-2005, 01:50 PM   #2
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Rep: Reputation: 30
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
 
Old 02-03-2005, 12:31 PM   #3
Barrie
LQ Newbie
 
Registered: Feb 2005
Location: Surrey, BC, Canada
Distribution: Fedora Core 1.0
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM error when trying to install an rpm Trance56k SUSE / openSUSE 3 11-10-2005 10:25 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 09:39 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration