[Yum] upgrade or downgrade as needed to versionlocked version.
steve.traylen at cern.ch
Wed Jun 22 16:33:55 UTC 2011
On Tue, Jun 21, 2011 at 9:10 PM, James Antill <james-yum at and.org> wrote:
> Steve Traylen <steve.traylen at cern.ch> writes:
>> I then version lock a package so that i have:
>> # yum -q versionlock
>> 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.
More information about the Yum