Yes, I read the man page, where it says it can add new and remove some. That's what the command does, just because you can, doesn't mean it's the best way to go about it.. If you want to upgrade Debian stable, according to The Debian Administrator's Handbook - https://www.debian.org/doc//manuals/deb ... ex.en.htmlMagicPoulp wrote:I am 100% sure dist-upgrade is correct on debian. (but very dangerous on Ubuntu if you have experience there). If dist-upgrade breaks your debian, then you did not follow the anti franken debian best practices.
run man apt-get
6.2. aptitude, apt-get, and apt Commands - https://www.debian.org/doc//manuals/deb ... et.en.html
6.2.3. System Upgrade
Regular upgrades are recommended, because they include the latest security updates. To upgrade, use apt upgrade, apt-get upgrade or aptitude safe-upgrade (of course after apt update).
apt-get dist-upgrade is indeed a Debian command - it is not intended for routine upgrades for a system running stable... at least not the way Debian has it documented. Running Debian Bullseye testing or sid it is recommended.For more important upgrades, such as the change from one major Debian version to the next, you need to use apt full-upgrade. With this instruction, apt will complete the upgrade even if it has to remove some obsolete packages or install new dependencies. This is also the command used by users who work daily with the Debian Unstable release and follow its evolution day by day. It is so simple that it hardly needs explanation: APT's reputation is based on this great functionality.
Unlike apt and aptitude, apt-get doesn't know the full-upgrade command. Instead, you should use apt-get dist-upgrade (”distribution upgrade”), the historical and well-known command that apt and aptitude also accept for the convenience of users who got used to it.
As for apt vs apt-get - from the begining of the article
(don't have to like it )apt is a second command-line based front end provided by APT which overcomes some design mistakes of apt-get.
Both tools are built on top of the same library and are thus very close, but the default behavior of apt has been improved for interactive use and to actually do what most users expect.