Re: autoinstalled packages
>>>>> Sven Joachim <svenjoac@gmx.de> writes:
>>>>> On 2011-08-12 17:25 +0200, Ivan Shmakov wrote:
>>>>> Sven Joachim <svenjoac@gmx.de> writes:
[…]
>> Also there's the APT::Get::AutomaticRemove option, which, if set
>> to false, I expect to prevent APT from removing the
>> automatically installed packages.
> Well, apt-get and aptitude have different configuration keys and
> default values for them (apt-get defaults to not autoremove unused
> packages). That's a bit unfortunate, but since aptitude had always
> defaulted to autoremove unused packages and apt versions before 0.7
> could not even mark packages as automatically installed, this is
> understandable.
To be honest, I cannot recall that I've ever used aptitude(8),
so I guess that I've just confused OP's aptitude(8) invocation
with apt-get(8). My apologies for that.
>> However, what I'm interested in right now, is how do I access
>> the list of autoinstalled packages with plain APT or dpkg(1)?
> With apt, use "apt-mark showauto".
ACK. Thanks!
> With dpkg it's not possible since dpkg does not know about
> autoinstalled packages.
--
FSF associate member #7257
Reply to: