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 no 'apt' commands work. I can't install anything. Here the result of the perl -v command:
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-broken
install 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
This is a good way?
Please help and best regards