UbuntuCore 18.04 修改国内镜像源(Ubuntu Ports)
工作中在全志 H3 ARM 架构上移植使用了 UbuntuCore 18.04 系统,其默认镜像源为国外源,更新缓慢。故修改使用国内中国科学技术大学的镜像源,具体修改方法如下:
一、修改镜像源文件
http://ports.ubuntu.com/ 为 http://mirrors.ustc.edu.cn/ubuntu-ports/deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse
#deb http://ports.ubuntu.com/ bionic main restricted universe multiverse
# deb-src http://ports.ubuntu.com/ xenial main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
#deb http://ports.ubuntu.com/ bionic-security main restricted universe multiverse
# deb-src http://ports.ubuntu.com/ xenial-security main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
#deb http://ports.ubuntu.com/ bionic-upda