1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

WSL上のUbuntu 18.04 LTSでapt updateができない問題への対処

Posted at

apt updateができない!(致命的)

ある日のこと。あまり定期的にapt updateをしていないので、久々にupdateしておくかーってことでおもむろにapt updateしたところ…

image.png

なんてこった!updateできないじゃないか!
どうして接続失敗ってなってるんだ?ブラウザからは見れるのに…あるのに…

紆余曲折あって

カスペルスキー(アンチウイルスソフト)のせいと分かった。aptはHTTPのポート80を使っているけど、そのポートがアンチウイルスソフトでブロックされていたのでupdateが使えなかったらしい。
ということで

image.png

image.png

image.png

image.png

この赤丸で囲ったところをクリックしていってHTTPポート80の監視を無効にして完了。
そして再びapt updateを走らせると

image.png

助かった。

参考: https://qiita.com/YKInoMT/items/a6505b7dcc7bafeacc83

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?