[Yum] Documentation Questions and Updates

James Antill james-yum at and.org
Wed Dec 16 14:57:55 UTC 2009


Gerhardus Geldenhuis <gerhardus.geldenhuis at gmail.com> 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 -- james at and.org


More information about the Yum mailing list