update debian packages code example Example: how to update all packages debian sudo apt update sudo apt full-upgrade