Hi,
I get the following error
$ sudo dkms install vboxhost/6.1.2_OSE -k 5.4.19-1-lts
Error! echo
Your kernel headers for kernel 5.4.19-1-lts cannot be found at
/usr/lib/modules/5.4.19-1-lts/build or /usr/lib/modules/5.4.19-1-lts/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
$ ls -l /usr/lib/modules/5.4.19-1-lts
total 12424
drwxr-xr-x 12 root root 4096 Feb 14 20:34 kernel
-rw-r--r-- 1 root root 1511996 Feb 14 20:34 modules.alias
-rw-r--r-- 1 root root 1491356 Feb 14 20:34 modules.alias.bin
-rw-r--r-- 1 root root 5607 Feb 13 04:49 modules.builtin
-rw-r--r-- 1 root root 7314 Feb 14 20:34 modules.builtin.bin
-rw-r--r-- 1 root root 44486 Feb 13 04:49 modules.builtin.modinfo
-rw-r--r-- 1 root root 730019 Feb 14 20:34 modules.dep
-rw-r--r-- 1 root root 978486 Feb 14 20:34 modules.dep.bin
-rw-r--r-- 1 root root 475 Feb 14 20:34 modules.devname
-rw-r--r-- 1 root root 227834 Feb 13 04:49 modules.order
-rw-r--r-- 1 root root 935 Feb 14 20:34 modules.softdep
-rw-r--r-- 1 root root 590557 Feb 14 20:34 modules.symbols
-rw-r--r-- 1 root root 726696 Feb 14 20:34 modules.symbols.bin
-rw-r--r-- 1 root root 10 Feb 13 04:49 pkgbase
-rw-r--r-- 1 root root 6367616 Feb 13 04:49 vmlinuz
Do I need to use --kernalsourcedir to point it to somewhere else like the kernel directory? Sorry, it's been a long time since I've played with this sort of thing and I don't want to break my system guessing.
Thanks