VirtualBox

Opened 2 years ago

Closed 2 years ago

#20910 closed defect (fixed)

New .deb required for Ubuntu 22.04 with libssl3

Reported by: _hswong3i Owned by:
Component: installer Version: VirtualBox 6.1.32
Keywords: Ubuntu 22.04 Cc:
Guest type: other Host type: Linux

Description

Currently all of out .deb are build with libssl1.1, where Ubuntu 22.04 now shipping with libssl3 (as like as Debian experimental) only, making the installation failed. We need a new package for it.

Change History (4)

comment:1 by _hswong3i, 2 years ago

Initial failed message:

root@yaenu3vupeha-1:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04 LTS
Release:	22.04
Codename:	jammy

root@yaenu3vupeha-1:~# cat /etc/apt/sources.list.d/virtualbox.list 
deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bullseye contrib

root@yaenu3vupeha-1:~# apt -y install virtualbox-6.1
Reading package lists... Done
Building dependency tree... Done
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 to resolve the situation:

The following packages have unmet dependencies:
 virtualbox-6.1 : Depends: libssl1.1 (>= 1.1.1) but it is not installable
                  Depends: libvpx6 (>= 1.6.0) but it is not installable
                  Recommends: libsdl-ttf2.0-0 but it is not going to be installed
                  Recommends: pdf-viewer
E: Unable to correct problems, you have held broken packages.

Quick workaround by manually install Ubuntu 21.10 libssl1.1 and libvpx6:

root@yaenu3vupeha-1:~# wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.2_amd64.deb

root@yaenu3vupeha-1:~# wget http://archive.ubuntu.com/ubuntu/pool/main/libv/libvpx/libvpx6_1.9.0-1ubuntu1_amd64.deb

root@yaenu3vupeha-1:~# dpkg -i *.deb

root@yaenu3vupeha-1:~# apt -y install virtualbox-6.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libdouble-conversion3 libegl-mesa0 libegl1 libfile-basedir-perl libfile-desktopentry-perl
  libfile-mimeinfo-perl libfontenc1 libgirara-gtk3-3 libgtkd-3-0 libinput-bin libinput10
  libio-stringy-perl libipc-system-simple-perl libllvm11 libmd4c0 libmtdev1 libnet-dbus-perl
  libpcre2-16-0 libphobos2-ldc-shared98 libpoppler-glib8 libpoppler118 libqt5core5a libqt5dbus5
  libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5svg5 libqt5widgets5
  libqt5x11extras5 libsdl-ttf2.0-0 libsdl1.2debian libsynctex2 libtie-ixhash-perl libvted-3-0
  libwacom-bin libwacom-common libwacom9 libx11-protocol-perl libxaw7 libxcb-icccm4 libxcb-image0
  libxcb-keysyms1 libxcb-render-util0 libxcb-shape0 libxcb-util1 libxcb-xinerama0 libxcb-xinput0
  libxcb-xkb1 libxft2 libxkbcommon-x11-0 libxkbfile1 libxml-twig-perl libxmu6 libxxf86dga1
  qt5-gtk-platformtheme qttranslations5-l10n tilix tilix-common x11-utils x11-xserver-utils xdg-utils
  zathura zathura-pdf-poppler
Suggested packages:
  qt5-image-formats-plugins qtwayland5 libunicode-map8-perl libunicode-string-perl xml-twig-tools
  python-nautilus mesa-utils nickle cairo-5c xorg-docs-core www-browser zathura-ps zathura-djvu
  zathura-cb
The following NEW packages will be installed:
  libdouble-conversion3 libegl-mesa0 libegl1 libfile-basedir-perl libfile-desktopentry-perl
  libfile-mimeinfo-perl libfontenc1 libgirara-gtk3-3 libgtkd-3-0 libinput-bin libinput10
  libio-stringy-perl libipc-system-simple-perl libllvm11 libmd4c0 libmtdev1 libnet-dbus-perl
  libpcre2-16-0 libphobos2-ldc-shared98 libpoppler-glib8 libpoppler118 libqt5core5a libqt5dbus5
  libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5svg5 libqt5widgets5
  libqt5x11extras5 libsdl-ttf2.0-0 libsdl1.2debian libsynctex2 libtie-ixhash-perl libvted-3-0
  libwacom-bin libwacom-common libwacom9 libx11-protocol-perl libxaw7 libxcb-icccm4 libxcb-image0
  libxcb-keysyms1 libxcb-render-util0 libxcb-shape0 libxcb-util1 libxcb-xinerama0 libxcb-xinput0
  libxcb-xkb1 libxft2 libxkbcommon-x11-0 libxkbfile1 libxml-twig-perl libxmu6 libxxf86dga1
  qt5-gtk-platformtheme qttranslations5-l10n tilix tilix-common virtualbox-6.1 x11-utils
  x11-xserver-utils xdg-utils zathura zathura-pdf-poppler
