LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-13-2015, 04:01 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Problem to upgrade VirtualBox


Hi all,

OS Ubuntu 14.04 desktop 64bit
Current VirtualBox Version 4.3.32 r103443

I have
virtualbox-5.0_5.0.10-104061-Ubuntu-trusty_amd64.deb
Oracle_VM_VirtualBox_Extension_Pack-5.0.10-104061.vbox-extpack

download on Internet while I started VirtualBox Manager. But I was unable to install it running Ubuntu Software Center.

Please advise whether there is another way to upgrade my current version to virtualbox-5.0_5.0.10-104061?

Thanks

Regards
satimis
 
Old 11-13-2015, 04:07 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
I'm taking it that, as you have over 3,500 posts, you are experienced enough to be familiar with the CLI.

From the command line/in a terminal window, as root:

Code:
dpkg -i virtualbox-5.0_5.0.10-104061-Ubuntu-trusty_amd64.deb
Again, as with the experience I would think you would have, I don't know why you downloaded the packages, rather than following the Debian based repository instructions at https://www.virtualbox.org/wiki/Linux_Downloads. Then it's a simple upgrade via apt-get, Ubu Software Center or Synaptic. That will give you easier access to future updates as well.

Last edited by goumba; 11-13-2015 at 04:08 AM.
 
Old 11-13-2015, 04:09 AM   #3
stexnix
LQ Newbie
 
Registered: Nov 2015
Distribution: Fedora23
Posts: 7

Rep: Reputation: Disabled
have you tried add the virtualbox repo and update it from there ? (see link step 3 Addition)

http://ubuntuhandbook.org/index.php/...4-14-04-12-04/

Edit:
seems like goumba was faster
 
Old 11-13-2015, 04:23 AM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by goumba View Post
I'm taking it that, as you have over 3,500 posts, you are experienced enough to be familiar with the CLI.

From the command line/in a terminal window, as root:

Code:
dpkg -i virtualbox-5.0_5.0.10-104061-Ubuntu-trusty_amd64.deb
Again, as with the experience I would think you would have, I don't know why you downloaded the packages, rather than following the Debian based repository instructions at https://www.virtualbox.org/wiki/Linux_Downloads. Then it's a simple upgrade via apt-get, Ubu Software Center or Synaptic. That will give you easier access to future updates as well.
Hi,

Thanks for your advice.

When I started VM it automatically asked to download the new version. After clicking download it took over the control. After download finished it automatically start the Ubuntu Software Center to install the package and finally popup an error, unable to install.

Besides this VM has been running several years and I can't recall exactly whether at the beginning I installed it on repo or download it on Oracle website? It there anyway to check? Thanks

satimis
 
Old 11-13-2015, 04:25 AM   #5
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
I can't recall exactly whether at the beginning I installed it on repo or download it on Oracle website? It there anyway to check?
The only way to find out if it was installed by using a package is to use the package manager. That will only tell you if you used a package to do so.

Code:
dpkg -l | grep -i virtualbox
-i is for a case insensitive match, in case the package at one time used different case.

Like I said, follow the instructions to add the repository, and you'll be set for this, as well as future updates.

Last edited by goumba; 11-13-2015 at 04:28 AM.
 
Old 11-13-2015, 04:39 AM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi goumba,

Before reading your late posting I have clicked https://www.virtualbox.org/wiki/Linux_Downloads.

It download the package and then popup
Code:
VirtualBox
virtualbox-5.0

Breaks existing package 'virtualbox-4.3' that conflict: 'virtualbox'. But the '/tmp/virtualbox-5.0_5.0.10-104061-Ubuntu-trusty_amd64.deb' provides it via: 'virtualbox'

Error
 
Old 11-13-2015, 04:43 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by goumba View Post
The only way to find out if it was installed by using a package is to use the package manager. That will only tell you if you used a package to do so.

Code:
dpkg -l | grep -i virtualbox
-i is for a case insensitive match, in case the package at one time used different case.

Like I said, follow the instructions to add the repository, and you'll be set for this, as well as future updates.
dpkg -l | grep -i virtualbox
Code:
ii  unity-scope-virtualbox                                0.1+13.10.20130723-0ubuntu1                         all          VirtualBox scope for Unity
ri  virtualbox-4.3                                        4.3.32-103443~Ubuntu~raring                         amd64        Oracle VM VirtualBox
 
Old 11-13-2015, 04:52 AM   #8
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
First, you gave the wrong version. According to your dpkg output, you either:

1) Have Ubuntu 13.04, not 14.04 installed.
2) Somehow managed to install the wrong version of VirtualBox on 14.04.

Fix the line in sources.list where you added the repository above, to match the ubuntu lines. If they say raring, make the virtualbox line say raring. If you have truty, make it trusty.

Do that, then try again.

You can NOT install a trusty package, neither by repository nor by file, on raring. If you are in fact running raring and there is no version 5.x for raring, then sorry - you're out of luck.
 
