Is apt dependency resolution different as that of apt-get?
Posted: 2020-01-25 19:36
Is apt dependency resolution algorithm different as that of apt-get?
apt(8) manual states «apt provides a high-level commandline interface for the package management system», from which I feel allowed to infer that it's merely a set of commands (and possibly prechosen options) over a lower infrastructure that does the real job. For me using apt or apt-get will therefore lead to the same result.
Moreover, Debian Reference '2.2.1. apt vs. apt-get / apt-cache vs. aptitude' https://www.debian.org/doc/manuals/debi ... de_literal says «The apt command is a high-level commandline interface for package management. It is basically a wrapper of apt-get, apt-cache and similar commands, originally intended as an end-user interface and enables some options better suited for interactive usage by default» and also «The use of "apt full-upgrade" or "apt-get dist-upgrade" is recommended for [the release-to-release system upgrade]»: apt OR apt-get, conveying once more the idea of same result.
But on the other hand, the Release Notes for Debian 10 '4.4. Upgrading packages' https://www.debian.org/releases/stable/ ... ngpackages indicates «The recommended way to upgrade from previous Debian releases is to use the package management tool apt», without mentioning apt-get. I think that's because they find apt a better advice for newcomers, but that also instills doubt even if they do not state not to use apt-get.
I find it important to be sure that apt and apt-get do the same job, because if they do not I want to be able to choose knowingly.
Has one of you experienced real differences between apt and apt-get? Or has one of you links to documents that may permit clear assessment? Thanks.
apt(8) manual states «apt provides a high-level commandline interface for the package management system», from which I feel allowed to infer that it's merely a set of commands (and possibly prechosen options) over a lower infrastructure that does the real job. For me using apt or apt-get will therefore lead to the same result.
Moreover, Debian Reference '2.2.1. apt vs. apt-get / apt-cache vs. aptitude' https://www.debian.org/doc/manuals/debi ... de_literal says «The apt command is a high-level commandline interface for package management. It is basically a wrapper of apt-get, apt-cache and similar commands, originally intended as an end-user interface and enables some options better suited for interactive usage by default» and also «The use of "apt full-upgrade" or "apt-get dist-upgrade" is recommended for [the release-to-release system upgrade]»: apt OR apt-get, conveying once more the idea of same result.
But on the other hand, the Release Notes for Debian 10 '4.4. Upgrading packages' https://www.debian.org/releases/stable/ ... ngpackages indicates «The recommended way to upgrade from previous Debian releases is to use the package management tool apt», without mentioning apt-get. I think that's because they find apt a better advice for newcomers, but that also instills doubt even if they do not state not to use apt-get.
I find it important to be sure that apt and apt-get do the same job, because if they do not I want to be able to choose knowingly.
Has one of you experienced real differences between apt and apt-get? Or has one of you links to documents that may permit clear assessment? Thanks.