Я использую прозрачный прокси (другое поле). Когда я пытаюсь выполнить 'apt-get update', я получаю следующие предупреждения (на немецком языке):
...
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/source/Sources.gz 503 Service Unavailable
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/source/Sources.gz 503 Service Unavailable
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/source/Sources.gz 503 Service Unavailable
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/main/binary-i386/Packages.gz 503 Service Unavailable
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/binary-i386/Packages.gz 503 Service Unavailable
W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/binary-i386/Packages.gz 503 Service Unavailable
E: Einige Indexdateien konnten nicht heruntergeladen werden, sie wurden ignoriert oder alte an ihrer Stelle benutzt.
Я изменил ~ .bashrc:
http_proxy=http://192.168.120.199:8080
https_proxy=https://192.168.120:8080
export http_proxy
export https_proxy
Я написал в командной строке:
export http_proxy=http://proxyusername:proxypassword@proxyaddress:proxyport
sudo apt-get update
И я отредактировал / etc / apt / apt .conf:
Acquire::http::proxy "http://192.168.120.199:8080/";
Acquire::ftp::proxy "http://192.168.120.199:8080/";
Ничего не сработало.
Кто-нибудь знает, как заставить apt-get работать через прозрачный прокси?
С уважением,
ubuntu2man