Debian 源文件替换

Debian

配置修改

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

debian7.x(wheezy)
deb http://mirrors.cloud.tencent.com/debian wheezy main contrib non-free
deb http://mirrors.cloud.tencent.com/debian wheezy-updates main contrib non-free
#deb http://mirrors.cloud.tencent.com/debian wheezy-proposed-updates main contrib non-free
#deb http://mirrors.cloud.tencent.com/debian wheezy-backports main contrib non-free
#deb http://mirrors.cloud.tencent.com/debian wheezy-backports-sloppy main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian wheezy main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian wheezy-updates main contrib non-free
#deb-src http://mirrors.cloud.tencent.com/debian wheezy-proposed-updates main contrib non-free
#deb-src http://mirrors.cloud.tencent.com/debian wheezy-backports main contrib non-free
#deb-src http://mirrors.cloud.tencent.com/debian wheezy-backports-sloppy main contrib non-free
debian 8.x (jessie)
deb http://mirrors.cloud.tencent.com/debian jessie main contrib non-free
deb http://mirrors.cloud.tencent.com/debian jessie-updates main contrib non-free
#deb http://mirrors.cloud.tencent.com/debian jessie-backports main contrib non-free
#deb http://mirrors.cloud.tencent.com/debian jessie-proposed-updates main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian jessie main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian jessie-updates main contrib non-free
#deb-src http://mirrors.cloud.tencent.com/debian jessie-backports main contrib non-free
#deb-src http://mirrors.cloud.tencent.com/debian jessie-proposed-updates main contrib non-free
debian9.x(stretch)
deb http://mirrors.cloud.tencent.com/debian stretch main contrib non-free
deb http://mirrors.cloud.tencent.com/debian stretch-updates main contrib non-free
#deb http://mirrors.cloud.tencent.com/debian stretch-backports main contrib non-free
#deb http://mirrors.cloud.tencent.com/debian stretch-proposed-updates main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian stretch main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian stretch-updates main contrib non-free
#deb-src http://mirrors.cloud.tencent.com/debian stretch-backports main contrib non-free
#deb-src http://mirrors.cloud.tencent.com/debian stretch-proposed-updates main contrib non-free
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

posted @ 2022-07-03 16:57  快乐的在一起  阅读(381)  评论(0编辑  收藏  举报