#备忘# 恢复Debian 13默认的APT更新源

之前胡乱瞎弄,结果把apt源弄乱了,结果现在想还原。网上搜了一下,不过最好还是弄之前备份一下。以下是Debian 13的默认apt源

把如下内容粘贴到 /etc/apt/sources.list

deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian trixie main contrib non-free non-free-firmware

deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware

deb http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

Debian 13也支持新的deb822格式(创建文件 /etc/apt/sources.list.d/debian.sources)

Types: deb deb-src
URIs: https://deb.debian.org/debian
Suites: trixie trixie-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb deb-src
URIs: https://deb.debian.org/debian-security
Suites: trixie-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

猜你 喜欢

关于作者: 微魔

小微魔,大智慧!

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注