如果使用国内源的话,一定要看源是否还更新。默认大家的网络都是可以的,就直接上官网的国外源,其实大部分情况下也不是慢的很夸张。
nano /etc/apt/sources.list.d/pve-enterprise.list
注释掉
nano /etc/apt/sources.list
deb https://mirror.sjtu.edu.cn/debian bullseye main contrib
deb https://mirror.sjtu.edu.cn/debian bullseye-updates main contrib
# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
# security updates
deb https://mirror.sjtu.edu.cn/debian-security bullseye-security main contrib
deb https://mirror.sjtu.edu.cn/debian bullseye main contrib deb https://mirror.sjtu.edu.cn/debian bullseye-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bullseye pve-no-subscription # security updates deb https://mirror.sjtu.edu.cn/debian-security bullseye-security main contrib
wget https://mirrors.ustc.edu.cn/proxmox/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
apt update && apt full-upgrade
lsblk -f
nano /etc/fstab
UUID=2e6f7fa7-f3a1-4b29-8f42-4c57bb06a512 /mnt/st2/ ext4 defaults,noatime,nofail 0 2