Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
The issue comes from your system, not the PPA, which works fine for me. – MrVaykadji Mar 5 '14 at 12:01
    
I tried all of this here and still got the same error. – user2117580 Jun 19 '14 at 20:21
    
If anyone of you ends up here and is using a proxy, check this thread instead – eis Nov 17 '15 at 11:27

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
share|improve this answer
1  
note to reader: sudo -E preserves the user environment, including any proxy config. – eis Apr 29 at 12:04
    
YOU'RE A GENIUS! THANK YOU – Victor Jun 13 at 7:59
up vote 9 down vote accepted

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 :)

share|improve this answer
3  
I tried this, but the same error exist and it does not work, ain't it odd? – Mohammad Rafiee Dec 6 '14 at 5:20

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.

share|improve this answer

protected by Maythux Nov 17 '15 at 12:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.