Home > Linux Knowledge > Ubuntu Server Maintenance
published 2024-01-03, updated 2024-01-03
- Create package list: dpkg --get-selections > packages.list
- Download package list: scp user@server.domain:packages.list ~/packages.list
- sudo apt update && sudo apt upgrade
- sudo apt autoremove --purge
- sudo apt install update-manager-core
- sudo do-release-upgrade -c
- sudo do-release-upgrade