Installing Virtualbox [Solved]

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
busdriver12
Level 3
Level 3
Posts: 182
Joined: Mon Aug 12, 2019 9:34 am
Location: Perth WA
Contact:

Installing Virtualbox [Solved]

Post by busdriver12 »

I've been thinking for a while about installing a VM mainly to look at other distros. After a bit of research I decided on VirtualBox. After navigating to the download page I was presented with various flavours of Ubuntu, so determine which one 20.1 was based on I consulted inxi:

Code: Select all

inxi -Fxz
System:    Kernel: 5.4.0-73-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 
           Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
and I determine it's based on Ubuntu 20.04 which is the version I download (virtualbox-6.1_6.1.22-144080~Ubuntu~eoan_amd64.deb). When I start to install it I am presented with a warning from the installer that it wants to remove/install packages:
Screenshot from 2021-05-17 20-40-26.png
When I click on details I am shown:
Screenshot from 2021-05-17 20-39-57.png
Screenshot from 2021-05-17 20-39-57.png (19.25 KiB) Viewed 4712 times
It appears that it wants to remove python3 and replace with python2 (which appears to be a downgrade). Am I misunderstanding what's happening? Is it OK to proceed?

TIA for any comments/advice
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Phil

Linux Mint 21.3
Cinnamon 6.0.4
User avatar
Pierre
Level 21
Level 21
Posts: 13223
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Installing Virtualbox

Post by Pierre »

it's normal to have an few files to update or remove or downgrade.
- -- it's trusting that it will all work, that is the main worry.
it usually does.

there has been an few reports of VirtualBox not working on LM20.1 series,
but since I've still running on LM20.0 .. I've not seen that particular error.

the VB version that I'm running is Ubuntu 19.10 / 20.04 / 21.04
(virtualbox-6.1_6.1.22-144080~Ubuntu~eoan_amd64.deb)
on my other Laptop & is their v6.1 series.

you do need at least 8Gb of memory available for the Host machine,
as you do need to give about 45% of that to the Guest System.

there has also been some issues in running the win-10 system in the latest VB version,
and I've not successfully resolved that issue, on an LinuxMint Host,
and thus had to use the same VB version on win-10 itself, as the Host system,
in order to resolve that win-10 Guest Internet Issue.
:o

it would seem that other Systems, both Linux systems & those older windows systems,
are fine under that LinuxMint Host system.

you will also find that YMMV with your VirtualBox setup,
and it's another area to play around with.
Image
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!.
User avatar
busdriver12
Level 3
Level 3
Posts: 182
Joined: Mon Aug 12, 2019 9:34 am
Location: Perth WA
Contact:

Re: Installing Virtualbox

Post by busdriver12 »

Pierre wrote: Mon May 17, 2021 9:11 am it's normal to have an few files to update or remove or downgrade.
- -- it's trusting that it will all work, that is the main worry.
it usually does.
Thanks Pierre. I'll bite the bullet and try it tomorrow night as I have a scheduled weekly Timeshift backup happening later this evening.
Pierre wrote:there has been an few reports of VirtualBox not working on LM20.1 series,
but since I've still running on LM20.0 .. I've not seen that particular error.
I'll let you know how I get on
Phil

Linux Mint 21.3
Cinnamon 6.0.4
RIH
Level 9
Level 9
Posts: 2892
Joined: Sat Aug 22, 2015 3:47 am

Re: Installing Virtualbox

Post by RIH »

I just downloaded the VirtualBox deb file (from your link) for Ubuntu 20.04 etc. (in a VB guest of Mint 20.1)
It installed perfectly with no removals but 5 editions - see below
vb.png
Did you get to Mint 20.1 by updating from Mint 20.0 (or even from Mint 19.x) ?

Despite Pierre's reading that VB has issues with 20.1, personally I have had none at all.
I installed 20.1 as new & then installed VirtualBox (from where your link is, as well) & then transferred over my guests that I had created in 19.3 & it all worked flawlessly...
Image
User avatar
Pierre
Level 21
Level 21
Posts: 13223
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Installing Virtualbox

Post by Pierre »

well - - that's some good news, at least.
8)

my HP Laptop is the main Play Machine,
with it's new & bigger 1Tb HDD,
that dual_boot with both win-10 & LM20 upon it.

there is an VirtualBox 6.1 series on both systems,
although the bulk of the Guest systems are under the LinuxMint Host System.

it was only the win-10 Guest system, that got moved over to the win-10 host,
as I've not resolved the Internet connection failure, under the LinuxMint Host System.
- - there is no Internet issue, with the other Guest System, on the LinuxMint Host System,
which is confusing at best, and I've Google'd extensively about that Internet connectivity issue . .
:roll:
Image
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!.
User avatar
spamegg
Level 14
Level 14
Posts: 5091
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Installing Virtualbox

Post by spamegg »

python-is-python2 will point the python command to Python 2, and it can break a lot of things in a system (Mint 20) that relies on Python and expects the python command to be pointing to the Python 3 executable.

