/usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
dpkg: error processing package libc6:amd64 (--configure):
installed libc6:amd64 package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
libc6:amd64
perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (1)
Das passiert leider, weil in Debian 12 wurde aus einem Paket, zwei und libcrypt wird nicht automatisch installiert. Reparieren kann man das folgendermaßen:
curl http://ftp.us.debian.org/debian/pool/main/libx/libxcrypt/libcrypt1_4.4.33-2_amd64.deb -O dpkg-deb -x libcrypt1_4.4.33-2_amd64.deb . cp -av lib/x86_64-linux-gnu/* /lib/x86_64-linux-gnu/ apt -y --fix-broken install apt upgrade -y
Aber erst libcrypt installieren, wenn man den Fehler erhalten hat nach einem apt upgrade
, ansonsten kann man neu installieren.