I'm trying to understand how aptitude works. I've downloaded all dependencies of a package (afaik all, by substituting empty dpkg status file). Later after substituting back current status file of the system when installing the package I saw apt install
tries to download a package that was listed in suggested
when I downloaded all dependencies. Suggested is later in list of packages to be upgraded when apt
/apt-get
was run w/out options.
How could such thing happen? I did tests as above for some packages before and had no need for suggested, so seems it is rare occurrence. I want to understand details of this case, how can I investigate? (I've run dpkg -s
and "suggested" one is shown as installed
, what else?). The package name, btw is kdenlive and one of "initially" suggested is poppler-utils.
I don't want to disable upgrades completely, I just don't want to upgrade suggested ones.
~$ aptitude why kdenlive poppler-utils
p kdenlive Depends libkf5filemetadata3 (>= 5.0.2+git20140925)
p libkf5filemetadata3 Recommends libkf5filemetadata-bin (= 5.92.0-0ubuntu1)
p libkf5filemetadata-bin Depends libpoppler-qt5-1 (>= 0.46.0)
p libpoppler-qt5-1 Depends libpoppler118 (= 22.02.0-2ubuntu0.2)
p libpoppler118 Recommends poppler-data
i poppler-data Suggests poppler-utils
aptitude why
is new command to me, thanks. I've added its output to the question. at the endSuggests poppler-utils
. It seems I'm back to original Q: if only suggests, why is it upgraded? – Martian2020 Oct 26 '23 at 15:28aptitude why
does not show that. Any "automated" way to see? – Martian2020 Oct 26 '23 at 15:32apt show poppler-utils
shows the strong dependency with a specific version. – Stephen Kitt Oct 26 '23 at 15:33aptitude why
does not show that. – Martian2020 Oct 26 '23 at 15:34