FS#68890 - [virtualbox] Missing dependency for linux-headers

Attached to Project: Community Packages
Opened by sandb0y (sandb0y) - Tuesday, 08 December 2020, 09:21 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 08 December 2020, 09:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Missing dependency rule in Virtualbox package results in non-working virtualbox install.


Additional info:
virtualbox-6.1.16-3-x86_64

Steps to reproduce:

#sudo pacman -S virtualbox

resolving dependencies...
:: There are 2 providers available for VIRTUALBOX-HOST-MODULES:
:: Repository community
1) virtualbox-host-dkms 2) virtualbox-host-modules-arch

Enter a number (default=1):
looking for conflicting packages...

Packages (5) dkms-2.8.3-1 make-4.3-3 patch-2.7.6-8 virtualbox-host-dkms-6.1.16-3 virtualbox-6.1.16-3

Total Download Size: 36,64 MiB
Total Installed Size: 172,88 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
make-4.3-3-x86_64 481,6 KiB 926 KiB/s 00:01 [######################################################################################] 100%
patch-2.7.6-8-x86_64 92,5 KiB 215 KiB/s 00:00 [######################################################################################] 100%
dkms-2.8.3-1-any 53,8 KiB 0,00 B/s 00:00 [######################################################################################] 100%
virtualbox-host-dkms-6.1.16-3-x86_64 706,7 KiB 797 KiB/s 00:01 [######################################################################################] 100%
virtualbox-6.1.16-3-x86_64 35,3 MiB 1744 KiB/s 00:21 [######################################################################################] 100%
(5/5) checking keys in keyring [######################################################################################] 100%
(5/5) checking package integrity [######################################################################################] 100%
(5/5) loading package files [######################################################################################] 100%
(5/5) checking for file conflicts [######################################################################################] 100%
(5/5) checking available disk space [######################################################################################] 100%
:: Processing package changes...
(1/5) installing make [######################################################################################] 100%
(2/5) installing patch [######################################################################################] 100%
Optional dependencies for patch
ed: for patch -e functionality
(3/5) installing dkms [######################################################################################] 100%
Optional dependencies for dkms
linux-headers: build modules against the Arch kernel
linux-lts-headers: build modules against the LTS kernel
linux-zen-headers: build modules against the ZEN kernel
linux-hardened-headers: build modules against the HARDENED kernel
(4/5) installing virtualbox-host-dkms [######################################################################################] 100%
(5/5) installing virtualbox [######################################################################################] 100%
Optional dependencies for virtualbox
vde2: Virtual Distributed Ethernet support
virtualbox-guest-iso: Guest Additions CD image
virtualbox-ext-vnc: VNC server support
virtualbox-sdk: Developer kit
:: Running post-transaction hooks...
(1/9) Creating system user accounts...
Creating group vboxusers with gid 108.
(2/9) Reloading system manager configuration...
(3/9) Reloading device manager configuration...
(4/9) Arming ConditionNeedsUpdate...
(5/9) Install DKMS modules
==> Unable to install module vboxhost/6.1.16_OSE for kernel *: Missing kernel headers.
(6/9) Updating icon theme caches...
(7/9) Updating the info directory file...
(8/9) Updating the desktop file MIME type cache...
(9/9) Updating the MIME type database...


#VBoxHeadless -s virual-machine
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (5.9.12-arch1-1) or it failed to
load. Please recompile the kernel module and install it by

sudo /sbin/vboxconfig

You will not be able to start VMs until this problem is fixed.
VBoxHeadless: Error -1908 in suplibOsInit!
VBoxHeadless: Kernel driver not installed

VBoxHeadless: Tip! Make sure the kernel module is loaded. It may also help to reinstall VirtualBox.
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 08 December 2020, 09:32 GMT
Reason for closing:  Not a bug
Additional comments about closing:  linux-headers is optional dependency for dkms
Comment by Christian Hesse (eworm) - Tuesday, 08 December 2020, 09:31 GMT
Look above, it already contains to answer:

Optional dependencies for dkms
linux-headers: build modules against the Arch kernel
linux-lts-headers: build modules against the LTS kernel
linux-zen-headers: build modules against the ZEN kernel
linux-hardened-headers: build modules against the HARDENED kernel

Loading...