Page 1 of 1

problems installing...

Posted: 20. Aug 2020, 00:46
by Stefler
I have ubuntu 20.04 dualbooted with windows 10

Code: Select all

sudo add-apt-repository " ***************** bionic contrib "
I get this error

Code: Select all

 sudo apt-get install virtualbox-5.2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 virtualbox-5.2 : Depends: libcurl3 (>= 7.16.2) but it is not installable
                  Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
                  Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
                  Depends: libvpx3 (>= 1.5.0) but it is not installable
                  Recommends: libsdl-ttf2.0-0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I believe I followed the wiki properly..

Re: problems installing...

Posted: 20. Aug 2020, 14:43
by scottgus1
I think the error message looks clear. There's dependencies that your host OS no longer has available.

Regrettably, I don't know what wiki you're referring to, nor what this means:
Stefler wrote:

Code: Select all

sudo add-apt-repository " ***************** bionic contrib "
Are you obfuscating something?

However, based on this:
Stefler wrote: sudo apt-get install virtualbox-5.2
I'm going to guess that unless you have specifically pointed your repository for Virtualbox to official www.virtualbox.org Virtualbox via the command on https://www.virtualbox.org/wiki/Linux_Downloads, then you're pulling a fork of Virtualbox, and an old fork at that. Forks may be modified from the official version and we don't know what modifications were made. We recommend official Virtualbox for Linux.

Re: problems installing...

Posted: 20. Aug 2020, 18:59
by fth0
Stefler wrote:I believe I followed the wiki properly..
Almost. Try focal (or eoan) instead of bionic. ;)

@scottgus1:
In Ubuntu based Linux distributions (e.g. Ubuntu ..., Linux Mint), the (main) distribution package is named virtualbox, whereas the Oracle provided packages are named virtualbox-5.2, virtualbox-6.0 and virtualbox-6.1. So we are dealing with the Oracle version here.