nano /etc/apt/sources.list
#deb http://ftp.debian.org/debian bookworm main contrib
deb http://mirrors.163.com/debian bookworm main contrib
#deb http://ftp.debian.org/debian bookworm-updates main contrib
deb http://mirrors.163.com/debian bookworm-updates main contrib
security updates
deb http://mirrors.163.com/debian-security bookworm-security main contrib
nano /etc/apt/sources.list.d/ceph.list pve
deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy bookworm no-subscription
deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-pacific bullseye main
deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-octopus/ bullseye main
更新pve的源为中科大的源
nano /etc/apt/sources.list.d/pve-enterprise.list pve
#中科大的更新源
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription
配置完后,
apt-get update
apt-get dist-upgrade
再在web界面中更新ceph即可。