[资料]debian 更改软件源

  • 1175 字
  • 次阅读

软件源配置文件位于/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

打赏
打赏提示信息
分享
分享提示信息