sudo apt-getアップデートの問題

sudo apt-getアップデートの問題

私はエージェントの後ろにいます。 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

UbuntuとDebianシステム。

次に追加:

Acquire::http::Proxy "http://yourproxyaddress:proxyport";

ファイルとして送信:

/etc/apt/apt.conf

これはファイルの唯一のエントリであり、私のシステムプロキシ変数は空です。

http_proxy
https_proxy
HTTP_PROXY
HTTPS_PROXY

その他のソリューション:

  1. get 行に FQDN の代わりに IP アドレスを使用します。
  2. ブラウザにプロキシ情報を追加してプロキシをテストします。
  3. httpおよびhttpsプロキシ
  4. 代理人に承認が必要ですか?

おすすめ記事