Unix Technical Forum

rpm refuses to update "rpm" (to install yum)

This is a discussion on rpm refuses to update "rpm" (to install yum) within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have to maintain a RH 7.2 server. Yes, it's inconvenient, and yes, it has to stay 7.2 To ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 08:22 PM
Frank Nospam
 
Posts: n/a
Default rpm refuses to update "rpm" (to install yum)

I have to maintain a RH 7.2 server. Yes, it's inconvenient,
and yes, it has to stay 7.2

To make this job easier, I went to FedoraLegacy.org
Fedora said I should install yum.
yum told me rpm 4.0.3 was too old.
I read the yum HOWTO, which had nice clear instructions, but...
I tried to install rpm 4.0.4 and it threw a dozen failed dependencies.

So... do I need to erase/update all of the dependent rpms?
Or should I tell it to ignore dependencies?
Or is there a command to simultaneously upgrade all of them?
etc?

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 08:22 PM
tim wunder
 
Posts: n/a
Default Re: rpm refuses to update "rpm" (to install yum)

On 6/17/2004 10:07 AM, I believe that Frank Nospam wrote:

> I have to maintain a RH 7.2 server. Yes, it's inconvenient,
> and yes, it has to stay 7.2
>
> To make this job easier, I went to FedoraLegacy.org
> Fedora said I should install yum.
> yum told me rpm 4.0.3 was too old.
> I read the yum HOWTO, which had nice clear instructions, but...
> I tried to install rpm 4.0.4 and it threw a dozen failed dependencies.
>
> So... do I need to erase/update all of the dependent rpms?


probably update, I doubt erasing will do you any good.

> Or should I tell it to ignore dependencies?


I wouldn't, but it's your system. Be prepared for major flakiness if you do.

> Or is there a command to simultaneously upgrade all of them?


Doesn't rpm -Uvh *.rpm update all the .rpm files in the current
directory. Perhaps downloading all the dependancies, putting them in a
directory and issuing an 'rpm -Uvh *.rpm' will do the trick. Dunno for
sure, though.

> etc?
>
> Thanks in advance.


FWIW, meeting dependancies is usually the more prudent way to resolve
dependancies. Ignoring them is asking for trouble.

HTH,
Tim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 08:22 PM
Alexander Dalloz
 
Posts: n/a
Default Re: rpm refuses to update "rpm" (to install yum)

On Thu, 17 Jun 2004 10:07:06 -0400 Frank Nospam wrote:

> I have to maintain a RH 7.2 server. Yes, it's inconvenient,
> and yes, it has to stay 7.2
>
> To make this job easier, I went to FedoraLegacy.org


And yes, Fedora Legacy does not support RH 7.2 with bug fixing packages.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 08:22 PM
Markku Kolkka
 
Posts: n/a
Default Re: rpm refuses to update "rpm" (to install yum)

Frank Nospam wrote:

> I have to maintain a RH 7.2 server. Yes, it's inconvenient,
> and yes, it has to stay 7.2
>
> To make this job easier, I went to FedoraLegacy.org
> Fedora said I should install yum.
> yum told me rpm 4.0.3 was too old.
> I read the yum HOWTO, which had nice clear instructions, but...
> I tried to install rpm 4.0.4 and it threw a dozen failed dependencies.


Are you sure you used the correct package for RHL7.2:
rpm -Uvh http://download.fedoralegacy.org/red....4-7x.i386.rpm

> So... do I need to erase/update all of the dependent rpms?
> Or should I tell it to ignore dependencies?


No!

> Or is there a command to simultaneously upgrade all of them?


Specify all the packages on the same rpm command line.

--
Markku Kolkka
markku.kolkka@iki.fi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 08:23 PM
Frank Nospam
 
Posts: n/a
Default Re: rpm refuses to update "rpm" (to install yum)

tim wunder <twunder@REMOVEcomcast.net> wrote:
> directory. Perhaps downloading all the dependancies, putting them in a
> directory and issuing an 'rpm -Uvh *.rpm' will do the trick. Dunno for


Thanks much, that's exactly what I needed.

-F.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2008, 08:24 PM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: rpm refuses to update "rpm" (to install yum)

Frank Nospam wrote:
> tim wunder <twunder@REMOVEcomcast.net> wrote:
>> directory. Perhaps downloading all the dependancies, putting them in
>> a directory and issuing an 'rpm -Uvh *.rpm' will do the trick. Dunno
>> for

>
> Thanks much, that's exactly what I needed.


Be careful not to miss any undocumented ones. There's a nasty dependency
from RedHat 7.3 at least with newer versions of RPM where you also have to
install a newer glibc. Installing one without the other *breaks* RPM
entirely.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com