I was instructed to upgrade Debian 10 to Debian 12. After the upgrade, I noticed that the ssh.service was not working. Now I found out that apt commands work. I can't install anything.
- Here the result of the
perl -vcommand:perl: /usr/lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found (required by perl) - and
$ ls -l /usr/lib/x86_64-linux-gnu/libcrypt.so.1: /usr/lib/x86_64-linux-gnu/libcrypt.so.1 -> /usr/lib/x86_64-linux-gnu/libcrypt-2.28.so - The
apt --fix-brokeninstall command also does not work
Edit:
This is my /etc/apt/sources.list file:
deb http://deb.debian.org/debian/ bookworm main deb http://security.debian.org/debian-security bookworm-security main deb http://deb.debian.org/debian/ bookworm-updates main Is this correctly configured?
/usr/lib/x86_64-linux-gnu/should now be named/usr/lib64The script above will fix that.