Flipkart

Wednesday, June 20, 2018

Preventing Yum from Updating the Kernel

However, if you don’t ever want to just blindly have the kernel updated, you can add the following to your /etc/yum.conf file:

exclude=kernel*

Or, if you insist on using a vanilla configuration file and control everything via the CLI, use

#yum –xclude=kernel* update

Both of these methods will eliminate the kernel from being updated or even included in the potential update listing.

sudo yum update --skip-broken

No comments:

Post a Comment