个人小站

[资料]debian 更改软件源

字数统计: 217阅读时长: 1 min
2018/04/29

软件源配置文件位于/etc/apt/source.list
资料: https://wiki.debian.org/SourcesList

1
2
3
4
5
6
7
8
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

其中jessie 为系统版本代号(可用lsb_release -a进行确认),须与当前系统保持一致
在例如Debian 9就是 stretch

main consists of DFSG-compliant packages, which do not rely on software outside this area to operate. These are the only packages considered part of the Debian distribution.

contrib packages contain DFSG-compliant software, but have dependencies not in main (possibly packaged for Debian in non-free).

non-free contains software that does not comply with the DFSG.

DFSG: https://www.debian.org/social_contract#guidelines

原文作者:ted423

原文链接:http://ted423.github.io/Document/apt-source/

发表日期:April 29th 2018, 6:37:00 pm

更新日期:April 29th 2018, 6:37:00 pm

版权声明:本站原创内容(一般是语句不通顺的那种)采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可,转载内容以及不带个人观点的分享不在此例,摘抄有Wiki的内容的文章统一根据Wiki采用 CC BY-SA 3.0

CATALOG