Boston University Linux

Can I exclude certain packages from the autoupdate process? Print
Written by Matthew Miller   
Friday, 02 September 2005

Yes, but in the current version of our autoupdate software, there are some drawbacks. You can cause the "yum" package management software used by the autoupdater to ignore packages which match a given name or wildcard. This will prevent them from being updated by the autoupdater, but will also cause them to be ignored by manual yum commands.

To mark packages as ignored, put a line like this in yum.conf:

exclude="packagename"

or

exclude="packagepattern*"


For example, to prevent MySQL and all related packages from being automatically updated, you could use this:

exclude="*mysql*"

In addition to the side-effect mentioned above, this will also prevent any packages which may depend on updates to your listed packages from being updated, so please choose your patterns with care.

A future version of the autoupdate program will have the ability to list packages in the autoupdate configuration so that normal yum usage will not be affected.

Last Updated ( Friday, 02 September 2005 )
 
< Prev

BU Linux FAQs

Core Design