Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I don't know why but after a while I can't add any working ppa any more! When I try this:

sudo add-apt-repository ppa:webupd8team/tor-browser

the output is:

Cannot add PPA: 'ppa:webupd8team/tor-browser'.
Please check that the PPA name or format is correct.

I have ubuntu 13.10 64bit.

share|improve this question
    
Are you behind a proxy? –  i08in Dec 21 '13 at 9:04
    
really I don't know . Sometimes Ago I install tor-browser and mabye it made the problem . –  mahdiar Dec 21 '13 at 9:08
    
Can you do a sudo apt-get update? If yes, what are the contents of your /etc/apt/apt.conf file? –  i08in Dec 21 '13 at 9:29
    
yes I can . I don't have such file . I have auth.conf . Is it what you are looking for ? –  mahdiar Dec 21 '13 at 13:40
add comment

2 Answers 2

Try `sudo apt-get install --reinstall ca-certificates

More info at `http://www.webupd8.org/2014/03/fix-cannot-add-ppa-please-check-that.html

share|improve this answer
add comment

In addition to configuring proxies, tell sudo to consider the environment with the flag -E

export http_proxy=http://<proxy>:<port>
export https_proxy=http://<proxy>:<port>
sudo -E apt-add-repository ppa:webupd8team/tor-browser

with username and password:

export https_proxy=<username>:<password>@<proxy>:<port>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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