ubuntu 18.04アリクラウドキーミラーを変更

1277 ワード

ubuntuアリクラウドキーミラーの変更


1.バックアップ
cp sources.list sources.list.old

2.vimで開く:sudo vim sources.list入力ggdGはすべての内容を削除し、iボタンを押して挿入モードに入り、マウスの右ボタンで貼り付けます
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

3.ミラーソースの更新
sudo apt-get update

4.その他のバージョンのミラーリングhttps://blog.csdn.net/aria_miazzy/article/details/102741907