Lampwrights Forum > Linux, Apache, MySQL, PHP > Linux

Thread Tools
01-12-2011, 05:42 PM   #1
Jeff's Avatar
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Excluding packages with Yum

Many Linux servers are configured to update automatically. I never liked this, but some clients want it this way. You can however at least configure yum to exclude some packages from automatically updating. For my, I want to BE THERE when PHP, Kernel, Apache, or MySQL updates. Edit the /etc/yum.conf file and add this line at the end (if it isn't there):

exclude=kernel* php* httpd* MySQL* mysql*
Also, you may want to make sure assumeyes is disabled:

That will keep it from updating/installing packages without confirming first.

When it comes time to update manually, just do it like so:

yum update --disableexcludes=all
Hope that little trick helps!
Jeff is offline   Reply With Quote



configuring linux


linux applications


linux how-to

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 01:53 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.