To help you enter your password correctly there is: How can I make stars appear when I type sudo password?
To summarize the answer there, you need to configure it using:
sudo visudo
Locate the line containing env_reset and add the parameter , pwfeedback behind it.
See the link for full instructions.
https://askubuntu.com/questions/718226/how-can-i-see-my-password-on-the-terminal
https://askubuntu.com/questions/860766/how-can-i-make-stars-appear-when-i-type-sudo-password