Issue
Sometimes virtual servers stop booting after running the YUM update.
This article does not provide information on how to repair a virtual server. For more information, see How to Boot VS After Kernel Update.
Environment
All OnApp Versions
Resolution
If you run the update manually, you can use the --exclude
flag to disable kernel updates for YUM:
yum update --exclude=kernel*
You can also exclude any packages by using this flag.
If you want to disable kernel updates permanently, you can edit the YUM configuration file. The destination file is located at /etc/yum.conf
. The file contains the following [main]
section:
[main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log
Add the following line at the bottom of the [main]
section:
exclude=kernel*
You can use this method to exclude any other packages you don't want to update.