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.
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:
virtualbox-5.2
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.