Re: upgrade or downgrade as needed to versionlocked version.

Steve Traylen <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On Tue, Jun 21, 2011 at 9:10 PM, James Antill <[email protected]> wrote:
> Steve Traylen <[email protected]> writes:

>> I then version lock a package so that i have:
>>
>> # yum -q versionlock
>> xulrunner-1.9.2.13-3.el6_0.x86_64
>>
>> It seems I can run.
>>
>> yum upgrade xulrunner
>> yum downgrade xulrunner
>>
>> to catch the two cases where I am behind or infront of the locked package.
>>
>> Can I go to exact package version directly always?

> yum distro-sync xulrunner
>
> ...that will go to the latest versionlocked version for xulrunner (or
> for everything, if you don't specify an argument).
>
>> Of course suggestions of how to solve the origional request of fixing
>> up to locked version are also appreciated.
>>
>  Sorry, is this the same problem, or a different question?

Yes given this answer it is the same problem, I had not noticed
distro-sync could be called on a package, I presumed it was for "distros".

Fantastic, a perfect solution for me.

Thanks.

-- 
Steve Traylen
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.