Problème avec l'installation du package: libc6:i386

Comment puis-je régler ça ???

sudo apt install -y libc6:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 apt : Depends: adduser but it is not going to be installed
       Depends: gpgv or
                gpgv2 but it is not going to be installed or
                gpgv1
       Depends: libapt-pkg6.0 (>= 2.6.1) but it is not going to be installed
       Depends: libc6 (>= 2.34) but it is not installable
       Depends: libgnutls30 (>= 3.7.5) but it is not going to be installed
       Depends: libseccomp2 (>= 2.4.2) but it is not going to be installed
       Depends: libstdc++6 (>= 11) but it is not going to be installed
       Depends: libsystemd0
       Recommends: ca-certificates but it is not going to be installed
 base-files : PreDepends: awk
 base-passwd : Depends: libc6 (>= 2.34) but it is not installable
               Depends: libdebconfclient0 (>= 0.145) but it is not going to be installed
               Depends: libselinux1 (>= 3.1~) but it is not going to be installed
 bash : PreDepends: libc6 (>= 2.36) but it is not installable
        PreDepends: libtinfo6 (>= 6) but it is not going to be installed
 bsdutils : PreDepends: libc6 (>= 2.34) but it is not installable
            PreDepends: libsystemd0
            Recommends: bsdextrautils
 coreutils : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
             PreDepends: libattr1 (>= 1:2.4.44) but it is not going to be installed
             PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libgmp10 (>= 2:6.2.1+dfsg1) but it is not going to be installed
             PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 dash : PreDepends: libc6 (>= 2.34) but it is not installable
 debianutils : PreDepends: libc6 (>= 2.34) but it is not installable
 diffutils : PreDepends: libc6 (>= 2.34) but it is not installable
 dpkg : PreDepends: libbz2-1.0 but it is not going to be installed
        PreDepends: libc6 (>= 2.34) but it is not installable
        PreDepends: liblzma5 (>= 5.4.0) but it is not going to be installed
        PreDepends: libmd0 (>= 0.0.0) but it is not going to be installed
        PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
        PreDepends: libzstd1 (>= 1.5.2) but it is not going to be installed
        PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
 e2fsprogs : PreDepends: libblkid1 (>= 2.36) but it is not going to be installed
             PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libcom-err2 (>= 1.43.9) but it is not going to be installed
             PreDepends: libext2fs2 (= 1.47.0-2) but it is not going to be installed
             PreDepends: libss2 (>= 1.38) but it is not going to be installed
             PreDepends: libuuid1 (>= 2.16) but it is not going to be installed
             Depends: logsave
             Recommends: e2fsprogs-l10n but it is not going to be installed
 findutils : PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 grep : PreDepends: libc6 (>= 2.34) but it is not installable
        PreDepends: libpcre2-8-0 (>= 10.32) but it is not going to be installed
 gzip : PreDepends: libc6 (>= 2.33) but it is not installable
 hostname : PreDepends: libc6 (>= 2.34) but it is not installable
 init : PreDepends: systemd-sysv or
                    sysvinit-core but it is not installable
 libc-bin : Depends: libc6 (> 2.36) but it is not installable
            Depends: libc6 (< 2.37) but it is not installable
 libcrypt1 : Depends: libc6 (>= 2.36) but it is not installable
 libcrypt1:armhf : Depends: libc6:armhf (>= 2.36) but it is not installable
 libgcc-s1 : Depends: libc6 (>= 2.35) but it is not installable
 libgcc-s1:armhf : Depends: libc6:armhf (>= 2.34) but it is not installable
 login : PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
         PreDepends: libc6 (>= 2.34) but it is not installable
         PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed
         PreDepends: libpam-runtime but it is not going to be installed
         PreDepends: libpam-modules but it is not going to be installed
 ncurses-bin : PreDepends: libc6 (>= 2.34) but it is not installable
               PreDepends: libtinfo6 (>= 6.3) but it is not going to be installed
 perl-base : PreDepends: libc6 (>= 2.35) but it is not installable
 sed : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
       PreDepends: libc6 (>= 2.34) but it is not installable
       PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 sysvinit-utils : Depends: libc6 (>= 2.34) but it is not installable
 tar : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
       PreDepends: libc6 (>= 2.34) but it is not installable
       PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 util-linux : PreDepends: libblkid1 (>= 2.37.2) but it is not going to be installed
              PreDepends: libc6 (>= 2.34) but it is not installable
              PreDepends: libcap-ng0 (>= 0.7.9) but it is not going to be installed
              PreDepends: libmount1 (>= 2.38) but it is not going to be installed
              PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed
              PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
              PreDepends: libsmartcols1 (>= 2.38) but it is not going to be installed
              PreDepends: libsystemd0
              PreDepends: libtinfo6 (>= 6) but it is not going to be installed
              PreDepends: libudev1 (>= 183) but it is not going to be installed
              PreDepends: libuuid1 (>= 2.16) but it is not going to be installed
              PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
              Depends: util-linux-extra
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Je suis sur un Raspberry Pi 4B et j’utilise raspbian en 64bit.

Bonjour,

Pour quelle raison est-ce que tu souhaites installer la version 32bits de libc6 ?

Et sans l’option -y, est-ce que ça dit pourquoi ça veut installer tout ça ?

L’architecture i386 est celle des processeurs x86 en 32 bits (en gros, je n’y connais pas grand chose). Ta machine a un processeur à base d’architecture ARM en 64 bits. Tu ne peux donc pas, en l’état, exécuter des bibliothèques pour i386 sur cette machine.
Il est peut-être possible de le faire avec une couche d’adaptation qui converti les instructions pour i386 en instructions pour le processeur de ta machine, mais je n’y connais rien.

1 J'aime

Bonjour,

Par défaut, une seule architecture est installée (arm64, dans ton cas, si je ne me trompe pas).
Avant de pouvoir installé ce paquet, il faut activer le multi-arch (https://wiki.debian.org/fr/Multiarch/HOWTO). En revanche, je ne suis pas sur que tu puisse sur un raspeberry/raspian.

Mais ça n’a rien à voir avec le problème.

Oui, avec QEMU par exemple.

Ce qui a visiblement déjà été fait, sinon apt se plaidrait que le paquet est introuvable.