[arch-general] Missing Dependency virtualbox-host-dkms
Cheers Replacing the `virtualbox-host-modules' with the `virtualbox-host-dkms' package causes a "modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.4.3-1-ARCH". The whole misc (/lib/modules/4.4.3-1-ARCH/kernel/misc/) directory is missing. You need to install the `linux-headers' package for a working dkms. DKMS than can make the modules and creates the misc folder with all virtualbox *ko files. Is it possible to add the `linux-headers' package as a dependency for the `virtualbox-host-dkms' package or miss I something? Thanks Kind regards Chris
On 03/06/2016 11:12 AM, 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?
I guess what you are missing is that it is already an optdepends. It would be rather unfair towards users of a different kernel to make a hard dependency on the main kernel. -- Eli Schwartz
On 03/06/2016 05:16 PM, Eli Schwartz wrote:
It would be rather unfair towards users of a different kernel to make a hard dependency on the main kernel.
You're right, that could be unfair esp when you install kernels via aur. Is it possible to add a hint while installing the package? I know theres already an opt dep but for me an opt dep is very optional but in this case you really need some headers to get the modules working. Cheers Chris
On Sun, 6 Mar 2016 18:16:09 +0100, Chr1s via arch-general wrote:
Is it possible to add a hint while installing the package?
I know theres already an opt dep but for me an opt dep is very optional but in this case you really need some headers to get the modules working.
Just to make it clear, to avoid any misunderstanding. You need the kernel source code to compile the modules. This is not only a requirement when building kernel modules. The linux packages are just split into the kernel image and header packages, while other packages usually aren't split and contain their header files.
On dim., 2016-03-06 at 18:16 +0100, Chr1s via arch-general wrote:
On 03/06/2016 05:16 PM, Eli Schwartz wrote:
It would be rather unfair towards users of a different kernel to make a hard dependency on the main kernel.
You're right, that could be unfair esp when you install kernels via aur.
Is it possible to add a hint while installing the package?
I didn't force the deps to linux-headers because you could use the kernel (linux, linux-lts, linux-zen, linux-grsec, etc) you prefer (or all together). I will add a message with the next release of virtualbox. Cheers, -- Sébastien "Seblu" Luttringer https://seblu.net | Twitter: @seblu42 GPG: 0x2072D77A
FYI: There's a recent thread on arch-dev-public: https://lists.archlinux.org/pipermail/arch-dev-public/2016-March/027802.html --byte
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
participants (5)
-
Chr1s
-
Eli Schwartz
-
Jens Adam
-
Ralf Mardorf
-
Sébastien Luttringer