I am trying to set proxy for APT so I can update.
The server is behind a proxy which is in the domain. I have tried the following in /etc/apt/apt.conf
for FTP, HTTP, https
Acquire::HTTP::Proxy "http://[domain\user[:Password02#]@10.1.1.8:8080/";Also tried
Acquire::http::Proxy "http://domain\user:Password02#]@10.1.1.8:8080/";Also tried
Acquire::http::Proxy "http:/user@domain.com:Password02#]@10.1.1.8:8080/";
I always get the error below:
root@canonical:/etc/apt# apt-get update
407 Proxy Authorization Required
Reading package lists... Done
W: The repository 'http://security.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://za.archive.ubuntu.com/ubuntu xenial Release' does
How can I set up my proxy correctly?