RE: Can yum upgrade from higher version number to lower versionnumber

"Kamavaram, Sunil" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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: [email protected]
[mailto:[email protected]] 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
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.