Re: How to specify required version to downgrade to?

James Antill <[email protected]> Fri, 14 Feb 2014 14:40:28 -0500
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Ульянка Да <[email protected]> writes:

> 14.02.2014, 12:09, "Frank Murphy" <[email protected]>:
>> On Fri, 14 Feb 2014 12:00:14 +0400
>> Ульянка Да <[email protected]> wrote:
>>

>>>  Hi,
>>>  man tells downgrade "Will try and downgrade a package from the
>>>  version currently installed to the previously  highest version
>>
>> yum downgrade foo # no need to specify version
>
> I DO need to specify, 'cause I need to downgrade several versions down and I want to skip intermediate steps.

 Both upgrade and downgrade work both ways (you can specify the
installed or to-be-installed version), so just specify the version you
want to downgrade to and it'll try to downgrade the installed version
to that version.

Eg.

# yum ls --showd yum
Loaded plugins: aliases
Installed Packages
yum.noarch                  3.4.3-85.fc18                    @fedora-yum-rawhide
Available Packages
yum.noarch                  3.4.3-47.fc18                    fedora             
yum.noarch                  3.4.3-53.fc18                    fedora-yum-rawhide 
yum.noarch                  3.4.3-54.fc18                    fedora-yum-rawhide 
yum.noarch                  3.4.3-54.fc18                    updates            
yum.noarch                  3.4.3-55.fc18                    fedora-yum-rawhide 
yum.noarch                  3.4.3-56.fc18                    fedora-yum-rawhide 
[...]
yum.noarch                  3.4.3-84.fc18                    fedora-yum-rawhide 
yum.noarch                  3.4.3-85.fc18                    fedora-yum-rawhide 
yum.noarch                  3.4.3-86.fc18                    fedora-yum-rawhide 
yum.noarch                  3.4.3-87.fc18                    fedora-yum-rawhide 
yum.noarch                  3.4.3-88.fc18                    fedora-yum-rawhide 
yum.noarch                  3.4.3-90.fc18                    fedora-yum-rawhide 
[...]
# yum downgrade yum-3.4.3-69.fc18
Loaded plugins: aliases
Resolving Dependencies
--> Running transaction check
---> Package yum.noarch 0:3.4.3-69.fc18 will be a downgrade
---> Package yum.noarch 0:3.4.3-85.fc18 will be erased
--> Finished Dependency Resolution

Dependencies Resolved
[...]

-- 
James Antill -- [email protected]

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum