Re: Documentation Questions and Updates

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Gerhardus Geldenhuis <[email protected]> writes:

> I have just done one FAQ for now as a start:
>
> Q4. second bullet
> Another way to pin package "foo" to a certain version is to use the
> versionlock plugin obtainable via the yum-utils package or from
> http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum-utils/plugins/versionlock/
> provided you are using yum >=2.3.3
>
> After enabling the plugin, create a file called
> /etc/yum/pluginconf.d/versionlock.list which will be the list of
> packages to version lock. The file excepts package names in the form
> rpm -q <package name> --queryformat "%{NAME}-%{VERSION}-%{RELEASE}\n "
> or easier the standard rpm -q <package name> format.

 For upstream/Fedora the versionlock plugin now comes with a command,
so, for example, to versionlock your Xorg drivers you just do:

# yum install yum-plugin-versionlock
[...]
# yum versionlock xorg-x11-drv-\*
[...]
# 

...but, yes, any help updating/maintaining the Wiki/FAQ/etc. would be
appreciated.

-- 
James Antill -- [email protected]
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.