今天完成了Proxmox Virtual Environment 从8升级到9。

### 升级前准备

确保您的所有节点都已升级到 Proxmox VE 8.4 的最新版本。

```shell
apt update && apt dist-upgrade
pveversion
```

### 检查是否满足升级条件

```shell
pve8to9
```

```shell
pve8to9 --full
```

需要 ·SUMMARY· 里没有警错误才能执行升级

### 备份 APT 软件源

```shell
cp /etc/apt/sources.list /etc/apt/sources.list.pve-old
cp /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.old
```

### 切换 APT 软件源

```shell
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list.d/pve-enterprise.list
```

### 刷新软件包索引

```shell
apt update
```

### 开始升级

```shell
apt dist-upgrade
```

```shell
apt full-upgrade
```

如出现更新日志按 `q` 键退出

后续提示可以默认按 `回车` 键继续

### 查看系统版本

```shell
cat /etc/debian_version
```

最后修改:2025 年 08 月 10 日
如果觉得我的文章对你有用,请随意赞赏