[Yum] upgrade or downgrade as needed to versionlocked version.
Steve Traylen
steve.traylen at cern.ch
Tue Jun 21 14:56:51 UTC 2011
Hi,
Using an SL6 box with:
yum-3.2.29-17.el6.noarch
yum-plugin-versionlock-1.1.30-6.el6.noarch
I then version lock a package so that i have:
# yum -q versionlock
xulrunner-1.9.2.13-3.el6_0.x86_64
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