美文网首页
apt-get替换源

apt-get替换源

作者: 1234yws | 来源:发表于2019-04-24 12:39 被阅读0次

编辑/etc/apt/sources.list文件

vim  /etc/apt/sources.list

替换源

deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

更新apt

apt-get update

相关文章

网友评论

      本文标题:apt-get替换源

      本文链接:https://www.haomeiwen.com/subject/wlzwgqtx.html