Re: How to specify required version to downgrade to?

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

 



Ульянка Да <dekapriz@xxxxxxxxx> writes:

> 14.02.2014, 12:09, "Frank Murphy" <frankly3d@xxxxxxxxx>:
>> On Fri, 14 Feb 2014 12:00:14 +0400
>> Ульянка Да <dekapriz@xxxxxxxxx> 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 -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/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