나는 요원 뒤에 있어요. apt-get update 명령이 실행될 때마다 화면에 출력되는 내용입니다.
Err http://extras.ubuntu.com trusty InRelease
Err http://extras.ubuntu.com trusty Release.gpg
Unable to connect to extras.ubuntu.com:http:
Err http://security.ubuntu.com trusty-security InRelease
Err http://security.ubuntu.com trusty-security Release.gpg
Unable to connect to security.ubuntu.com:http: [IP: 91.189.91.15 80]
Err http://in.archive.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty-updates InRelease
Err http://in.archive.ubuntu.com trusty-backports InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg
Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.149 80]
Err http://in.archive.ubuntu.com trusty-updates Release.gpg
Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.149 80]
Err http://in.archive.ubuntu.com trusty-backports Release.gpg
Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.149 80]
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to extras.ubuntu.com:http:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to security.ubuntu.com:http: [IP: 91.189.91.15 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.149 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.149 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.149 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
모든 서버에 대한 ping이 제대로 작동합니다. ipv6 주소를 비활성화했습니다. 아무것도 작동하지 않는 것 같습니다. 누가 날 도울 수 있죠
답변1
우분투와 데비안 시스템.
다음에 추가:
Acquire::http::Proxy "http://yourproxyaddress:proxyport";
파일로 제출:
/etc/apt/apt.conf
이것은 파일의 유일한 항목이며 내 시스템 프록시 변수는 비어 있습니다.
http_proxy
https_proxy
HTTP_PROXY
HTTPS_PROXY
기타 솔루션:
- get 줄에 FQDN 대신 IP 주소를 사용합니다.
- 브라우저에 프록시 정보를 추가하고 프록시를 테스트하세요.
- http 및 https 프록시
- 대리인에게 승인이 필요합니까?