[Yum] upgrade or downgrade as needed to versionlocked version.

Steve Traylen steve.traylen at cern.ch
Tue Jun 21 14:56:51 UTC 2011


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)

Of course suggestions of how to solve the origional request of fixing
up to locked version
are also appreciated.

Steve Traylen

More information about the Yum mailing list