I simply installed Virtualbox from the repos and it doesn't do that.

Code: Select all

 ➜ sudo apt install virtualbox
[sudo] password for spamegg:        
Reading package lists... Done
Building dependency tree       
Reading state information... Done
virtualbox is already the newest version (6.1.16-dfsg-6~ubuntu1.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
python-is-python2 is NOT installed:

Code: Select all

 ➜ sudo apt search python-is-python2
p   python-is-python2                                      - symlinks /usr/bin/python to the DEPRECATED python2               
v   python-is-python2:any                                  -                                                                  
User avatar
AZgl1800
Level 20
Level 20
Posts: 11180
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Installing Virtualbox

Post by AZgl1800 »

I'm on 19.3 Cinnamon, so different OS.

using VirtualBox Graphical User Interface
Version 6.1.22 r144080 (Qt5.9.5)


all works in this pix

VBstuff.png
VBstuff.png (31.93 KiB) Viewed 4625 times
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
wallyUSA
Level 6
Level 6
Posts: 1439
Joined: Thu Jun 08, 2017 2:31 pm
Location: Top of Georgia

Re: Installing Virtualbox

Post by wallyUSA »

Just installed Vbox on a new lm 20.1
LMDE 4 running in Vbox, no issues!
> If your query has been resolved, edit your original post and add <SOLVED> to the beginning of the subject line. This may help others find solutions. <

Dell Latitude 7490 Mint 21.3 Ker 5.15.0-105 Cinn 6.0.4
User avatar
busdriver12
Level 3
Level 3
Posts: 182
Joined: Mon Aug 12, 2019 9:34 am
Location: Perth WA
Contact:

Re: Installing Virtualbox

Post by busdriver12 »

spamegg wrote: Mon May 17, 2021 11:09 am python-is-python2 will point the python command to Python 2, and it can break a lot of things in a system (Mint 20) that relies on Python and expects the python command to be pointing to the Python 3 executable.

I simply installed Virtualbox from the repos and it doesn't do that.
I installed mine from the file I downloaded from VirtualBox. I have noticed that it has reverted to python2:

Code: Select all

phil@Home-PC:~$ apt policy python-is-python2
python-is-python2:
  Installed: 2.7.17-4
  Candidate: 2.7.17-4
  Version table:
 *** 2.7.17-4 500
        500 http://mirror.aarnet.edu.au/pub/ubuntu/archive focal/universe amd64 Packages
        500 http://mirror.aarnet.edu.au/pub/ubuntu/archive focal/universe i386 Packages
        100 /var/lib/dpkg/status
phil@Home-PC:~$ apt policy python-is-python3
python-is-python3:
  Installed: (none)
  Candidate: 3.8.2-4
  Version table:
     3.8.2-4 500
        500 http://mirror.aarnet.edu.au/pub/ubuntu/archive focal/main amd64 Packages
        500 http://mirror.aarnet.edu.au/pub/ubuntu/archive focal/main i386 Packages
I'll keep an eye on it and may revert back to previous state and try this approach.

Thanks everyone :)
Phil

Linux Mint 21.3
Cinnamon 6.0.4
User avatar
AndyMH
Level 21
Level 21
Posts: 13741
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Installing Virtualbox

Post by AndyMH »

I haven't used python-is-python2, but explicitly created a symlink for python2. I've yet to encounter a problem with a lot of software installed, inc. virtualbox.

You are better installing virtualbox direct from oracle - you get the latest. The easiest way is downloading the deb, but you don't get updates. You can also install from a terminal with:

Code: Select all

    echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian focal contrib" | sudo tee -a /etc/apt/sources.list 
    wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - 
    sudo apt update 
    sudo apt install -y virtualbox-6.1
You can find these instructions repeated at https://www.virtualbox.org/wiki/Linux_Downloads. This is what I do and you get updates.

For a complete VB installation you also need to install the extension pack and install guest-additions in whatever OS you are running in a VM.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
busdriver12
Level 3
Level 3
Posts: 182
Joined: Mon Aug 12, 2019 9:34 am
Location: Perth WA
Contact:

Re: Installing Virtualbox

Post by busdriver12 »

I thought I'd mention that VirtualBox installed fine and I don't appear to have encountered any Python issues so far.

I've successfully setup Manjaro KDE and Mageia. Thanks to everyone for their help/input :)
Phil

Linux Mint 21.3
Cinnamon 6.0.4
RIH
Level 9
Level 9
Posts: 2892
Joined: Sat Aug 22, 2015 3:47 am

Re: Installing Virtualbox

Post by RIH »

Good news, Phil..

Can you go back to your original post & edit it (that is using the 'pencil' icon on the right) to add the word 'Solved" at the start or end of the original title?

That way, anyone with a similar problem in the future, searching the Form, can see that this topic should be worth a look.. :D
Image
Locked

Return to “Virtual Machines”