On Sun, 6 Mar 2016 17:12:47 +0100, Chr1s via arch-general wrote:
Is it possible to add the `linux-headers' package as a dependency for the `virtualbox-host-dkms' package or miss I something?
Hi, you miss that the official provided linux and linux-lts headers are already optional dependencies [rocketmouse@archlinux ~]$ pacman -Qi virtualbox-host-dkms | grep -A1 Optional\ D Optional Deps : linux-headers [installed] linux-lts-headers and an example from one of my bash histories [root@archlinux rocketmouse]# grep dkms ~/.bash_history | grep 5 dkms remove -m vboxhost -v 5.0.12 --all dkms install vboxhost/5.0.14 -k 4.3.3-3-ARCH/x86_64 && dkms install vboxhost/5.0.14 -k 4.0.4-rt1-1-rt/x86_64 && dkms install vboxhost/5.0.14 -k 3.10.61-rt65-1-rt-lts/x66_64 as you can see, a kernel not necessarily is provided by official repositories so you can not make such headers hard dependencies and I not necessarily have linux or linux-lts from official repositories installed at all, so I also don't want to be forced to install the headers. Regards, Ralf