Is apt dependency resolution different as that of apt-get?

News and discussion about development of the Debian OS itself

Re: Is apt dependency resolution different as that of apt-ge

Postby L_V » 2020-01-28 07:41

Here is a good example to see the difference:
Code: Select all
apt search brotli
apt-cache search brotli
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: Is apt dependency resolution different as that of apt-ge

Postby fabien » 2020-02-01 16:08

Thank you all for your replies.
I used to use apt-get since aptitude was no more a recommended method for release to release upgrade because I don't like to mix this kind of utilities.
It's now absolutely clear that apt and apt-get can ultimately be considered as the same utilities as far as dependency resolution and package management are concerned. I therefore will indiscriminately use apt or apt-get.
Until now, I've noticed two apt enhancements over apt-get: the progress bar and dpkg messages enlightenment; the latter been of particular interest when performing distribution upgrades, I'm going to use apt in this case from now on.

In addition to @Head_on_a_Stick demonstration, I made my own test by performing three upgrades from Stretch to Buster with apt-get, apt and aptitude. After cleaning up remaining packages from Stretch, package list was exactly the same in the three cases, which is not good news for the relevance of my test since even aptitude did the same job.
Last edited by fabien on 2020-02-01 16:39, edited 1 time in total.
User avatar
fabien
 
Posts: 15
Joined: 2019-12-03 12:51
Location: Toulouse, France

Re: Is apt dependency resolution different as that of apt-ge

Postby wizard10000 » 2020-02-01 16:17

apt and apt-get don't have feature parity; e.g. apt doesn't support --dselect-upgrade

This is why apt-get is recommended for scripts :)
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 153
Joined: 2019-04-16 23:15
Location: southeastern us

Previous

Return to Debian Development

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable