Debian

配置修改

Debian源的使用需要以root权限修改/etc/apt/sources.list配置文件,修改之前,请做好备份

debian7.x(wheezy)old
debian7已移入archive源,配置方式如下(各仓库按需使用):

deb http://mirrors.tencentyun.com/debian-archive/debian wheezy main
#deb http://mirrors.tencentyun.com/debian-archive/debian wheezy-backports main
#deb http://mirrors.tencentyun.com/debian-archive/debian wheezy-backports-sloppy main
deb http://mirrors.tencentyun.com/debian-archive/debian-security stretch/updates main
debian 8.x (jessie)
debian8已移入archive源,配置方式如下(各仓库按需使用):

deb http://mirrors.tencentyun.com/debian-archive/debian jessie main
#deb http://mirrors.tencentyun.com/debian-archive/debian jessie-backports main
#deb http://mirrors.tencentyun.com/debian-archive/debian jessie-backports-sloppy main
deb http://mirrors.tencentyun.com/debian-archive/debian-security jessie/updates main

debian9.x(stretch)
debian9已移入archive源,配置方式如下(各仓库按需使用):

deb http://mirrors.tencentyun.com/debian-archive/debian stretch main
#deb http://mirrors.tencentyun.com/debian-archive/debian stretch-backports main
#deb http://mirrors.tencentyun.com/debian-archive/debian stretch-backports-sloppy main
#deb http://mirrors.tencentyun.com/debian-archive/debian stretch-proposed-updates main
deb http://mirrors.tencentyun.com/debian-archive/debian-security stretch/updates main

debian10.x(buster)
deb https://mirrors.cloud.tencent.com/debian/ buster main contrib non-free
deb https://mirrors.cloud.tencent.com/debian/ buster-updates main contrib non-free
deb https://mirrors.cloud.tencent.com/debian/ buster-backports main contrib non-free
deb https://mirrors.cloud.tencent.com/debian-security buster/updates main contrib non-free
deb-src https://mirrors.cloud.tencent.com/debian/ buster main contrib non-free
deb-src https://mirrors.cloud.tencent.com/debian/ buster-updates main contrib non-free
deb-src https://mirrors.cloud.tencent.com/debian/ buster-backports main contrib non-free
deb-src https://mirrors.cloud.tencent.com/debian-security buster/updates main contrib non-free

更新缓存
apt-get clean all
apt-get update

相关链接

官方主页: https://www.debian.org/
邮件列表: https://www.debian.org/MailingLists/
Wiki: https://wiki.debian.org/
文档: https://www.debian.org/doc/
镜像列表:https://www.debian.org/mirror/list

提示

文件列表项中的帮助链接为Linux发行版本软件的安装源的帮助,如果您有任何不懂可以点击获取相应的帮助。

若您使用腾讯云服务器,请将源的域名从 mirrors.cloud.tencent.com 改为 mirrors.tencentyun.com,使用内网流量不占用公网流量。

常用链接