Ubuntu – Asks password when trying to install Boot-Repair

bootgrub2passwordsudo

I'm trying to install Boot-Repair directly from Lubuntu, but after typing the line "sudo add-apt-repository ppa:yannubuntu/boot-repair" in the terminal (as suggested here: https://help.ubuntu.com/community/Boot-Repair), he asks the sudo password. I type my own password (no * or other character appears while typing) but continues asking. What can I do?

Best Answer

If you type your pw (no * symbols appear - this is default!) and hit enter, it should either accept it or give you a mesage like "That did not work, please try again" and repeat the procedure three times. After that you should be back at your cli prompt.
If sudo behaves like I just described, you typed the wrong password. This can have mainly one of the following reasons:

  • You just don't remember your correct pw or have a simple typo in it
  • Your CAPS LOCK key is on
  • Or you Num L0ck key
  • Or something changed your keyboard layout
  • Maybe you set a password for the root user?

So to start, type your pw into the normal terminal window to see if all characters are entered correctly (eliminates reasons 2,3,4). Then log out and back of your account with that password to be 100% sure it is the corrct pw for your account. At last we would have to check that root's pw is disabled... But this only if the simple things don't work.
Let me know if one of these options helped you. Greetings and good luck!

Related Question