Skip to content

Instantly share code, notes, and snippets.

@newbenhd
Created August 25, 2017 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newbenhd/c70ad5a1ba76e5499534c508343aab45 to your computer and use it in GitHub Desktop.
Save newbenhd/c70ad5a1ba76e5499534c508343aab45 to your computer and use it in GitHub Desktop.
$ sudo apt-get install virtualbox-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
virtualbox-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/623 kB of archives.
After this operation, 5,049 kB of additional disk space will be used.
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Selecting previously unselected package virtualbox-dkms.
(Reading database ... 223781 files and directories currently installed.)
Preparing to unpack .../virtualbox-dkms_5.0.40-dfsg-0ubuntu1.16.04.1_all.deb ...
Unpacking virtualbox-dkms (5.0.40-dfsg-0ubuntu1.16.04.1) ...
Setting up virtualbox-dkms (5.0.40-dfsg-0ubuntu1.16.04.1) ...
Loading new virtualbox-5.0.40 DKMS files...
First Installation: checking all kernels...
Building only for 4.10.0-32-generic
Building initial module for 4.10.0-32-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.10.0-32-generic (x86_64)
Consult /var/lib/dkms/virtualbox/5.0.40/build/make.log for more information.
Job for virtualbox.service failed because the control process exited with error code. See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
Loaded: loaded (/etc/init.d/virtualbox; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-08-24 03:33:36 CDT; 4ms ago
Docs: man:systemd-sysv-generator(8)
Process: 8871 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
Aug 24 03:33:36 white-knight systemd[1]: Starting LSB: VirtualBox Linux kern....
Aug 24 03:33:36 white-knight virtualbox[8871]: * Loading VirtualBox kernel ....
Aug 24 03:33:36 white-knight virtualbox[8871]: * No suitable module for run...d
Aug 24 03:33:36 white-knight virtualbox[8871]: ...fail!
Aug 24 03:33:36 white-knight systemd[1]: virtualbox.service: Control process...1
Aug 24 03:33:36 white-knight systemd[1]: Failed to start LSB: VirtualBox Lin....
Aug 24 03:33:36 white-knight systemd[1]: virtualbox.service: Unit entered fa....
Aug 24 03:33:36 white-knight systemd[1]: virtualbox.service: Failed with res....
Hint: Some lines were ellipsized, use -l to show in full.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment