LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-15-2005, 12:14 PM   #1
rattlesnake0407
LQ Newbie
 
Registered: Sep 2005
Location: Sterling, VA
Distribution: Red Hat
Posts: 1

Rep: Reputation: 0
rpm 4.0.3 upgrade to 4.0.4 under 7.2


Trying to install yum per fedoralegacy.org/docs/yum-rh7x on RH 7.2 with rpm and related packages currently at 4.0.3.

Yum requires rpm, python, gnupg, and rpm-python - all at version 4.0.4. I have all those packages installed but they are all 4.0.3. The document provides instructions to upgrade to 4.0.4. Unfortunately, rpm of rpm-4.0.4... fails due to dependency errors: rpm-python 4.0.3 requires rpm 4.0.3, gnorpm-0.96.11 needs librpm-4.0.3.so, etc., with librpmbuild and librpmio shared libraries.

So I thought lets attempt to rpm -e the dependent products (except for rpm itself). Starting with rpm -e gnorpm, that was successfully erased. Next, trying to rpm -e rpm-python resulted in failure as that was needed by rhn-register-2.7.2-7.x.2 as well as up2date-2.7.2-7.x.6.

I need to install yum on a 7.2 system in order to download and install a specific package available only via yum.So what is the procedure that will let me update rpm and associated packages at one time so things will get done and I could then install yum?

Seems like I am in a catch 22. I know that I will eventually upgrade the release to 7.3 when a 7.3 version of the needed package is available. But for now, I have to get rpm 4.0.3 upgraded to 4.0.4! Help!
 
Old 09-16-2005, 08:52 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
I don't know much about your situation, but I want to mention that you can install multiple packages at the same time; e.g.
Code:
rpm -i package1 package2 package3 ...
so you can try to install the packages you need and keep adding their dependencies until they're all satisfied
 
  


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 Upgrade? Greek Acrobat Linux - Software 1 05-13-2004 02:50 AM
preserve configuration files during RPM upgrade (rpm -U) charrua Red Hat 3 03-14-2004 01:18 PM
RPM Upgrade Parksy Linux - Software 0 06-29-2003 03:49 PM
upgrade rpm shiman Linux - Software 0 04-16-2002 10:30 PM
How to upgrade RPM? concoran Linux - General 3 11-16-2001 07:46 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration