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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-13-2015, 05:01 AM
|
#1
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
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
|
|
|
11-13-2015, 05:07 AM
|
#2
|
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
|
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 05:08 AM.
|
|
|
11-13-2015, 05:09 AM
|
#3
|
LQ Newbie
Registered: Nov 2015
Distribution: Fedora23
Posts: 7
Rep:
|
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
|
|
|
11-13-2015, 05:23 AM
|
#4
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Quote:
Originally Posted by goumba
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
|
|
|
11-13-2015, 05:25 AM
|
#5
|
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
|
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 05:28 AM.
|
|
|
11-13-2015, 05:39 AM
|
#6
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
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
|
|
|
11-13-2015, 05:43 AM
|
#7
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Quote:
Originally Posted by goumba
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
|
|
|
11-13-2015, 05:52 AM
|
#8
|
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
|
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.
|
|
|
11-13-2015, 06:43 AM
|
#9
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Quote:
Originally Posted by goumba
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
|
|
|
11-13-2015, 06:44 AM
|
#10
|
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
|
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 06:45 AM.
|
|
|
11-13-2015, 06:58 AM
|
#11
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Quote:
Originally Posted by goumba
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 07:01 AM.
|
|
|
11-13-2015, 08:18 AM
|
#12
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by satimis
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.
|
|
|
11-13-2015, 08:35 AM
|
#13
|
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
|
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 08:36 AM.
|
|
|
11-13-2015, 10:53 AM
|
#14
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
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.
|
|
|
11-15-2015, 08:52 AM
|
#15
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
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 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 08:57 AM.
|
|
|
All times are GMT -5. The time now is 09:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|