20170627

apt-add-repository: invalid HTTP proxy, unsupported URI

Had this error on a Ubuntu which runs behind a proxy. Your $http_proxy environment variable must contain "http://"

root@ubuntu:~# echo $http_proxy
http://proxy.company.net:8080