Updating Packages (Ubuntu/Debian)
# Update package list
apt update
# Upgrade all packages
apt upgrade -y
# Clean up
apt autoremove -yUpgrading the Distribution
# Ubuntu 20.04 → 22.04
do-release-upgradeBefore Updating
- Create a server snapshot in the control panel
- Update during low-traffic periods
- Reboot after major upgrades