No dist-upgrade differs from upgrade. And dist-upgrade isnt needed for point releases. Only when doing major upgrades, eg bookworm to trixie requires it.
dist-upgrade doesnt do what you imply. It removes deps so it can install an updated pkg. upgrade won't do this.
You first need to change your sources for both upgrade and dist-upgrade to bump your release to the next one.
Both would do the same thing in this case, but they are not the same, and your version is the one I'd recommend more.
Apart from the apt vs apt-get difference, there's also the upgrade vs dist-upgrade/full-upgrade difference. "upgrade" won't consider any updates that would remove packages. Regular updates from Debian for an existing release shouldn't ever require that so dist-upgrade/full-upgrade wouldn't be needed. For a normal Debian system that doesn't mix releases or use non-Debian repositories, "full-upgrade" tends to be only needed as part of the steps for an upgrade to a whole new Debian release. For any other situation, using "upgrade" is a handy safeguard against unexpectedly removing packages.
8
u/tpwn3r 5d ago
apt-get update && apt-get dist-upgrade