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

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

 



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@xxxxxxxxxxxxxxxxxxxx
[mailto:yum-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Fajar A. Nugraha
Sent: Monday, April 02, 2007 9:15 PM
To: Yellowdog Updater, Modified
Subject: Re:  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@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum
_______________________________________________
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