大叔资源备忘录

pve 7.2升级7.4

源的修改:

一、删除企业源:nano /etc/apt/sources.list.d/pve-enterprise.list

注释掉这句:

<p>##deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise</p><p> </p>

 

二、添加PVE官方GPG key:

wget http://mirrors.ustc.edu.cn/proxmox/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg

 

三、添加PVE官方源:

nano /etc/apt/sources.list.d/pve-install-repo.list

deb http://mirrors.ustc.edu.cn/proxmox/debian/pve/dists/  bullseye pve-no-subscription

四、添加Debian官方源并设置为国内阿里云源:

nano /etc/apt/sources.list

deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib

 

五、设置Ceph源为国内源:

nano /etc/apt/sources.list.d/ceph.list

deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-nautilus bullseye main

六、更新软件源并升级系统:

sudo apt update && sudo apt dist-upgrade

 

退出移动版