Server Cleanup
- Ubuntu
Post-Upgrade Cleanup
Verify the release
lsb_release -a
Validate the kernel version
uname -mrs
Update third-party repositories and remove unnecessary packages
sudo apt update -y
sudo apt upgrade -y
sudo apt dist-upgrade -y
sudo apt autoremove -y
sudo apt autoclean -y