Q:

Unable to Add ppa in my newly installed ubuntu 16.04 LTS

I am trying to install ppa:ondrej/php on Ubuntu 16.04
When I enter the command:
sudo add-apt-repository ppa:ondrej/php

It gives me this message:
Cannot add PPA: 'ppa:~ondrej/ubuntu/php'.
ERROR: '~ondrej' user or team does not exist.

Even I am not able to install any PPA.
How do I proceed?

A:

A bit late but someone might find it helpful: I had this problem when I set HTTP_PROXY= but forgot to set HTTPS_PROXY=. 

