It seems the ‘libpcre2-8-0’ is installed and the first line in your first screenshot complains about that one. If it is not solved, run ‘ldd /sbin/shutdown’ and you should see where it expects libpcre2 to be. ‘ls’ that path and see if it is there. If it is, is it on another mount than root that gets unmounted too early or something? If it is not there, try reintalling the package, or see where the package puts that library file. If it is in the wrong place, use ‘ln -s’ to create a symbolic link to where shutdown expects it.
Synaptic Package Manager states that there are several versions of libpcre2 installed, which one should I try to reinstall?
It seems the ‘libpcre2-8-0’ is installed and the first line in your first screenshot complains about that one. If it is not solved, run ‘ldd /sbin/shutdown’ and you should see where it expects libpcre2 to be. ‘ls’ that path and see if it is there. If it is, is it on another mount than root that gets unmounted too early or something? If it is not there, try reintalling the package, or see where the package puts that library file. If it is in the wrong place, use ‘ln -s’ to create a symbolic link to where shutdown expects it.