Virtualbox installation fails due to libcurl3 dependency


I’ve had Virtualbox on my Librem13v2 for some time but needed to install curl yesterday. This uninstalled Virtualbox and updated libcurl3 to libcurl4. Now I’m unable to install the package virtualbox-5.2 (from Oracle’s repo as per their instructions for Debian) and access the VMs I use for work due to a dependency on libcurl3.

How do I fix this? Thanks!

1 Like

Seems there was a similar problem half a year ago, fixed in Virtualbox 5.2.8
And this ticket says to use the Ubuntu 18.04 version on debian testing (downloaded as a deb file) rather than the version for stretch

Unfortunately that breaks on PureOS with a timeout for a system service called systemdl

$ sudo dpkg -i virtualbox-5.2_5.2.18-124319~Ubuntu~bionic_amd64.deb
(Reading database … 339558 files and directories currently installed.)
Preparing to unpack virtualbox-5.2_5.2.18-124319~Ubuntu~bionic_amd64.deb …
Unpacking virtualbox-5.2 (5.2.18-124319~Ubuntu~bionic) over (5.2.18-124319~Debian~stretch) …
Setting up virtualbox-5.2 (5.2.18-124319~Ubuntu~bionic) …
addgroup: The group `vboxusers’ already exists as a system group. Exiting.
Failed to enable unit: Failed to activate service ‘org.freedesktop.systemd1’: timed out (service_start_timeout=25000ms)
Failed to enable unit: Failed to activate service ‘org.freedesktop.systemd1’: timed out (service_start_timeout=25000ms)
Failed to enable unit: Failed to activate service ‘org.freedesktop.systemd1’: timed out (service_start_timeout=25000ms)
^Cdpkg: error processing package virtualbox-5.2 (–install):
installed virtualbox-5.2 package post-installation script subprocess was interrupted
Processing triggers for systemd (239-7pureos1) …
Failed to reload daemon: Failed to activate service ‘org.freedesktop.systemd1’: timed out (service_start_timeout=25000ms)
Processing triggers for mime-support (3.61) …
Processing triggers for desktop-file-utils (0.23-3) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for shared-mime-info (1.10-1) …
Errors were encountered while processing:

1 Like

Hello is there any way to address this in PureOS? Or is it all on Oracle?

My Librem 13 has been useless to me for work for like a month now. I’d rather not uninstall PureOS but it’s coming to that.

I’m not an expert on this, but is it possible that when the curl update uninstalled VB, it destroyed all of the created VMs and their associated information. However, when you try to reinstall VB the system still has some files there, but they have ids to locations that aren’t valid anymore?

Have you tried using Boxes with your VB vms?

Sorry I use VMware myself, and am not very familiar with VB. Some googling I did to try to help had me belief that a timeout from systemdl is because an asset does not respond. Similar to a network timeout. Usually this is because things are being looked for that are no longer there, etc.

Good luck!

1 Like

Just to follow up on this, it was as simple to fix as

sudo groupdel vboxusers
sudo dpkg -i virtualbox-5.2_5.2.22-126460~Ubuntu~bionic_amd64.deb

The new version for Ubuntu bionic works. It’s also tagged as being for “Debian 10” now on their site.