Ubuntu 16 apt-get交換ソース
1301 ワード
1.バックアップシステムの付属ソース
2.変更/etc/apt/sources.リストファイル
以下の内容を加える
deb http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse #deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
3.更新の有効化
mv /etc/apt/sources.list /etc/apt/sources.list.bak
2.変更/etc/apt/sources.リストファイル
vim /etc/apt/sources.list
以下の内容を加える
deb http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse #deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
3.更新の有効化
apt-get update