virtualbox failed Solved
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
virtualbox failed Solved
Good Evening I been using linux mint for a few weeks now and thought I'd start to install Virtualbox so after watching a could of YT videos I downloaded virtualbox 6.1.10 and the Ubuntu 1804-19.04-19.10 to downloads. I then installed from downloads but the install failed from the synaptic packet manager I tried to uninstall it but that also failed so i'm now stuck in the middle would appreciate so advice please.
Last edited by sevenmpd on Thu Jun 11, 2020 3:55 pm, edited 1 time in total.
Re: virtualbox failed
Yeah that does happen. Ubuntu comes configured for Virtualbox 5. Some of the sub-packages needed for it will conflict with Virtualbox 6.
First do this
Then try reinstalling the Virtualbox 6 you downloaded.
Then
The last one is needed to recompile kernel modules to make it work with Virtualbox 6.
First do this
Code: Select all
sudo apt remove virtualbox virtualbox-guest-additions-iso virtualbox-dkms
Then
Code: Select all
sudo apt install dkms
sudo /sbin/vboxconfig
Re: virtualbox failed
Entered the first line of code and attempted to re-install VB but it again failed had the idea to the failure report maybe of help
Re: virtualbox failed
Did you follow the instructions listed in your
VB fail.odt
document?Code: Select all
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.
Re: virtualbox failed
Or install using the instructions posted by gm10 in this topic (2nd post):
viewtopic.php?f=47&t=307595&p=1754953&h ... x#p1754953
viewtopic.php?f=47&t=307595&p=1754953&h ... x#p1754953
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
Re: virtualbox failed
Thanks all for advice re failed instructions ran the script resulting
harry@harry-SATELLITE-L50-C:~$ /sbin/vboxconfig
bash: /sbin/vboxconfig: No such file or directory
Look at both posts and tried various suggestions for install to no avail .
harry@harry-SATELLITE-L50-C:~$ /sbin/vboxconfig
bash: /sbin/vboxconfig: No such file or directory
Look at both posts and tried various suggestions for install to no avail .
Re: virtualbox failed
You appear to have missed the bit where it stated
To re-start the set-up process, run
/sbin/vboxconfig
as root.
That means you need to run
sudo /sbin/vboxconfig
. That sudo
is important.I suspect that it's something small like this which was overlooked and is preventing your installation from succeeding. But if you don't provide more details, there's not much we can do to assist?
Re: virtualbox failed
You would be far better off purging virtualbox completely from your system (use synaptic) and installing using the instructions given in the link in my post. It is only four lines in a terminal!
All you have to do is copy/paste the lines one at a time into a terminal.
Code: Select all
echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib" | sudo tee -a /etc/apt/sources.list
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
apt update
apt install virtualbox-6.1
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
Re: virtualbox failed
this is an very common VirtualBox issue,
and the Normal Fix is to to run
- - which is an message, that is often given by the VirtualBox program, itself.
the same issue, can often arise, after any Linux Kernel update, as well.
and the Normal Fix is to to run
sudo /sbin/vboxconfig
- - which is an message, that is often given by the VirtualBox program, itself.
the same issue, can often arise, after any Linux Kernel update, as well.

Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Re: virtualbox failed
When I run sudo /sbin/vboxconfig I get
sudo: /sbin/vboxconfig: command not found
I have tried purging virtualbox completely via synaptic packet manager but as I said earlier it gets so far and then generates a error message which I was going to copy however I now find I cannot open the synaptic packet manager I get I get then feeling i'm going to need a fresh install of mint
sudo: /sbin/vboxconfig: command not found
I have tried purging virtualbox completely via synaptic packet manager but as I said earlier it gets so far and then generates a error message which I was going to copy however I now find I cannot open the synaptic packet manager I get I get then feeling i'm going to need a fresh install of mint

Re: virtualbox failed
There is, if I recall correctly*, an option in Synaptic to "fix broken packages". Have you tried that?
* I haven't needed it for some time & I'm not on my Mint system at the momemt so will need to run up a VM to check.
* I haven't needed it for some time & I'm not on my Mint system at the momemt so will need to run up a VM to check.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 8GB - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...
Re: virtualbox failed
BG405 thanks for the suggestion but as I have said above I cannot open Synaptic
Re: virtualbox failed
Ah, I just read your prior post properly .. thought from the pics it was actually opening but getting stuck when you tried to install or remove.
Try this in a Terminal:
If it returns anything other than a blank prompt, you need to delete it:
.. then create a new blank one:
Don't put anything in the file; simply CTRL+O to write and CTRL+X to exit the nano text editor. Then try Synaptic again.
Try this in a Terminal:
Code: Select all
sudo cat /var/lib/dpkg/lock
Code: Select all
sudo rm -rf /var/lib/dpkg/lock
Code: Select all
sudo nano /var/lib/dpkg/lock
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 8GB - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...
Re: virtualbox failed
Many thanks to all I have solved the later part of my problem by reinstalling mint as for virtualbox think I'll give it a miss !