Old 11-13-2015, 05:43 AM   #9
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by goumba View Post
First, you gave the wrong version. According to your dpkg output, you either:

1) Have Ubuntu 13.04, not 14.04 installed.
2) Somehow managed to install the wrong version of VirtualBox on 14.04.
.....
-> Settings -> Details
Code:
ubuntu 14.04 LTS

Memory 31.3 GiB
Processor AMD FX(tm)-8320 Eight-Core Processor × 8
Graphics GeForce GT 730/PCIe/SSE2
OS type 64-bit
Disk 974.3 GB
satimis
 
Old 11-13-2015, 05:44 AM   #10
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Then it's #2, you somehow managed to install virtualbox for the wrong version of ubuntu.
Code:
apt-get remove virtualbox-4.3
try again.

Last edited by goumba; 11-13-2015 at 05:45 AM.
 
Old 11-13-2015, 05:58 AM   #11
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by goumba View Post
Then it's #2, you somehow managed to install virtualbox for the wrong version of ubuntu.
Code:
apt-get remove virtualbox-4.3
try again.
The VMs are retained on;
ls /home/satimis/VirtualBox\ VMs/
Code:
HAProxy         music_pc1a       ub1404dkssd1t_00   wp00pc1a
lamp00pc1a      ub1404dkpc1a_00  ub1404server1t_00  wp412_ub1404server_00
lesousvidepc1a  ub1404dkpc1a_01  ub1404server1t_01
load_balancing  ub1404dkpc1a_02  ub1404server1t_02
localsites      ub1404dkpc1a_03  websites-cloned
After run "apt-get remove virtualbox-4.3" to delete the current version of VirtualBox what I shall do with them?

Edit
====
apt-cache policy virtualbox-4.3
Code:
virtualbox-4.3:
  Installed: 4.3.32-103443~Ubuntu~raring
  Candidate: 4.3.34-104062~Ubuntu~raring
  Version table:
     4.3.34-104062~Ubuntu~raring 0
        500 http://download.virtualbox.org/virtualbox/debian/ trusty/contrib amd64 Packages
 *** 4.3.32-103443~Ubuntu~raring 0
        100 /var/lib/dpkg/status
satimis

Last edited by satimis; 11-13-2015 at 06:01 AM.
 
Old 11-13-2015, 07:18 AM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by satimis View Post
After run "apt-get remove virtualbox-4.3" to delete the current version of VirtualBox what I shall do with them?
Leave them alone if you wish to keep those VMs.
 
Old 11-13-2015, 07:35 AM   #13
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
If you leave the VMs in place, then you should be able to use them when you succeed in upgrading.

Again, remove the old package and try again installing the new and post what happens.

Last edited by goumba; 11-13-2015 at 07:36 AM.
 
Old 11-13-2015, 09:53 AM   #14
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
VMs are self-contained in your home directory. Uninstalling VirtualBox will not affect them.

Just uninstall 4.3, install 5.0, and everything will continue like normal.
 
Old 11-15-2015, 07:52 AM   #15
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi all,

I'm prepared to install vituralbox-5.0 on repo as advised instead of the download package.

$ apt-cache policy virtualbox-5.0
Code:
virtualbox-5.0:
  Installed: (none)
  Candidate: 5.0.10-104061~Ubuntu~trusty
  Version table:
     5.0.10-104061~Ubuntu~trusty 0
        500 http://download.virtualbox.org/virtualbox/debian/ trusty/contrib amd64 Packages
virtualbox-5.0 is on repo

$ apt-cache policy virtualbox
Code:
virtualbox:
  Installed: (none)
  Candidate: 4.3.10-dfsg-1ubuntu5
  Version table:
     4.3.10-dfsg-1ubuntu5 0
        500 http://hk.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/multiverse amd64 Packages
     4.3.10-dfsg-1 0
        500 http://hk.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages
Whether perform following steps to remove the running Virualbox-4.3.32 and install the repo package virtualbox-5.0 ?

$ sudo apt-get remove virtualbox-4.3.32
$ sudo apt-get update
$ sudo apt-get install virtualbox-5.0

Thanks

Regards
satimis

Last edited by satimis; 11-15-2015 at 07:57 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no network with wheezy upgrade on virtualbox XicKy Debian 1 08-10-2013 01:05 AM
VirtualBox won't run after upgrade to slackware64 current Ook Slackware 9 06-18-2011 07:13 AM
[SOLVED] VirtualBox PUEL reverts to OSE after Ubuntu upgrade Girts Linux - Virtualization and Cloud 1 11-01-2009 04:52 AM
Ubuntu 8.04 upgrade to 8.10 ate my VirtualBox floppy? brianpbarnes Linux - Software 1 01-27-2009 03:31 PM
Upgrade to Virtualbox 2.0.6 TL_CLD Slackware 2 11-27-2008 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration