Perform the Upgrade

With the repositories pointed at trixie, you can now upgrade the system to Proxmox VE 9.x.

Danger

Use a console or IPMI session if possible. If you must use SSH, run the upgrade inside a terminal multiplexer such as tmux so it continues even if your connection drops.

Refresh the package index and start the distribution upgrade:

apt update
apt dist-upgrade

Review the summary of packages to be upgraded, then confirm to proceed.

Answering configuration prompts

During the upgrade, apt may ask what to do about modified configuration files. Unless you have made manual changes, the following answers are safe:

Configuration file prompts

File

Recommended answer

/etc/issue

Keep the currently-installed version (cosmetic only).

/etc/default/grub

Keep your current version (unless you edited it manually).

/etc/ssh/sshd_config

Install the package maintainer’s version (moves off deprecated options).

Warning

If you are unsure about a prompt, keep your currently-installed version. NETLAB+-managed network configuration lives in /etc/network/interfaces and /etc/network/interfaces.d/ — do not overwrite these files.

The upgrade can take several minutes to an hour depending on storage speed. Allow it to finish without interruption.

Reboot

Once apt dist-upgrade completes successfully, reboot to load the new Proxmox VE 9 kernel:

reboot

Note

Reboot even if you previously opted into a newer kernel on Proxmox VE 8 — the kernel is rebuilt for Proxmox VE 9.

When the host comes back up, continue with Post-Upgrade Tasks.