Select 'abort'
sudo mysql -p
mysql> UNINSTALL COMPONENT "file://component_validate_password";
mysql> exit
sudo apt install phpmyadmin

Remove the plug-in:
UNINSTALL PLUGIN validate_password;
In the event of an error, use:
UNINSTALL COMPONENT 'file://component_validate_password';

Source: https://stackoverflow.com/questions/67543000/phpmyadmin-error-1819-hy000-password-does-not-satisfy-the-current-policy-re