Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Virtualbox on Debian stretch (testing)

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
akrueger
Posts: 68
Joined: 2017-01-13 19:09

Virtualbox on Debian stretch (testing)

#1 Post by akrueger »

Using these instructions https://wiki.debian.org/VirtualBox#Debi ... Stretch.22 is resulting in

Code: Select all

/sbin/vboxconfig 
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: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  apt-get install linux-headers-4.8.0-2-amd64
(The last command may fail if your system is not fully updated.)
  apt-get install linux-headers-amd64
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  apt-get install linux-headers-4.8.0-2-amd64
(The last command may fail if your system is not fully updated.)
  apt-get install linux-headers-amd64

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.
I cannot install linux-headers-4.8 as there is only 4.9:

Code: Select all

apt-cache search linux-headers
...
linux-headers-4.9.0-1-all - All header files for Linux 4.9 (meta-package)
linux-headers-4.9.0-1-all-amd64 - All header files for Linux 4.9 (meta-package)
linux-headers-4.9.0-1-amd64 - Header files for Linux 4.9.0-1-amd64
linux-headers-4.9.0-1-common - Common header files for Linux 4.9.0-1
linux-headers-4.9.0-1-common-rt - Common header files for Linux 4.9.0-1-rt
linux-headers-4.9.0-1-rt-amd64 - Header files for Linux 4.9.0-1-rt-amd64
linux-headers-amd64 - Header files for Linux amd64 configuration (meta-package)
linux-headers-rt-amd64 - Header files for Linux rt-amd64 configuration (meta-package)
so I did

Code: Select all

apt install linux-headers-4.9.0-1-all
apt-get install linux-headers-amd64
/sbin/vboxconfig 
but it always goes back to:

Code: Select all

/sbin/vboxconfig 
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: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  apt-get install linux-headers-4.8 ...
Are there undocumented dependencies? What have I done wrong, or forgotten to do? Is this a bug?

Thanks a a lot!

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Virtualbox on Debian stretch (testing)

#2 Post by dilberts_left_nut »

Presumably you still have a 4.8 kernel.
You should update to the current 4.9
AdrianTM wrote:There's no hacker in my grandma...

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: Virtualbox on Debian stretch (testing)

#3 Post by akrueger »

that was it, rebooted, now it works.

thx a lot!

Post Reply