0 upgraded, 65 newly installed, 0 to remove and 1 not upgraded.
Need to get 134 MB of archives.
After this operation, 384 MB of additional disk space will be used.

root@yaenu3vupeha-1:~# virtualbox --help
Oracle VM VirtualBox VM Selector v6.1.34
(C) 2005-2022 Oracle Corporation
All rights reserved.

No special options.

If you are looking for --startvm and related options, you need to use VirtualBoxVM.

root@yaenu3vupeha-1:~# systemctl status vboxdrv.service 
● vboxdrv.service - VirtualBox Linux kernel module
     Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: enabled)
     Active: active (exited) since Sat 2022-04-23 02:13:02 UTC; 1min 19s ago
    Process: 23840 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=0/SUCCESS)

Apr 23 02:13:02 yaenu3vupeha-1 systemd[1]: Starting VirtualBox Linux kernel module...
Apr 23 02:13:02 yaenu3vupeha-1 vboxdrv.sh[23840]: vboxdrv.sh: Starting VirtualBox services.
Apr 23 02:13:02 yaenu3vupeha-1 vboxdrv.sh[23858]: Starting VirtualBox services.
Apr 23 02:13:02 yaenu3vupeha-1 vboxdrv.sh[23867]: VirtualBox services started.
Apr 23 02:13:02 yaenu3vupeha-1 systemd[1]: Started VirtualBox Linux kernel module.

comment:2 by _hswong3i, 2 years ago

As your reference, Ubuntu 22.04 distro virtualbox https://packages.ubuntu.com/jammy/virtualbox is now building with:

libssl3 (>= 3.0.0~~alpha1)
    Secure Sockets Layer toolkit - shared libraries 

libvpx7 (>= 1.10.0)
    VP8 and VP9 video codec (shared library) 

comment:3 by _hswong3i, 2 years ago

https://download.virtualbox.org/virtualbox/debian/pool/contrib/v/virtualbox-6.1/virtualbox-6.1_6.1.34-150636.1~Ubuntu~jammy_amd64.deb is now available since 2022-05-19, so following test now passed:

root@yaenu3vupeha-1:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04 LTS
Release:	22.04
Codename:	jammy

root@yaenu3vupeha-1:~# cat /etc/apt/sources.list.d/virtualbox.list 
deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian jammy contrib

root@yaenu3vupeha-1:~# apt-cache depends virtualbox-6.1  |grep Depends:
 |PreDepends: debconf
  PreDepends: <debconf-2.0>
  Depends: psmisc
  Depends: adduser
  Depends: libc6
  Depends: libcurl4
  Depends: libdevmapper1.02.1
  Depends: libgcc-s1
  Depends: libgl1
  Depends: libopus0
  Depends: libpng16-16
  Depends: libqt5core5a
 |Depends: libqt5gui5
  Depends: libqt5gui5-gles
  Depends: libqt5opengl5
  Depends: libqt5printsupport5
  Depends: libqt5widgets5
  Depends: libqt5x11extras5
  Depends: libsdl1.2debian
  Depends: libssl3
  Depends: libstdc++6
  Depends: libvpx7
  Depends: libx11-6
  Depends: libxcb1
  Depends: libxcursor1
  Depends: libxext6
  Depends: libxml2
  Depends: libxt6
  Depends: zlib1g

root@yaenu3vupeha-1:~# VBoxManage --version
6.1.34r150636

root@yaenu3vupeha-1:~# VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      6.1.34
Revision:     150636
Edition:      
Description:  Oracle Cloud Infrastructure integration, USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true 
Why unusable:

comment:4 by galitsyn, 2 years ago

Resolution: fixed
Status: newclosed

Hi _hswong3i,

Thank you for trying Jammy package. I am closing ticket since all seems good now.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use