I'm trying to install WireGurad on my fresh vanilla Ubuntu 18.04.1 machine, by following the instructions from WireGuard website. But when I try to execute very first command:
sudo add-apt-repository ppa:wireguard/wireguard
I'm getting the following error:
Cannot add PPA: 'ppa:~wireguard/ubuntu/wireguard'.
ERROR: '~wireguard' user or team does not exist.
Although there is WireGuard page at launchpad.net: https://launchpad.net/~wireguard/+archive/ubuntu/wireguard.
Any suggestion on how to install it?
Thanks!
UPDATE: The problem was in proxy settings (as the link from the accepted answer suggests). After exporting HTTP_PROXY and HTTPS_PROXY environment variables, everything works.