Ask Your Question

Locking package versions and stop from updating

asked 2014-05-29 14:11:08 -0500

mapatel gravatar image

updated 2014-05-29 14:58:42 -0500

mether gravatar image

Is there a way to lock packages versions on Fedora20 and stop them from updating?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-29 23:34:13 -0500

Woland gravatar image

updated 2014-06-06 20:03:42 -0500

Yes. Essentially you need to install the yum-plugin-versionlock package and edit the file /etc/yum/pluginconf.d/versionlock.conf adding the text: enabled = 1

Then you can add the packages you don't want updated to /etc/yum/pluginconf.d/versionlock.list each on its own line.

There is more in the docs .

edit flag offensive delete link more



@Woland: The list of packages that shouldn't be updated has to be added to /etc/yum/pluginconf.d/versionlock.list

anishjp gravatar imageanishjp ( 2014-06-05 02:41:30 -0500 )edit

@anishjp Thanks for catching that. Edited the answer.

Woland gravatar imageWoland ( 2014-06-06 20:05:04 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-05-29 14:11:08 -0500

Seen: 335 times

Last updated: Jun 06 '14