What?

Upgrade an Ubuntu Proxmox container.

How?

1. Go into your CT.

# pct enter CD_ID

2. Check your distribution:

# cat /etc/os-release

or

# lsb_release -a

3. Update and upgrade all the packages:

# sudo apt update
# sudo apt upgrade -y

4. Finally do the upgrade:

# do-release-upgrade

Several questions will be asked. Leaving default for a fresh system should be OK.

When services are installed on the host be more careful with your answers.

For detailed guides check the references.

References

  1. How to Upgrade from Ubuntu 22.04 to Ubuntu 24.04 LTS
  2. How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide

Upgrade Ubuntu Release in a Proxmox Container
Tagged on: