You are not logged in.

#1 2020-03-03 13:02:46

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Virtual Box installation error [SOLVED]

Tried to install the last version ( virtualbox-6.1_6.1.4-136177_Debian_buster_amd64.deb )  of VirtualBox on my new clean Lithium installation.

I installed it using sudo dpkg -i and package name
NOte : does dpkg -i install necessary dependencies if needed ??

https://i.imgur.com/YygBi5X.png

Had an error and was asked to run : sudo /sbin/vboxconfig

Someone went through this ?


When doing what is recommended  :

yoda@bunsen-desktop:~$ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
    linux-headers-amd64 linux-headers-4.19.0-8-amd64
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
    linux-headers-amd64 linux-headers-4.19.0-8-amd64

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

Last edited by yoda (2020-03-03 16:15:40)


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#2 2020-03-03 16:15:23

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Re: Virtual Box installation error [SOLVED]

I fixed it :

1) sudo apt install linux-headers-amd64 linux-headers-4.19.0-8-amd64

2) sudo /sbin/vboxconfig

Yoda


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#3 2020-03-03 20:14:35

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 760

Re: Virtual Box installation error [SOLVED]

yoda wrote:

Tried to install the last version ( virtualbox-6.1_6.1.4-136177_Debian_buster_amd64.deb )  of VirtualBox on my new clean Lithium installation.

I installed it using sudo dpkg -i and package name
NOte : does dpkg -i install necessary dependencies if needed ??

glasses The 'dpkg' is not the way to install packages on debian. Normally, you should 99.9999% of time use 'apt install'. It will take into account all dependencies, and all other stuff (like starting the service) for you. 'dpkg' will not.

The 'dpkg' is used in very special instances, and you should know what you are doing, and how to fix system if it gets broken.

EDIT: I suppose you are on BL Lithium ... and I understand why you did it; you wanted the newest version of VirtualBox. The proper way to get VirtualBox 6.1 on debian-buster (Debian 10) is described on VirtualBox web pages here. The advantage of this that the installed VirtualBox will be updated as new 6.1 versions are out.

Last edited by iMBeCil (2020-03-03 20:21:05)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#4 2020-03-03 20:18:36

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 330

Re: Virtual Box installation error [SOLVED]

yoda wrote:

I installed it using sudo dpkg -i and package name

There is some advantages to install from repo: https://download.virtualbox.org/virtualbox/debian/ xxxxx... instead...


// Regards rbh

Offline

#5 2020-03-03 20:21:45

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 760

Re: Virtual Box installation error [SOLVED]

^Again, ninja'd by rhb ... rhb, it has to STOP!  big_smile  big_smile It is either you or me. <draws pistols ... bang bang>

Last edited by iMBeCil (2020-03-03 20:22:33)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#6 2020-03-03 20:31:26

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Re: Virtual Box installation error [SOLVED]

Tks @WAAAT?


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#7 2020-03-03 20:35:14

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 760

Re: Virtual Box installation error [SOLVED]

^Welcome you are, yoda.

BTW, it's not @WAAAT?, its iMBeCil ... same as you are yoda, and not member  wink


Postpone all your duties; if you die, you won't have to do them ..

Offline

#8 2020-03-03 20:42:09

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Re: Virtual Box installation error [SOLVED]

Question :
I ran all the commands listed in https://www.virtualbox.org/wiki/Linux_Downloads to install it the right way and to be sure it updates in the future.

Question :
as for :
sudo apt-get update
sudo apt-get install virtualbox-6.1

as it was already installed, the command report that it is already there.

As I ran all the other commands in the virtualbox sept by step, do I still need to  force an install over the other one already there, already working ?

Last edited by yoda (2020-03-03 20:42:28)


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#9 2020-03-03 20:45:29

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Re: Virtual Box installation error [SOLVED]

iMBeCil wrote:

^Welcome you are, yoda.

BTW, it's not @WAAAT?, its iMBeCil ... same as you are yoda, and not member  wink

Getting used to the forum display LOL

You speak french ???? iMBeCil  means " DUMB / STUPID" In french... You probably know ?


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#10 2020-03-03 21:20:35

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 330

Re: Virtual Box installation error [SOLVED]

yoda wrote:

As I ran all the other commands in the virtualbox sept by step, do I still need to  force an install over the other one already there, already working ?

No. Next time you run "apt update" and there is a new version in the repo, you will get a chanse to upgrade.


// Regards rbh

Offline

#11 2020-03-03 21:29:24

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 760

Re: Virtual Box installation error [SOLVED]

yoda wrote:

Question :
Question :
as for :
sudo apt-get update
sudo apt-get install virtualbox-6.1

That's because you have already installed it via 'dpkg'. Perhaps you should once run:

$ sudo apt-get install --reinstall virtualbox-6.1

to trigger all pre- and post- installation stuff. Then you are good. (If not sure, please post output you get in terminal.)

yoda wrote:

Getting used to the forum display LOL

You speak french ???? iMBeCil  means " DUMB / STUPID" In french... You probably know ?

Do I speak French? Poorly, I have lived in France one year, only (I'm from Croatia in Europe) ... But, believe me, I'm fully aware what that word means, and believe it or not, 'imbecil' or 'imbecile' means the same thing in virtually all languages smile

It is actually a letters-play joke: capital letters are my initials; it was too tempting not to add other letters to make a funny forum nick  big_smile (The actual story is a bit longer, and concerns my friends when we were young.)

Last edited by iMBeCil (2020-03-03 21:34:06)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#12 2020-03-03 21:39:40

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Re: Virtual Box installation error [SOLVED]

tks @IMBeCil for the explanation on the origin of your nickname LOL

I --reinstall VirtualBox... Went well

Good night... 4:39PM here (later for you)


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#13 2020-03-03 21:45:45

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 760

Re: Virtual Box installation error [SOLVED]

^You're welcome, good luck with further exploring linux world, in particular BunsenLabs, and good luck with programming. (22:44 at my place, still working after dinner ...)


Postpone all your duties; if you die, you won't have to do them ..

Offline

Board footer

Powered by FluxBB