Installation of the Cyber Protection Agent fails due to an incorrect kernel version (Ubuntu 22.04, Ubuntu 24.04, Debian 12, and Debian 13)
Please use the “Print” function at the bottom of the page to create a PDF.
Valid for Cloud Backup, Cloud Servers, VPS, VPS+, and Dedicated Servers with Ubuntu 22.04, Ubuntu 24.04, Debian 12, and Debian 13.
This article explains how to resolve problems with the installation of the Cyber Protection Agent due to incompatible kernel versions on Ubuntu 22.04, Ubuntu 24.04, Debian 12, and Debian 13.
The Cyber Protection Agent supports Linux with kernel 2.6.9 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/index.html#33496.html
Ensure that your server has a kernel installed that is supported by the Cyber Protection Agent and that the corresponding kernel headers are present. Depending on the situation, an upgrade or (in special cases) a change to another supported distribution kernel may be necessary.
If the installed kernel version is not supported, the following error message will be displayed:
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
In this case, first check the installed kernel version, and update the kernel.
Check kernel version
To check the kernel version, enter the following command:
root@localhost:~# uname -r
Update kernel
The information below walks you through updating the kernel and installing the necessary dependencies. Before changing the kernel, check the Acronis compatibility lists to see whether the desired kernel is explicitly supported there.
Please Note
Always perform a backup before updating the kernel.
Check the release notes before installing the kernel.
Update all packages with the following command:
apt update && apt upgrade
Enter the following command to install the latest kernel version:
apt-get dist-upgrade
Ubuntu uses this command to handle dependencies independently when updating the kernel.
Install the build tools and kernel headers required for the agent. Without these, the agent often cannot be installed correctly on newer kernels (such as Ubuntu 24.04 or Debian 13).
Ubuntu 22.04 and Ubuntu 24.04
apt-get install build-essential linux-headers-generic
Debian 12 and 13
apt-get install build-essential linux-headers-amd64
Reboot the server by entering the following command:
sudo reboot
Check whether the installation was successful after the reboot by entering the following command:
uname -r
Use the following command to check whether the correct kernel headers have been installed:
ls -l /usr/src/linux-headers-$(uname -r)