其他分享
首页 > 其他分享> > 添加apt源

添加apt源

作者:互联网

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
deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/debian jessie stable

 

然后更新源数据库

apt-get update

标签:jessie,non,mirrors.163,apt,添加,main,com,debian
来源: https://www.cnblogs.com/tonggc1668/p/11408447.html