root@mint:~# apt-get -o Dir=/mnt \
-o Dir::State::status=/mnt/var/lib/dpkg/status \
install --fix-broken --allow-downgrades --allow-change-held-packages
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
acl aspell avahi-autoipd bison bubblewrap busybox-initramfs casper
cifs-utils cpio dc dcraw dosfstools ecryptfs-utils eject flex fontconfig
gdbserver gettext-base grep groff-base growisofs gzip ibverbs-providers
ifupdown info install-info iputils-arping iputils-ping iputils-tracepath
isc-dhcp-client iucode-tool keyutils libacl1 libapparmor1 libaspell15
libassuan0 libatasmart4 libblkid1 libbluetooth3 libboost-filesystem1.74.0
libbrlapi0.8 libc-bin libc6:i386 libdns-export1110 libgssapi-krb5-2
libgssapi-krb5-2:i386 libk5crypto3 libk5crypto3:i386 libkeyutils1
libkeyutils1:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0
libkrb5support0:i386 libnsl2:i386 libnss-nis:i386 libnss-nisplus:i386
libtirpc3:i386
Suggested packages:
aspell-doc spellutils bison-doc winbind libarchive1 gphoto2 build-essential
flex-doc groff rdnssd traceroute resolvconf isc-dhcp-client-ddns
glibc-doc:i386 locales:i386 krb5-doc krb5-user krb5-doc:i386 krb5-user:i386
Recommended packages:
libfl-dev
The following NEW packages will be installed:
libdns-export1110 libgssapi-krb5-2:i386 libk5crypto3:i386 libkeyutils1:i386
libkrb5-3:i386 libkrb5support0:i386 libnsl2:i386 libnss-nis:i386
libnss-nisplus:i386 libtirpc3:i386
The following packages will be upgraded:
libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0
The following packages will be DOWNGRADED:
acl aspell avahi-autoipd bison bubblewrap busybox-initramfs casper
cifs-utils cpio dc dcraw dosfstools ecryptfs-utils eject flex fontconfig
gdbserver gettext-base grep groff-base growisofs gzip ibverbs-providers
ifupdown info install-info iputils-arping iputils-ping iputils-tracepath
isc-dhcp-client iucode-tool keyutils libacl1 libapparmor1 libaspell15
libassuan0 libatasmart4 libblkid1 libbluetooth3 libboost-filesystem1.74.0
libbrlapi0.8 libc-bin libc6:i386 libkeyutils1
4 upgraded, 10 newly installed, 44 downgraded, 0 to remove and 46 not upgraded.
211 not fully installed or removed.
Need to get 0 B/12.0 MB of archives.
After this operation, 5978 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libc6:i386.
(Reading database ... 531095 files and directories currently installed.)
Preparing to unpack .../libc6_2.35-0ubuntu3.8_i386.deb ...
De-configuring libc6:amd64 (2.35-0ubuntu3.5), to allow configuration of libc6:i386 (<none>) ...
Unpacking libc6:i386 (2.35-0ubuntu3.8) ...
dpkg: error processing package libc6:amd64 (--configure):
package libc6:amd64 2.35-0ubuntu3.5 cannot be configured because libc6:i386 is at a different version (2.35-0ubuntu3.8)
Errors were encountered while processing:
libc6:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)