Bookworm(12) 已经开始用新的写法了,虽然新的写法试了下在 bullseye(11) 上也可以生效
软件源配置文件位于/etc/apt/source.list
资料: https://wiki.debian.org/SourcesList
1 | deb http://mirrors.163.com/debian/ jessie 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.