Ubuntu: Cannot add PPA. Please check that the PPA name or format is correct



Question:

Internet connection is working.

apt-get is working.

Trying to add ppa:cooperjona/lightread but an error has raised:

Cannot add PPA 'ppa:cooperjona/lightread' . Please check that the PPA name or format is correct.  

I supposed there is an error in writing or in the PPA.

I tried also the 'ppa:tombeckmann/ppa' but with same error.


Solution:1

Open Terminal and run the command

sudo apt-get install --reinstall ca-certificates  

It may work, but if doesn't then run

sudo -E add-apt-repository ppa:ppaname/ppa  

instead of sudo add-apt-repository ppa:ppaname/ppa


Solution:2

I googled the error and find this. So i tried to clone a git as he did there and has the same result.

So to solve this:

sudo apt-get install --reinstall ca-certificates  

and things become smooth again :)


Solution:3

I had this exact error message about checking the PPA name or format. My network was connected and I could ping websites and browse fine.

What I finally figured out was the clock on my computer was set wrong. If it's off more than a small amount, the secure connection will fail and it will report this message. It's very unhelpful.

Check your clock. I set mine and then it immediately worked as expected.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »