I have VirtualBox 3.0.12 r54655 installed on my ubuntu 64bit desktop machine. When i launched the virtual box, it prompted that there is an update available and pointed me to download the .deb file virtualbox-3.1_3.1.2-56127_Ubuntu_jaunty_amd64.deb and i downloaded the same.
 
When i right clicked on the file and selected "Open with GDebi Package Installer", it is giving me the following error message
 
Error: Conflicts with the installed package 'virtualbox-3.0'
 
and the Install Package button is disabled. package is showing as "virtualbox-3.1"
How to fix this so that i can upgrade to the newer version of virtual box?

No answers, votes, 6728 views
Visitor's picture
asked by Visitor
2 years 2 weeks ago



No Answers

Answer

Here is how i solved the problem
 
Since i know the problem is due to old version virtual box 3.0 conflict, i decided to uninstall it first
 
sudo apt-get remove virtualbox
 
I know my old settings are safe under .VirtualBox in my home directory. For safety, you can back this folder /home/joe/.VirtualBox (If this directory not showing up, you may want to enable to show hidden files. Also replace 'joe' with your username)
 
Now i right click on the virtualbox-3.1_3.1.2-56127_Ubuntu_jaunty_amd64.deb file and choose install package and the install went successful without any glitch.
 
After install, i went and checked all my old virtual machines are ok and they worked great. Hope this helps.

Visitor's picture
answer by Visitor
2 years 2 weeks ago
  • I got the same message when trying to upgrade from 3.1 to 3.2.  I had to remove 3.1 using dpkg though.

    - Visitor 1 year 33 weeks ago
  • This trick worked for me. I did have to change the command line a little though:
    sudo apt-get remove virtualbox-3.0

    - Visitor 2 years 2 weeks ago
  • Ubuntu 11.04 released!

    Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

    Read ubuntu 11.10 reviews and share yours now!!

    View in your own language!

    Stay Connected

    Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds

    Poll

    Favorite desktop environment?: