upgrade or downgrade as needed to versionlocked version.

Steve Traylen <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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
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.