Upgrading from ubuntu 22.04 to 24.04
Before upgrade¶
- Backup your data.
- Use
ppa-purge
to remove currently activated PPAs. The unremovablegit-lfs
gave me headache for several hours.
Upgrade command¶
sudo do-release-upgrade
DNS resolve error¶
systemd-resolved
might not be installed after upgrade, to solve the issue:
sudo apt update && sudo apt install systemd-resolved
You might need to add an DNS server temporarily to have internet access
"nameserver 1.1.1.1" >> /etc/resolv.conf