Install kpatch-dkms by entering the following commands in the terminal:
sudo apt update sudo apt install kpatch-dkms
Description:
DKMS module for Kpatch
This package contains the Kpatch module built with DKMS. It installs the source and makefiles into the appropriate locations in order to handle various kernel versions.
Homepage: http://github.com/dynup/kpatch
Version: 0.5.0-0ubuntu1
Section: universe/kernel