• SupportQuestion
  • Killed my Virtualbox install? Cannot mix incompatible Qt library.

So I was installing a Windows 10 guest to my Solus HOST and a problem rised that I couldn't insert guest-utils cd.
https://bugs.archlinux.org/task/61586
https://dev.getsol.us/T7501
So of course before finding these 2 topics I was messing around myself downloading that .iso manually and trying to figure out folder where it should be put to VBOX to pick it up /usr/share/virtualbox && /.local/share/virtualbox etc.. We'll it didn't pick it up and I was for some stupid reason thinking that maybe I'm missing some package and as there is NO virtualbox-guest-additions-iso package in the repos. Even tried SUDO virtualbox and trying to download as root the missing package no luck..

So I for some brain fart reason got idea maybe I need to install guest-additions package to HOST machine. . Well as I figured out at later on that at least virtualbox-guest-current utils weren't needed I ran
sudo eopkg rm virtualbox-guest-current
sudo eopkg rmo without thinking much and o behold my X session went crashing down lul 😂🤣

Here is the list rmo removed:
Operation #26: takeback
Date: 2019-04-09 19:13

* hicolor-icon-theme 0.17-7-1-x86_64 is installed.
* liblcms2 2.9-11-1-x86_64 is installed.
* colord 1.3.5-17-1-x86_64 is installed.
* xcb-util-wm 0.4.1-4-1-x86_64 is installed.
* xcb-util 0.4.0-7-1-x86_64 is installed.
* xcb-util-image 0.4.0-4-1-x86_64 is installed.
* libxmu 1.1.2-7-1-x86_64 is installed.
* pcre2 10.32-7-1-x86_64 is installed.
* xcb-util-keysyms 0.4.0-4-1-x86_64 is installed.
* xkeyboard-config 2.25-8-1-x86_64 is installed.
* libxkbcommon 0.8.4-9-1-x86_64 is installed.
* xcb-util-renderutil 0.3.9-3-1-x86_64 is installed.
* libwacom 0.32-16-1-x86_64 is installed.
* mtdev 1.1.5-7-1-x86_64 is installed.
* libevdev 1.6.0-9-1-x86_64 is installed.
* libinput 1.13.0-28-1-x86_64 is installed.
* libepoxy 1.4.3-4-1-x86_64 is installed.
* libjson-glib 1.4.2-14-1-x86_64 is installed.
* glib-networking 2.56.0-21-1-x86_64 is installed.
* libsoup 2.62.3-22-1-x86_64 is installed.
* librest 0.8.1-8-1-x86_64 is installed.
* libxtst 1.2.3-9-1-x86_64 is installed.
* at-spi2 2.28.0-20-1-x86_64 is installed.
* at-spi2-atk 2.26.2-17-1-x86_64 is installed.
* libgtk-3 3.22.30-81-1-x86_64 is installed.
* libaio 0.3.11-3-1-x86_64 is installed.
* mariadb-libs 10.3.13-14-1-x86_64 is installed.
* qt5-base 5.12.2-36-1-x86_64 is installed.
* qt5-x11extras 5.12.2-13-1-x86_64 is installed.
* sdl1 1.2.15-6-1-x86_64 is installed.

Which I've of course already recovered / reinstalled.

Problems I encountered after this scenario I had:

  1. Boot problem with UEFI/LUKS which I already fixed (not sure where the fault actually was as there is no terminal messages shown default and just as I was configuring them to be shown I got it fixed.. either LVM snapshot, /usr/lib/kernel, goofiboot or what ever was messed up, dunno)

  2. This is my main problem currently:
    ~ $VirtualBox
    Qt FATAL: Cannot mix incompatible Qt library (version 0x50c01) with this library (version 0x50c02)
    Aborted

Halp? Already tried to

  • eopkg it --reinstall qt5-base qt5-x11extras
  • eopkg rm linux-current-headers && eopkg it linux-current-headers
  • eopkg rm virtualbox-current virtual-box-common && eopkg it virtualbox-current

$eopkg li |grep -i virtual
llvm - Low Level Virtual Machine (Reusable compiler and toolchains)
virtualbox-common - Common components for VirtualBox host packages
virtualbox-current - VirtualBox host modules for the linux-current kernel

