Re: aptitude configuration
On Mon, 2 Jun 2025 10:33:57 +0200
Frank Guthausen <fg.debian@shimps.de> wrote:
> Hello.
>
> I use ``aptitude'' with configuration below ``/etc/apt/''.
>
> From some old legacy configuration and an online manpage[1]
> recommended packages are included or excluded by
> ``Aptitude::Recommends-Important'' option when using ``aptitude''.
>
> The manpage of an installed system `´man aptitude'' claims the option
> to be `` APT::Install-Recommends'' which is the same as for
> ``apt-get''.
>
> Did this option change in the past in I missed that? I'm a little
> confused. I can trace back hints to the former version being mentioned
> in 2007. There is at least a good chance I missed something.
>
Yes, but must have been a long time ago. From
/usr/share/aptitude/README:
Option: Aptitude::Ignore-Recommends-Important
Default: false
Description: In previous versions of aptitude, the setting
Aptitude::Recommends-Important caused recommendations to be installed
automatically, the same way that APT::Install-Recommends does today.
If this option is set to false and Aptitude::Recommends-Important is
also set to false, aptitude will set APT::Install-Recommends to
false and set Aptitude::Ignore-Recommends-Important to true on
startup.
Hope that helps.
Reply to: