Debian 12默认官方源sources.list

3 分享, 教程
备份现有apt源配置 mv /etc/apt/sources.list /etc/apt/sources.list.old 替换为默认官方源 cat > /etc/apt/sources.list << EOF deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb-src https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmwar…

Debian 11默认官方源/清华源/中科大源/腾讯云源/阿里云源/Linode源sources.list

41 分享
一、备份现有apt源配置 mv /etc/apt/sources.list /etc/apt/sources.list.old 二、替换为其他apt源 1、替换为默认官方源 这是一条命令,全部复制后,直接粘贴然后一起执行。 cat > /etc/apt/sources.list << EOF deb https://deb.debian.org/debian/ bullseye main contrib non-free deb-src https://deb.debian.org/debian/ bullseye main contrib non-free deb https://deb.debian.org/debian/ bullseye-update…