Skip to content

[Bug]: VirtualBox 7.2 fails to install on Ubuntu 26.04 #648

@abulygin

Description

@abulygin

Version

7.2.8

Host OS Type

Linux

Host OS name + version

Ubuntu 26.04 LTS

Host Architecture

x86

Guest OS Type

Windows

Guest Architecture

x86

Guest OS name + version

Windows 11

Component

Unspecified

What happened?

Product: Oracle VM VirtualBox
Version: 7.2 (specifically 7.2.8-173730Ubuntunoble)
Operating System: Ubuntu 26.04 "Resolute Raccoon"
Architecture: amd64

Description

Attempting to install virtualbox-7.2 on a fresh installation of Ubuntu 26.04 fails due to unsatisfied dependencies. The primary issue appears to be that the VirtualBox package metadata requires a package named libxml2, which is not available or cannot be installed from the Ubuntu 26.04 repositories.

Expected Result

The apt package manager should resolve all dependencies and successfully install VirtualBox 7.2.

Actual Result

The installation fails, and apt reports that it cannot satisfy the dependencies. The following error message is displayed:

sudo dpkg -i virtualbox-7.2_7.2.8-173730~Ubuntu~noble_amd64.deb
[sudo: authenticate] Password:         
Selecting previously unselected package virtualbox-7.2.
(Reading database… 235669 files and directories currently installed.)
Preparing to unpack virtualbox-7.2_7.2.8-173730~Ubuntu~noble_amd64.deb…
Unpacking virtualbox-7.2 (7.2.8-173730~Ubuntu~noble)…
dpkg: dependency problems prevent configuration of virtualbox-7.2:
 virtualbox-7.2 depends on liblzf1 (>= 1.5); however:
  Package liblzf1 is not installed.
 virtualbox-7.2 depends on libtpms0 (>= 0.8.0~dev1); however:
  Package libtpms0 is not installed.
 virtualbox-7.2 depends on libvpx9 (>= 1.12.0); however:
  Package libvpx9 is not installed.
 virtualbox-7.2 depends on libxml2 (>= 2.7.4); however:
  Package libxml2 is not installed.

dpkg: error processing package virtualbox-7.2 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.43-2ubuntu2)…
Processing triggers for gnome-menus (3.38.1-1ubuntu1)…
Processing triggers for desktop-file-utils (0.28-1build1)…
Processing triggers for hicolor-icon-theme (0.18-2build1)…
Processing triggers for shared-mime-info (2.4-5build3)…
Errors were encountered while processing:
 virtualbox-7.2

How can we reproduce this?

Download latest package https://download.virtualbox.org/virtualbox/7.2.8/virtualbox-7.2_7.2.8-173730~Ubuntu~jammy_amd64.deb

sudo dpkg -i virtualbox-7.2_7.2.8-173730~Ubuntu~noble_amd64.deb

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions