I am trying to run Virtual Box on Manjaro (CPU is an AMD A9-9425 RADEON R5) but I can’t seem to get it to work; here’s the text I am seeing:
[administrator@administrator ~]$ sudo pacman -Syu virtualbox
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade…
:: Replace hwids with core/hwdata? [Y/n] Y
:: Replace kvantum-qt5 with community/kvantum? [Y/n] Y
:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] Y
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n] Y
:: Replace pamac-common with extra/libpamac? [Y/n] Y
:: Replace pamac-flatpak-plugin with extra/libpamac-flatpak-plugin? [Y/n] Y
:: Replace pamac-snap-plugin with extra/libpamac-snap-plugin? [Y/n] Y
:: Replace xdg-desktop-portal-gtk with extra/xdg-desktop-portal-gnome? [Y/n] Y
resolving dependencies…
:: There are 12 providers available for VIRTUALBOX-HOST-MODULES:
:: Repository extra
Enter a number (default=1): 1
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing lib32-libcanberra (0.30+2+gc0620e4-5) breaks dependency ‘lib32-libcanberra=0.30+2+gc0620e4-3’ required by lib32-libcanberra-gstreamer
:: installing libcanberra (0.30+2+gc0620e4-5) breaks dependency ‘libcanberra=0.30+2+gc0620e4-3’ required by libcanberra-gstreamer
What do the lines about breaking dependencies and errors mean? Is there a work around for this?
Unless you run kernel version 4.14
which I somehow doubt
you did choose to install the wrong version of the virtualbox-host-modules
and virtualbox is not going to work for you.
You need to choose the version that matches the kernel version you are running.
Or the dkms-version, but this entails further work and setup …
I do not know about the other thing (libcanberra)
which is what is holding you up.
This has surely been mentioned more than once here on the forum - just search for it …
I guess that pamac (instead of pacman) will be able to solve that dependency problem for you.
But this is just a guess.
Then, you can go ahead and install virtualbox with pamac install virtualbox.
You have to choose those virtualbox-host-modules that match the kernel you’re using.
My personal preference when installing VBox is to use virtualbox-host-dkms and the kernel modules for my kernel. The active kernel can be found using uname -r