[Yum] upgrade or downgrade as needed to versionlocked version.
james-yum at and.org
Tue Jun 21 19:10:39 UTC 2011
Steve Traylen <steve.traylen at cern.ch> writes:
> Using an SL6 box with:
> I then version lock a package so that i have:
> # yum -q versionlock
> And now I want to that package directly regardless of current situation.
> 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? I expect the older
> "--allow-downgrades" may
> have worked ? but this is replaced by the downgrade method I guess. So
> supposing there was a "goto"
> method then it would be possible to run
> yum goto $(yum -q versionlock list)
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?
James Antill -- james at and.org
More information about the Yum