Page 1 of 1

Ubuntu upgrade then VB -> VB not starting

Posted: 17. Jan 2021, 11:16
by JMA92410
Dear Ubuntu / VirtualBox experts
I upgraded KUbuntu from 16.04 Xenial to 18.04.5. During the process, I had a message saying systemd-shim was not installed (error exit status 2) and afterwards 2 or 3 similar messages, all bearing the string systemd-shim
Towards the end of the process, I had a message saying : the upgrade has aborted. Your system could be in an unusable state + something about a recovery process. I did not do anything particular
After one or two reboots, my KUbuntu seemed to be working, the file manager Dolphin works, and lsb_release says I have 18.04 bionic installed.
So I proceeded to upgrade VirtualBox. I did not manage to do a proper upgrade so I uninstalled VirtualBox version 6.0 then installed the latest version available 6.1.16. I downloaded the deb package, tried to open it with Discover which opened a window which remained stuck displaying "Loading ...". After 5 minutes, I closed the window and opened the deb package with QApt package installer and this seemed to work.
But when I start VirtualBox, I can see it appear on the taskbar for a little while with the circular progression bar, then it disappears and nothing happens.
If anyone can provide some help, I will be very grateful. As you may have guessed, I am not a Linux expert at all !
Jean-Marie Almeras

In case this is useful, this is the series of messages displayed when installing VirtualBox with QApt
Running dpkgRemoving systemd-shim (amd64)Removing systemd-shim (amd64)installed systemd-shim package post-removal script subprocess returned error exit status 2(Reading database ... 288434 files and directories currently installed.)
Preparing to unpack .../virtualbox-6.1_6.1.16-140961~Ubuntu~bionic_amd64.deb ...
Unpacking virtualbox-6.1 (6.1.16-140961~Ubuntu~bionic) over (6.1.16-140961~Ubuntu~bionic) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.43) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.9-2) ...
Unknown media type in type 'all/all'
Done

Re: Ubuntu upgrade then VB -> VB not starting

Posted: 17. Jan 2021, 20:57
by scottgus1
Linux kernel headers need to be installed before Virtualbox is installed. https://www.virtualbox.org/manual/ch02. ... nux-prereq
Maybe that's the problem?