Plesk for Linux
kb: how-to
ABT: Group A
Applicable to:
- Plesk for Linux
Question
- Why are system updates shown by Plesk and by system package manager different?
- Plesk user interface excludes kernel patch updates available under Tools & Settings > System Updates;
- When
Enable safe updates for system packages
mode is disabled under Tools & Settings > System Updates > Settings, the kernel update patch is still not included; - The following command shows the kernel update available:
For CentOS/RHEL:
# yum check-updates
For Debian/Ubuntu:
# apt-get -u upgrade --assume-no
Answer
Kernel updates are excluded from PUM (Plesk Update Manager) for the following reasons:
- kernel updates are handled by YUM and APT differently than other updates (i.e., the new package is usually installed instead of updating existing one, and the old package, sometimes, is removed).
- the server needs rebooting to apply the kernel updates
To install kernel updates:
- Install kernel updates manually:
For CentOS/RHEL:
# yum update
For Debian/Ubuntu:
# apt-get update && apt-get upgrade
-
Reboot the server:
# reboot
Alternatively, KernelCare extension can be used to make sure that a server's kernel is up-to-date. The extension allows installing kernel updates on the fly without rebooting the server.
Comments
2 comments
Article lacks info of the update itself:
To install system package updates please use the
apt-get
utility. Run the command below to start the update of system packages:After the installation is completed, please reboot the server via the following command at a suitable time:
In addition, you can also try using KernelCare extension to be sure that a server's kernel is up-to-date. The extension allows installing kernel updates on the fly without rebooting the server.
It is safe to update Plesk server's system packages using an operating system package manager and moreover, we recommend to keep the system up-to-date and update system packages from official repositories in case such updates are available. It allows keeping your Plesk server secured. Please refer to the following article for details: Is it safe to update Plesk server's system packages using an operating system package manager?
Ehud,
The article has been updated, thank you!
Please sign in to leave a comment.