WLinuxのapt updateが遅い

WLinux

$ sudo apt-get update

が異様に遅い。upgradeやinstallは速いんです。

普段はaptのリポジトリを変更しないのですが、updateがとんでもなく遅いので日本のサーバーに変更しました。

$ sudo vim /etc/apt/sources.list
# sources.list
deb http://cdn.debian.or.jp/debian testing main contrib non-free
# deb-src http://cdn.debian.or.jp/debian testing main

deb http://cdn.debian.or.jp/debian testing-updates main
# deb-src http://cdn.debian.or.jp/debian testing-updates main

deb https://deb.debian.org/debian-security testing/updates main
# deb-src http://cdn.debian.or.jp/debian-security testing/updates main

deb http://cdn.debian.or.jp/debian/ unstable main contrib non-free
# deb-src http://cdn.debian.or.jp/debian/ unstable main contrib non-free

deb http://apt.patrickwu.space/ stable main
# obtain source from http://github.com/wslutilities/wslu

$ sudo vim /etc/apt/sources.list.d/stretch-backports.list
# stretch-backports.list
deb http://cdn.debian.or.jp/debian stretch-backports main

これでストレスフリーです・ω・

debianのミラーサーバーはhttps://www.debian.or.jp/using/mirror.htmlに、日本の一覧があります。

SNSでもご購読できます。

コメントを残す