Ask Your Question

How to blacklist specific package version?

asked 2014-08-11 01:49:43 -0500

techtonik gravatar image

New versions of this package bring my system down leaving me without GUI. How can I blacklist specific versions from installing? I don't want to freeze all updates for this package. Just want to make sure that certain versions are not causing troubles.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-08-11 21:07:08 -0500

cschanzle gravatar image

yum-plugin-versionlock does not do what the original question asked: it is desired to let updates come in, just not let one (broken) version update.

However, the tip to the yum faq/yum.conf man page is excellent. The 'exclude' option can be used to exclude a specific package name-version-release.

edit flag offensive delete link more


yum.conf man page mentioned in yum faq.

techtonik gravatar imagetechtonik ( 2015-01-19 01:15:16 -0500 )edit

Can you give an example?

techtonik gravatar imagetechtonik ( 2015-01-19 01:19:53 -0500 )edit

answered 2014-08-11 05:56:33 -0500

thm gravatar image

This is answered in the yum FAQ at , Q4: "How can I get yum to keep package "foo" at a certain version in a fashion similar to pinning provided by apt?"

In short, the functionality is provided by the versionlock yum plugin:

yum install yum-plugin-versionlock
yum versionlock <package-name>

In your case

yum versionlock xorg-x11-drv-intel-2.21.15-4.fc20.x86_64

followed by a

yum distro-sync xorg-x11-drv-intel

should do the trick.

edit flag offensive delete link more

Question Tools


Asked: 2014-08-11 01:49:43 -0500

Seen: 680 times

Last updated: Aug 11 '14