ptitSeb/box86

libstdc++6 conflict between box86:armhf and steamcmd:i386

Closed this issue · 2 comments

Attempting to run steamcmd using Wine64 and Box86/64 on AARCH64 Debian Bullseye.

Followed this guide to install Wine after installing the precompiled debs for Box86 & Box64: https://github.com/ptitSeb/box64/blob/main/docs/X64WINE.md

Then after:
dpkg --add-architecture i386
apt update
apt install steamcmd

Observe following error:
Unpacking libstdc++6:i386 (10.2.1-6) ... dpkg: error processing archive /tmp/apt-dpkg-install-veCTWl/04-libstdc++6_10.2.1-6_i386.deb (--unpack): trying to overwrite '/usr/lib/i386-linux-gnu/libstdc++.so.6', which is also in package box86:armhf 0.3.5+20240211.8378f9b-1

This does not prevent steamcmd from running but apt will complain about unmet dependencies:

apt install
The following packages have unmet dependencies: steamcmd:i386 : Depends: libstdc++6:i386 but it is not installed

--fix-broken does not resolve without forcing overwrite like apt-get -o Dpkg::Options::="--force-overwrite"

I am not the maintainer of the debian package of box.

Note that there is an option to build box86 without the i386 libraries NO_LIB_INSTALL, maybe ask for some package with this option to avoid the conflict?

Also also, not that the prefered way to install steam is using the install_steam.sh script shell from the box86 repo. For steamcmd, using tgz archive instead of debian package might be simpler.

Box86 (and Box64) is different from Qemu: it doesn't need a chroot to work, and will just use your armhf library for most things (just some ci386 ++ library are needed, wich is why there are provided by default).

Thanks very much for this!