1cat > /etc/apt/sources.list << EOF
2# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
3deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
4# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
5
6deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
7# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
8
9deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
10# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
11
12# 以下安全更新软件源为官方源配置
13deb https://security.debian.org/debian-security bullseye-security main contrib non-free
14# deb-src https://security.debian.org/debian-security bullseye-security main contrib non-free
15
16EOF1cat > /etc/apt/sources.list << EOF
2
3# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
4deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
5# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
6
7deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
8# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
9
10deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
11# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
12
13# 以下安全更新软件源为官方源配置
14deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
15# deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
16
17EOF1cat > /etc/apt/sources.list.d/debian.sources << EOF
2
3Types: deb
4URIs: https://mirrors.tuna.tsinghua.edu.cn/debian
5Suites: bookworm bookworm-updates bookworm-backports
6Components: main contrib non-free non-free-firmware
7Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
8
9# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
10# Types: deb-src
11# URIs: https://mirrors.tuna.tsinghua.edu.cn/debian
12# Suites: bookworm bookworm-updates bookworm-backports
13# Components: main contrib non-free non-free-firmware
14# Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
15
16# 以下安全更新软件源为官方源配置
17Types: deb
18URIs: https://security.debian.org/debian-security
19Suites: bookworm-security
20Components: main contrib non-free non-free-firmware
21Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
22
23# Types: deb-src
24# URIs: https://security.debian.org/debian-security
25# Suites: bookworm-security
26# Components: main contrib non-free non-free-firmware
27# Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
28
29EOF1cat > /etc/apt/sources.list << EOF
2
3# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
4deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware
5# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware
6
7deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
8# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
9
10deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
11# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
12
13# 以下安全更新软件源为官方源配置
14deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
15# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
16
17EOF1cat > /etc/apt/sources.list.d/debian.sources << EOF
2
3Types: deb
4URIs: https://mirrors.tuna.tsinghua.edu.cn/debian
5Suites: trixie trixie-updates trixie-backports
6Components: main contrib non-free non-free-firmware
7Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
8
9# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
10# Types: deb-src
11# URIs: https://mirrors.tuna.tsinghua.edu.cn/debian
12# Suites: trixie trixie-updates trixie-backports
13# Components: main contrib non-free non-free-firmware
14# Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
15
16# 以下安全更新软件源为官方源配置
17Types: deb
18URIs: https://security.debian.org/debian-security
19Suites: trixie-security
20Components: main contrib non-free non-free-firmware
21Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
22
23# Types: deb-src
24# URIs: https://security.debian.org/debian-security
25# Suites: trixie-security
26# Components: main contrib non-free non-free-firmware
27# Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
28
29EOF1cat > /etc/apt/sources.list << EOF
2
3# 默认注释了源码仓库,如有需要可自行取消注释
4deb http://mirrors.ustc.edu.cn/debian bullseye main contrib non-free
5# deb-src http://mirrors.ustc.edu.cn/debian bullseye main contrib non-free
6deb http://mirrors.ustc.edu.cn/debian bullseye-updates main contrib non-free
7# deb-src http://mirrors.ustc.edu.cn/debian bullseye-updates main contrib non-free
8
9# backports 软件源,请按需启用
10# deb http://mirrors.ustc.edu.cn/debian bullseye-backports main contrib non-free
11# deb-src http://mirrors.ustc.edu.cn/debian bullseye-backports main contrib non-free
12
13EOF1cat > /etc/apt/sources.list.d/debian.sources << EOF
2
3Types: deb
4URIs: http://mirrors.ustc.edu.cn/debian
5Suites: bullseye bullseye-updates
6Components: main contrib non-free
7Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
8
9Types: deb
10URIs: http://mirrors.ustc.edu.cn/debian-security
11Suites: bullseye-security
12Components: main contrib non-free
13Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
14
15EOF1cat > /etc/apt/sources.list << EOF
2
3# 默认注释了源码仓库,如有需要可自行取消注释
4deb http://mirrors.ustc.edu.cn/debian bookworm main contrib non-free non-free-firmware
5# deb-src http://mirrors.ustc.edu.cn/debian bookworm main contrib non-free non-free-firmware
6deb http://mirrors.ustc.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
7# deb-src http://mirrors.ustc.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
8
9# backports 软件源,请按需启用
10# deb http://mirrors.ustc.edu.cn/debian bookworm-backports main contrib non-free non-free-firmware
11# deb-src http://mirrors.ustc.edu.cn/debian bookworm-backports main contrib non-free non-free-firmware
12
13EOF1cat > /etc/apt/sources.list.d/debian.sources << EOF
2
3Types: deb
4URIs: http://mirrors.ustc.edu.cn/debian
5Suites: bookworm bookworm-updates
6Components: main contrib non-free non-free-firmware
7Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
8
9Types: deb
10URIs: http://mirrors.ustc.edu.cn/debian-security
11Suites: bookworm-security
12Components: main contrib non-free non-free-firmware
13Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
14
15EOF1cat > /etc/apt/sources.list << EOF
2
3# 默认注释了源码仓库,如有需要可自行取消注释
4deb http://mirrors.ustc.edu.cn/debian trixie main contrib non-free non-free-firmware
5# deb-src http://mirrors.ustc.edu.cn/debian trixie main contrib non-free non-free-firmware
6deb http://mirrors.ustc.edu.cn/debian trixie-updates main contrib non-free non-free-firmware
7# deb-src http://mirrors.ustc.edu.cn/debian trixie-updates main contrib non-free non-free-firmware
8
9# backports 软件源,请按需启用
10# deb http://mirrors.ustc.edu.cn/debian trixie-backports main contrib non-free non-free-firmware
11# deb-src http://mirrors.ustc.edu.cn/debian trixie-backports main contrib non-free non-free-firmware
12
13EOF1cat > /etc/apt/sources.list.d/debian.sources << EOF
2
3Types: deb
4URIs: http://mirrors.ustc.edu.cn/debian
5Suites: trixie trixie-updates
6Components: main contrib non-free non-free-firmware
7Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
8
9Types: deb
10URIs: http://mirrors.ustc.edu.cn/debian-security
11Suites: trixie-security
12Components: main contrib non-free non-free-firmware
13Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
14
15EOFDebian 各类镜像区别