Cannot upgrade from 5.0.24 to 5.1.0

Discussions related to using VirtualBox on Linux hosts.
Post Reply
sunrider
Posts: 15
Joined: 10. Sep 2015, 11:45

Cannot upgrade from 5.0.24 to 5.1.0

Post by sunrider »

Host Ubuntu 14.04 64bit with VBox 5.0.24 installed.
Opening virtualbox-5.1_5.1.0-108711~Ubuntu-trusty_amd64.deb with Ubuntu Software Center yields error message:
"Breaks existing package 'virtualbox-5.0' that conflict: 'virtualbox'. But the '/home/[...]/virtualbox-5.1_5.1.0-108711~Ubuntu-trusty_amd64.deb' provides it via: 'virtualbox'."

I have been using VBox back since some version 3 and there have never been problems or any such errors with any VBox upgrade installed through Software Center.

Anybody have a clue what the problem is here?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot upgrade from 5.0.24 to 5.1.0

Post by Perryg »

Use dpkg instead. Ubuntu package manager does this often.
sunrider
Posts: 15
Joined: 10. Sep 2015, 11:45

Re: Cannot upgrade from 5.0.24 to 5.1.0

Post by sunrider »

Perryg wrote:Use dpkg instead. Ubuntu package manager does this often.
Basically the same error is presented when using dpkg.
Is it advisable to use --force-conflicts ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot upgrade from 5.0.24 to 5.1.0

Post by Perryg »

I would remove the original then before installing and still use dpkg. Since you already had 5.-.* I don't think any new packages need to be installed but you can use the -f flag to bring in any missing package/s
VBoxVM
Posts: 11
Joined: 14. Jul 2016, 09:28
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Debian
Contact:

Re: Cannot upgrade from 5.0.24 to 5.1.0

Post by VBoxVM »

It is necessary to remove the old version and install a new one.
supergrass
Posts: 1
Joined: 5. Aug 2016, 05:31

Re: Cannot upgrade from 5.0.24 to 5.1.0

Post by supergrass »

VBoxVM wrote:It is necessary to remove the old version and install a new one.
In addition to VBoxVM's suggestion, I had to clean up the old Virtual Box library which was left after removing in software center.

Google "cleaning up your ubuntu installation" (stchman...cleanup is the link) Can't post a link as a new member!!
Post Reply