Debian 安全更新使用帮助

地址

https://mirrors.cqu.edu.cn/debian-security

说明

Debian 安全更新

收录架构

  • x86
  • x86_64
  • armel
  • arm64
  • ppc64el
  • source code

收录版本

  • old stable (Debian 8 jessie)
  • old stable (Deibian 9 stretch)
  • stable (Debian 10 buster)
  • testing (bullseye)

使用说明

一般情况下,用户获取安全更新应该直接使用http://security.debian.org/debian-security而非指定别的镜像站。
Debian 的安全更新源是为了使安全更新尽快可用
使用非官方镜像站会让此增加不必要的麻烦,尤其是这些镜像站没有及时更新时。 详见 https://www.debian.org/security/

默认情况下,以下命令可以将默认软件源(security.debian.org/debian-security)替换为重庆大学镜像站(mirrors.cqu.edu.cn/debian-security)并启用安全更新:

sudo sed -i 's|#*deb http://security.debian.org|deb https://mirrors.cqu.edu.cn|' /etc/apt/sources.list
如果出现“USERNAME 不在 sudoers 文件中。此事将被报告”或“USERNAME is not in the sudoers file. This incident will be reported.”

另外,您亦可手动编辑/etc/apt/sources.list(TODO)。