0

I access internet from the college proxy server. So, when I add an apt-repository as sudo add-apt-repository ppa:nilarimogard/webupd8, I get an error saying

Cannot add PPA: 'ppa:~nilarimogard/ubuntu/webupd8'. ERROR: '~nilarimogard' user or team does not exist.

When I was on Ubuntu 16.04, I used to disable proxy settings and connect to mobile network and then add the repository.

When I do the same on Ubuntu 18.04, It shows 0% [Connecting to 172.16.2.30 (172.16.2.30)] [Connecting to 172.16.2.30 (172.16.2.30)] [Connecting to 172.16.2.30 (172.16.2.30)], where 172.16.2.30 is the proxy address. It is showing the above line even after disabling the proxy settings. How can I add the apt repository?

1
  • 3
    Please re-examine this question: 1. your 2nd PPA line has a ~. 2. your 1st PPA line does not match the 2nd. That seems odd and if really the case it is worth reporting on Launchpad.
    – Rinzwind
    Jul 21, 2018 at 17:56

2 Answers 2

4

It is WebUpd8 team Atom PPA

sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update

Mind the ~ in your command.

Ehm, on 2nd reading: are you sure you copy/pasted this correctly?

You list 1 PPA and get an error on another PPA? If true, that seems fishy to me. If so the PPA is probably bugged. Might be an idea to report it on launchpad. Atom is NOT part of that PPA so it should NEVER tell you there is a problem related to the PPA belonging to Atom.

3rd: sudo add-apt-repository ppa:nilarimogard/webupd8 (Alin Andrei WebUpd8 PPA) works for me and does NOT show me an error.

1
  • Sometimes ~ was automatically added by add-apt-repository internals. I did not tried to debug this. But saw sometimes the tilde between ppa: and its name. Of course with such malformed URL the repository did not get added.
    – N0rbert
    Jul 21, 2018 at 18:36
0

This can be caused by a dns issue - if the ppa can't be resolved to a url, the application tries to find a local user with that ppa - hence the addition of ~nilarimogard/ubuntu/ to the error line. Make sure you can connect to the https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8 site when you disable the proxy settings.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .