Installation of Cyber Protection Agent Failure Due to Wrong Kernel Version (Ubuntu 18.04, Ubuntu 20.04, and Debian)
Please use the “Print” function at the bottom of the page to create a PDF.
For Cloud Backup
Cyber Protection Agent supports Linux with kernel versions 2.6.9 through 5.1 and glibc 2.3.4, as well as a number of x86 and x86_64 distributions. These are listed in the following article:
https://dl.managed-protection.com/u/baas/help/20.08/user/en-US/index.html#33496.html
Make sure that your server has a kernel installed that is supported by the Cyber Protection Agent.
If the installed kernel version is not supported, you will see the following error message:
Failed to install the required package 'RPM' by using APT. │
│ Please install it manually.
root@localhost:~# apt-get install rpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rpm
If this is the case, first check the installed kernel version, and if necessary, update the kernel.
Checking Kernel Versions
To check the kernel version, enter the following command:
root@localhost:~# uname -r
Updating the Kernel
Below we'll show you how to update the kernel.
Attention
Always make a backup before performing a kernel update. You can use a program like WinSCP, for example, to do this. You can find out how to save a backup to another server in the following article:
Saving Data to a Backup Server (Linux)Check the release notes before installing the kernel.
Update all packages. To do this, enter the following command:
apt update && apt upgrade
To install the latest kernel version, enter the following command:
apt-get dist-upgrade
By entering this command, Ubuntu performs intelligent dependency handling when updating the kernel.
Perform a reboot. To do this, enter the following command:
sudo reboot
To check if the installation was successful, enter the following command:
uname -r
To verify that the correct kernel headers were installed, type the following command:
ls -l /usr/src/linux-headers-$(uname -r)