How did I fix «/usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory» in Debian 10 (Buster)?

cd /tmp
apt download libcrypt1
dpkg-deb -x libcrypt1_1%3a4.4.33-2_amd64.deb  .
cp -av lib/x86_64-linux-gnu/* /lib/x86_64-linux-gnu/
apt --fix-broken install

lisenet.com/2023/libcrypt-so-1-cannot-open-shared-object-file-when-upgrading-from-debian-buster-to-bullseye