What?
Upgrade an Ubuntu Proxmox container.
How?
1. Go into your CT.
# pct enter CD_ID2. Check your distribution:
# cat /etc/os-releaseor
# lsb_release -a3. Update and upgrade all the packages:
# sudo apt update# sudo apt upgrade -y4. Finally do the upgrade:
# do-release-upgradeSeveral 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
- How to Upgrade from Ubuntu 22.04 to Ubuntu 24.04 LTS
- How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide
Upgrade Ubuntu Release in a Proxmox Container