На этот вопрос уже есть ответ здесь:
Я пытаюсь установить прокси для APT, чтобы я мог обновить.
Сервер находится за прокси, который находится в домене. Я пробовал следующее в / etc / apt / apt .conf
для FTP, HTTP, https
Acquire :: HTTP :: Proxy (скрытый)
Также пробовал
Acquire :: http :: Proxy (скрытый) {{1 }}
Также пробовал
Acquire :: http :: Proxy (hidden)
Я всегда получаю следующую ошибку:
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
Как правильно настроить прокси?
Acquire::http::Proxy "http://user:password@10.1.1.8:8080";
Acquire::https::Proxy "http://user:password@10.1.1.8:8080";
Acquire::ftp::Proxy "http://user:password@10.1.1.8:8080";