直接编辑:sudo /etc/apt/sources.list文件
deb http://源地址/ubuntu/ xenial main universe restricted multiverse
deb http://源地址/ubuntu/ xenial-updates main universe restricted multiverse
deb http://源地址/ubuntu/ xenial-backports main restricted universe multiverse
deb http://源地址/ubuntu/ xenial-security main universe restricted multiverse
deb http://源地址/ubuntu/ xenial-proposed main universe restricted multiverse
改完后运行:sudo apt-get update更新索引
获取更多知识,请点击关注:
嵌入式Linux&ARM
CSDN博客
简书博客
网友评论