Re: Can yum upgrade from higher version number to lower version number

"Fajar A. Nugraha" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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
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.