I was installing VirtualBox from the main site, with the .dpkg package given, and during the installation I got the error:
dpkg: dependency problems prevent configuration of virtualbox-5.1:
virtualbox-5.1 depends on libqt5x11extras5 (>= 5.6.0); however:
Package libqt5x11extras5 is not installed.
virtualbox-5.1 depends on libsdl1.2debian (>= 1.2.11); however:
Package libsdl1.2debian is not installed.
dpkg: error processing package virtualbox-5.1 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (232-21ubuntu5) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for shared-mime-info (1.8-1) ...
Errors were encountered while processing:
virtualbox-5.1
At fist a thought the problem was about unmet dependencies and ran:
sudo apt-get install -f
But then I got the following error message:
Adding group `vboxusers' (GID 132) ...
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
After this I ran the command suggested and got exactly the same error.
As suggested for @George I ran dmesg -kHd --time-format ctime | tail -20
, the resulting lines were:
[dom ago 13 13:59:07 2017 < 0,005021>] wlo1: authenticate with ea:de:27:93:b1:50
[dom ago 13 13:59:07 2017 < 0,005558>] wlo1: send auth to ea:de:27:93:b1:50 (try 1/3)
[dom ago 13 13:59:07 2017 < 0,003337>] wlo1: authenticated
[dom ago 13 13:59:07 2017 < 0,008390>] wlo1: associate with ea:de:27:93:b1:50 (try 1/3)
[dom ago 13 13:59:07 2017 < 0,006367>] wlo1: RX AssocResp from ea:de:27:93:b1:50 (capab=0x421 status=0 aid=1)
[dom ago 13 13:59:07 2017 < 0,001071>] wlo1: associated
[dom ago 13 14:01:06 2017 < 119,551821>] wlo1: disconnect from AP ea:de:27:93:b1:50 for new auth to c6:6e:1f:08:83:ce
[dom ago 13 14:01:06 2017 < 0,005411>] wlo1: authenticate with c6:6e:1f:08:83:ce
[dom ago 13 14:01:06 2017 < 0,004158>] wlo1: send auth to c6:6e:1f:08:83:ce (try 1/3)
[dom ago 13 14:01:06 2017 < 0,005006>] wlo1: authenticated
[dom ago 13 14:01:06 2017 < 0,001436>] wlo1: associate with c6:6e:1f:08:83:ce (try 1/3)
[dom ago 13 14:01:06 2017 < 0,003535>] wlo1: RX AssocResp from c6:6e:1f:08:83:ce (capab=0x421 status=0 aid=1)
[dom ago 13 14:01:06 2017 < 0,000535>] wlo1: associated
[dom ago 13 14:05:07 2017 < 240,406581>] wlo1: disconnect from AP c6:6e:1f:08:83:ce for new auth to c6:6e:1f:08:83:cf
[dom ago 13 14:05:07 2017 < 0,014262>] wlo1: authenticate with c6:6e:1f:08:83:cf
[dom ago 13 14:05:07 2017 < 0,006950>] wlo1: send auth to c6:6e:1f:08:83:cf (try 1/3)
[dom ago 13 14:05:07 2017 < 0,002182>] wlo1: authenticated
[dom ago 13 14:05:07 2017 < 0,005477>] wlo1: associate with c6:6e:1f:08:83:cf (try 1/3)
[dom ago 13 14:05:07 2017 < 0,001717>] wlo1: RX AssocResp from c6:6e:1f:08:83:cf (capab=0x1 status=0 aid=1)
[dom ago 13 14:05:07 2017 < 0,001518>] wlo1: associated
What can I do to fix this?
dmesg
command as it recommends? Anything near the bottom related to vboxdrv? – popey Aug 13 '17 at 14:17vboxdrv
), hence themodprobe vboxdrv failed
error message. – Aug 13 '17 at 14:39.dpkg
file or was it a.deb
file? Please provide that link too. – George Udosen Aug 13 '17 at 16:17sudo dpkg --configure -a
, thensudo apt update
and finallysudo apt dist-upgrade
– George Udosen Aug 13 '17 at 16:36dmesg -kHd --time-format ctime | tail -20
and paste the output into you question – George Udosen Aug 13 '17 at 16:37dpkg
doesn't install dependencies so next time justdouble click
on the package and it will install what you need. – George Udosen Aug 13 '17 at 16:41