Re: yum-versionlock: needs better output

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

On Fri, 20 Mar 2009, Gerry Reno wrote:

> Right now when I run yum with the yum-versionlock installed and a package 
> version in /etc/yum/pluginconf.d/versionlock.list I get:
>
> # yum update bzip2
> Loading "fastestmirror" plugin
> Loading "versionlock" plugin
> Loading mirror speeds from cached hostfile
> * fedora: archive.fedoraproject.org
> * updates: archive.fedoraproject.org
> Reading version lock configuration
> Setting up Update Process
> Could not find update match for bzip2
> No Packages marked for Update
>
>
> But nowhere does it tell me that versionlock is preventing the update of 
> bzip2.  Only by running:
> yum list bzip2
>
> can I see that there is an update.
>
> What we need is for yum-versionlock to report that the update is not taking 
> place because versionlock is preventing it.

If you bump the debug level to 5 (yum -d 5)

does this show up:

Excluding package <name> due to version lock

-sv
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.