[Yum] Can yum upgrade from higher version number to lower versionnumber

Kamavaram, Sunil skamavar at qualcomm.com
Tue Apr 3 06:56:46 UTC 2007


Sorry I should have framed the question in a different way.

So far I used yum software to upgrade an application from lower version
to a higher version.

Is it is possible to upgrade the same application from higher version to
a lower version number using yum.



Thanks
Sunil.

-----Original Message-----
From: yum-bounces at lists.dulug.duke.edu
[mailto:yum-bounces at lists.dulug.duke.edu] On Behalf Of Fajar A. Nugraha
Sent: Monday, April 02, 2007 9:15 PM
To: Yellowdog Updater, Modified
Subject: Re: [Yum] Can yum upgrade from higher version number to lower
versionnumber

Kamavaram, Sunil wrote:
>
> Hi,
>
>  
>
> Can yum upgrade from higher version number to lower version number?
>
>  
>
Try using the plugin yum-allowdowngrade from yum-utils
If you want to permanently stick with that older version, there are some
alternatives :
- use yum-priorities or yum-protectbase (also from yum-utils), or
- use "exclude" on the the repository with newer package

> Is there a way I can force the upgrade of the rpm through yum like we
> do using rpm command
>
>  
>
> "rpm -force xxxxxx"
>
>  
>
What do you want to do?
To downgrade, see above.

To ignore dependencies (for example, if it needs xorg-devel, but on your
system it exists as xorg-x11-devel), you should stick with rpm --force.
That is, assuming you know what you're doing. IMHO a more elegant way
when faced with dependecy problem is to find an RPM that fits your
distro, or create your own rpm from either the .src.rpm or simply
repackage the original rpm's binaries. That way you don't break yum.

Regards,

Fajar
_______________________________________________
Yum mailing list
Yum at lists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/yum



More information about the Yum mailing list