kernel-tools icon indicating copy to clipboard operation
kernel-tools copied to clipboard

Unable to install virtualbox-dkms

Open Rahul91 opened this issue 9 years ago • 6 comments

I am trying to run vagrant in scaleway server, while I am able to install virtualbox and vagrant via apt-get, I get the following error when installing virtualbox-dkms

root@scalewayIP:~# apt-get install virtualbox-dkms Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package virtualbox-dkms

I also found this open issue apt-get --reinstall install linux-headers-uname -r fails related to dkms. Feature Request : I should be able to do this out of the box without changing bootscript or doing any tweak.

Rahul91 avatar Jun 15 '16 10:06 Rahul91

Hi @Rahul91,

I successfuly built other DKMS modules using the default bootscript by preparing my server with these steps: https://github.com/scaleway/kernel-tools#how-to-build-a-custom-kernel-module

Can you try to prepare your server for DKMS and run your last apt-get command again ?

moul avatar Jun 15 '16 22:06 moul

Hi moul,

I followed the steps mentioned in https://gist.github.com/Rahul91/f051a391fac62ccebb581370b0ac644d script, but could not install virtualbox-dkms using apt-get afterwards

Here is my gist. Please check if I am doing anything wrong.

Rahul91 avatar Jun 16 '16 06:06 Rahul91

Which kernel version are you targeting?

xymor avatar Jun 18 '16 13:06 xymor

@xymor, I am targeting 4.5.1 kernel version, please find the output of uname -a below.

#uname -a
#Linux onehop-for-docker-testing 4.5.1-std-1 #1 SMP Mon Apr 18 19:58:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Rahul91 avatar Jun 20 '16 07:06 Rahul91

Same here.

fdattein avatar Dec 18 '16 01:12 fdattein

Same

BonBonSlick avatar Aug 31 '18 15:08 BonBonSlick