Thursday, January 10, 2013

How to Exclude Packages from YUM Updates

Via command line (temporary): # yum --exclude=PACKAGENAME update For example, to exclude all kernel packages: # yum --exclude=kernel* update To make this permanent, edit the /etc/yum.conf file. Follow these steps: 1. Add a new line in the [main] section like this: exclude=PACKAGENAME 2. Save file. For example: ... gpgcheck=1 plugins=1 installonly_limit=3 exclude=kernel*

No comments:

Post a Comment