Loading... # PVE9.1换源 **修改** `/etc/apt/sources.list` ```shell deb https://mirrors.ustc.edu.cn/debian/ trixie main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ trixie main contrib non-free deb https://mirrors.ustc.edu.cn/debian/ trixie-updates main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ trixie-updates main contrib non-free ``` **修改** `/etc/apt/sources.list.d/debian.sources` ```shell Types: deb URIs: https://mirrors.tuna.tsinghua.edu.cn/debian Suites: trixie trixie-updates trixie-backports Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 # Types: deb-src # URIs: https://mirrors.tuna.tsinghua.edu.cn/debian # Suites: trixie trixie-updates trixie-backports # Components: main contrib non-free non-free-firmware # Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg # 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换 Types: deb URIs: https://mirrors.tuna.tsinghua.edu.cn/debian-security Suites: trixie-security Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg # Types: deb-src # URIs: https://mirrors.tuna.tsinghua.edu.cn/debian-security # Suites: trixie-security # Components: main contrib non-free non-free-firmware # Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg ``` **备份** `/etc/apt/sources.list.d/pve-enterprise.sources` ```shell mv /etc/apt/sources.list.d/pve-enterprise.sources /etc/apt/sources.list.d/pve-enterprise.sources.bak ``` **创建** `pve-no-subscription.sources` ```shell nano /etc/apt/sources.list.d/pve-no-subscription.sources ``` **修改** `pve-no-subscription.sources` ```shell Types: deb URIs: https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve Suites: trixie Components: pve-no-subscription Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg ``` **修改** `ceph.sources` ```shell Types: deb URIs: https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/ceph-squid Suites: trixie Components: no-subscription Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg ``` **更新软件包列表** ```shell apt update ``` 参考:[https://blog.csdn.net/jstzjf/article/details/158916403](https://blog.csdn.net/jstzjf/article/details/158916403) 最后修改:2026 年 05 月 10 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