Acquire::http::Proxy "http://user:[email protected]:8080";
Acquire::https::Proxy "http://user:[email protected]:8080";
Acquire::ftp::Proxy "http://user:[email protected]:8080";
Estou tentando definir o proxy para o APT para que eu possa atualizar.
O servidor está por trás de um proxy que está no domínio. Eu tentei o seguinte em /etc/apt/apt.conf
para FTP, HTTP, https
Acquire::HTTP::Proxy "http://[domain\user[:Password02#]@10.1.1.8:8080/";
Também tentei
Acquire::http::Proxy "http://domain\user:Password02#]@10.1.1.8:8080/";
Também tentei
Acquire::http::Proxy "http:/[email protected]:Password02#]@10.1.1.8:8080/";
Eu sempre recebo o erro abaixo:
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
Como posso configurar meu proxy corretamente?
Acquire::http::Proxy "http://user:[email protected]:8080";
Acquire::https::Proxy "http://user:[email protected]:8080";
Acquire::ftp::Proxy "http://user:[email protected]:8080";