Ask Your Question
1

How to blacklist specific package version?

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

techtonik gravatar image

New versions of this package https://bugzilla.redhat.com/show_bug.cgi?id=1036377 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
3

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

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

Comments

yum.conf man page mentioned in yum faq.

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

Can you give an example?

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

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

thm gravatar image

This is answered in the yum FAQ at http://yum.baseurl.org/wiki/Faq , 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

Stats

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

Seen: 676 times

Last updated: Aug 11 '14