J'ai besoin d'installer à la fois les versions 32 et 64 bits de musl-tools
mais chaque fois que j'essaie d'en installer un, l'autre est automatiquement désinstallé. Si j'essaie les deux en même temps, j'obtiens des conflits :
$ sudo apt-get install -y musl-tools gcc gcc-7 cpp binutils musl-tools:i386 gcc:i386 gcc-7:i386 cpp:i386 binutils:i386
The following packages have unmet dependencies:
binutils : Conflicts: binutils:i386 but 2.30-21ubuntu1~18.04.3 is to be installed
binutils:i386 : Conflicts: binutils but 2.30-21ubuntu1~18.04.3 is to be installed
cpp : Depends: cpp-7 (>= 7.4.0-1~) but it is not going to be installed
Conflicts: cpp:i386 but 4:7.4.0-1ubuntu2.3 is to be installed
cpp:i386 : Conflicts: cpp but 4:7.4.0-1ubuntu2.3 is to be installed
gcc : Conflicts: gcc:i386 but 4:7.4.0-1ubuntu2.3 is to be installed
gcc:i386 : Conflicts: gcc but 4:7.4.0-1ubuntu2.3 is to be installed
gcc-7 : Depends: cpp-7 (= 7.5.0-3ubuntu1~18.04) but it is not going to be installed
Conflicts: gcc-7:i386 but 7.5.0-3ubuntu1~18.04 is to be installed
gcc-7:i386 : Conflicts: gcc-7 but 7.5.0-3ubuntu1~18.04 is to be installed
musl-tools : Conflicts: musl-tools:i386 but 1.1.19-1 is to be installed
musl-tools:i386 : Conflicts: musl-tools but 1.1.19-1 is to be installed
E: Unable to correct problems, you have held broken packages.
Voici en gros ce que j'aimerais faire :
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y gcc-multilib musl-tools
sudo mv /usr/bin/{,x86_64-linux-}musl-gcc
sudo mv /usr/bin/{,x86_64-linux-}musl-ldd
sudo apt-get install -y musl-tools:i386
sudo mv /usr/bin/{,i386-linux-}musl-gcc
sudo mv /usr/bin/{,i386-linux-}musl-ldd