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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux