How to install kernel headers with a different name? [message #53191] |
Sun, 25 February 2018 15:43 |
Patsy
Messages: 1 Registered: February 2018
|
Junior Member |
|
|
Hi,
I guess (hope) it's an easy noob question:
How to tell the system¹ that the installed kernel headers /usr/src/linux-headers-2.6.32-openvz-042stab124.2-amd64 are what it's looking for (linux-headers-2.6.32-042stab124.2-amd64?
ln -s linux-headers-2.6.32-openvz-042stab124.2-amd64 /usr/src/linux-headers-2.6.32-042stab124.2
doesn't help.
Thank you,
Patsy
P.S. alternative: How to rename the kernel so that it has openvz in its name?
Why?
I have some OpenVZ containers where I want to install iSCSI target but
>apt-get install iscsitarget-dkms results in
DKMS: add completed.
Error! Your kernel headers for kernel 2.6.32-042stab124.2 cannot be found.
Please install the linux-headers-2.6.32-042stab124.2 package
but there is no such, just the slightly different named one with openvz in its name.
¹ uname -a
Linux fs1 2.6.32-042stab124.2 #1 SMP Fri Sep 1 20:42:18 MSK 2017 x86_64 GNU/Linux
|
|
|