What I've found from internets is that upgrade have fixed similar issues, unfortunately eopkg up doesn't find new packages or check doesn't find broken ones 🙁

You can revert your changes and go back in the history before you removed all the stuffs (then after rolling back, run a system update normally).
See the doc on the help center.

Regarding the VirtualBox guest ISO problem on Windows 10, there is something that should be fixed but I have no clue what it is and since I don't own a Windows 10 license, I can't test.

There is an easy workaround: download the guest additions ISO from the official site and mount it on the virtual drive of the Windows 10 guest machine.

Yeah that's what I did like u see (takeback):
Here is the list rmo removed:
Operation #26: takeback

I know eopkg might have some issues which I'm not so familiar with but I've always liked it as it is simple and get the job done and these days it even has man page 🙂. Seems like GUI package manager is more prone to buggy behaviour (like they allways do). And never had problems with eopkg other than using rmo.. maybe, just maybe I should just stop using it lul 😃 I thi
nk it's my apt autoremove idealogy which doesn't always work as brilliantly..

Seems that when I did eopkg -history -t 26 I coulnd't anymore for example after this go to 24 or something. It will once used offer the latest for some reason... Never mind I don't think it was any "package problem", instead I think installing either virtualbox-guest-current or running that rmo I DID something very F'd up to my /usr libs :/

Something which eopkg or some other package manager maybe could have not been able to fix.

What I ended up just doing and getting system up&functional again was restore, just happens that I today earlier configured restic backups. What a wonderful little peace of software for backups using dedup technology (maybe geared more towards encrypted cloud backups though 😃).

  1. Mounted earlier (today )restic snapshot to mnt/restore and recovered from there via rsync --delete folders /usr, /etc, /lib64, /bin, /var
  2. rebooted to and emergency shell
  3. booted live iso -> chroot -> reinstall linux-current && linux-current-headers -> clr-boot-manager update & bootctl install (clr-bootmgr-update maybe does booctl install already?)
  4. reboot and vuola

Restic seems to be perfect simple backup solution atleast for me which I've now tested on action too lul!
Remember your backups guys! 😁

this.
There is an easy workaround: download the guest additions ISO from the official site and mount it on the virtual drive of the Windows 10 guest machine.

ps. you don't need windows 10 license, you can use it un activated if you for some reason need bloatware 😉

actually it might have just been package problem but for some reason I did not see these packages being removed in the history, when I was in earlier system state run this command I got 2 packages and know I get a whole bunch of qt5 packages:
eopkg li |grep qt
libdbusmenu-qt - Provides a Qt implementation of the DBusMenu protocol
polkit-qt-1 - Qt wrapper around polkit-1
poppler-qt5 - PDF Rendering Library
python-qt5 - python-qt5 are the python2 bindings for Qt5.
python3-qt5 - python3-qt5 are the python3 bindings for Qt5
qt5-base - Cross platform application and UI framework
qt5-connectivity - Qt5 Connectivity components
qt5-declarative - Qt 5 Declarative Library
qt5-graphicaleffects - Qt5 Graphical Effects Module
qt5-location - Qt5 Location and Mapping Components
qt5-multimedia - Qt5 Multimedia Components
qt5-quickcontrols - Qt5 Quick Controls Module
qt5-script - Qt5 Application Scripting Module
qt5-sensors - Qt5 Sensors Module
qt5-serialport - Qt5 Serial Port Module
qt5-speech - Qt Text-To-Speech library
qt5-svg - Qt5 SVG Module
qt5-tools - Qt5 QtTools Module
qt5-webchannel - Qt5 Webchannel Module
qt5-webengine - QtWebEngine integrates chromium's fast moving web capabilities into Qt
qt5-webkit - Qt5 support for Webkit
qt5-websockets - Qt5 Websockets Module
qt5-x11extras - Qt5 X11 Extra Components
qt5-xmlpatterns - Qt5 XML Patterns
qtkeychain - QtKeychain is a Qt API to store passwords and other secret data securely
qtstyleplugins - Provides GTK2 style integration for Qt applications

.. well that's already gone system state so just thought to add this as FYI...

For the ISO in Virtualbox, just download and mount it as a regular CD in the guest CD drive, then you can install the guest utils.