Install libpasswdqc0 by entering the following commands in the terminal:
sudo apt update sudo apt install libpasswdqc0
password strength checking and policy enforcement library
passwdqc is a password/passphrase strength checking and policy enforcement toolset, including a PAM module (libpam-passwdqc), command-line programs (pwqcheck and pwqgen), and a library (libpasswdqc0). . This package provides the underlying library which exports all the functionality.