Normally this is simply solved with:
sudo dpkg --configure -a
Since you have read other posts you know you won't see your password as you type.
You say your password is refused. Can you run any other sudo commands, such as:
If you cannot run any sudo commands, if you type the following are you listed in the admin group?
You should see something like:
your.user.name adm dialout cdrom plugdev lpadmin admin sambashare