2017-01-15 26 views
-1

最近、Windows 10とUbuntu 16.04を使用してノートパソコンをデュアルブートしました。私はsudo apt-get install gitを使用してgitのをインストールしようとしていますが、私は、これは私は非常に多くの新しいUbuntuのに午前gitをUbuntuにインストールできない16.04

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
The following additional packages will be installed: 
git-man liberror-perl 
Suggested packages: 
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk 
gitweb git-arch git-cvs git-mediawiki git-svn 
The following NEW packages will be installed: 
git git-man liberror-perl 
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 
Need to get 3,624 kB of archives. 
After this operation, 27.5 MB of additional disk space will be used. 
Do you want to continue? [Y/n] Y 
Err:1 http://archive.ubuntu.com/ubuntu yakkety/main amd64 liberror-perl all 0.17024-1 
Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) [IP: 91.189.88.152 80] 
Err:2 http://archive.ubuntu.com/ubuntu yakkety/main amd64 git-man all 1:2.9.3-1 
Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.152 80] 
Err:3 http://archive.ubuntu.com/ubuntu yakkety/main amd64 git amd64 1:2.9.3-1 
Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.152 80] 
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libe/liberror-perl/liberror-perl_0.17024-1_all.deb Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) [IP: 91.189.88.152 80] 
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.9.3-1_all.deb Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.152 80] 
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/git/git_2.9.3-1_amd64.deb Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.152 80] 
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 

をmessage-得ます。私はLAN接続に接続されており、インターネットは正常に動作しています(ただし、なぜ私はUbuntuのwifiに接続できませんが、これは別の日の問題です)。私はさまざまなリンクをたどって、私の問題の解決策を探してみましたが無駄でした。誰も私にそれについて何をするか教えてもらえますか?

+0

archive.ubuntu.com:80(91.189.88.152)に接続できませんでした。 - 接続(111:接続が拒否されました)[IP:91.189.88.152 80] は、接続に何らかの問題があることを示しています。あなたはインターネットが使えますか?いくつかのプロキシ/ファイアウォールルールの背後にいますか? – pedrorijo91

答えて

0

私は解決策を見つけました。私はプロキシを使用していたので、ネットワーク設定でプロキシの手動設定が必要でした。その後、ソフトウェアアップデートをインストールする必要がありました。 どうもありがとうございます。

0

いずれかがあるかどうあなたのgitのファイルをクリアするために試してみて、apt-get install git-coreがinsted実行;)

関連する問題