Install virtualbox error

Hello, how can I fix this?

/usr/bin/zsh
[sysmaint~]% sudo apt install virtualbox
Solving dependencies… Error!
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 to resolve the situation:
Unsatisfied dependencies:
virtualbox: Depends: libvpx11 (>= 1.12.0) but it is not installable
Depends: libxml2-16 (>= 2.14.1) but it is not installable
Recommends: virtualbox-qt (= 7.2.2-dfsg-2) but it is not going to be installed
Error: Unable to correct problems, you have held broken packages.
Error: The following information from --solver 3.0 may provide additional context: Unable to satisfy dependencies. Reached two conflicting decisions:

  1. virtualbox:amd64=7.2.2-dfsg-2 is selected for install
  2. virtualbox: amd64 Depends libvpx11 (>= 1.12.0)
    but none of the choices are installable:
    [no choices]
    zsh: exit 100 sudo apt install virtualbox

Probably Release Upgrade from version 17 (bookworm based) release to version 18 (trixie based) release.

This is a bug in the latest version of kicksecure. I upgraded from version 17 to version 18 and tried to install a clean version 18, the error repeats. In version 17, everything works fine.

I can confirm this in version 18 -(testers ISO was used ) and recvd the same error.

Also ran clean install of version 18.0.8.7 release and same error as above.

Which installation instructions did you use? Unfortunately, installation of VirtualBox is difficult. [1]

As Kicksecure user, you can use virtualbox-installer-cli, which is installed by default:

virtualbox-installer-cli

See also:


Alternatively, this could be done manually using instructions install VirtualBox from the virtualbox.org repository.


[1] VirtualBox Unavailable in Debian stable and backports due to Debian Stable Security Maintenance Issues

3 Likes

Ran the above script (virtualbox-installer-cli) and installed VirtualBox with no errors.

3 Likes

The virtualbox-installer-cli command worked, but what command can I use to uninstall virtualbox now?

sudo apt purge "virtualbox*"
1 Like