[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I check the package I just installed



2011/7/16 Jimmy Wu <jimmywu013@gmail.com>:
> On Fri, 15 Jul 2011, 15:22+0200, lee <lee@yun.yagibdah.de> wrote:
>> lina <lina.lastname@gmail.com> writes:
>>
>> > After purge, reboot it came back to before.
>>
>> Perhaps it's better to use aptitude for installing and removing
>> packages.  The big advantage is that aptitude knows a difference between
>> automatically installed packages and packages the user requested to
>> install.  Thus when you install a package "XXX" that depends on other
>> packages, all needed packages will be installed.  When you later remove
>> the package "XXX", all the other packages "XXX" depends on that were
>> installed automatically will also be removed.
>
> Aptitude was recommended over apt-get for this reason back in Lenny, but
> as of 6.0 Squeeze, apt-get can also tracks automatically installed
> packages.  I couldn't find any conclusive snippets to quote from
> official documentation,

Perhaps, here it (confirmation from official documentation) is:

Debian Reference Chapter 2.5.5:
"In addition to the remotely fetched meta data, the APT tool after
lenny stores its locally generated installation state information in
the "/var/lib/apt/extended_states" which is used by all APT tools to
track all auto installed packages."




> but I think aptitude is now only recommended for
> interactive usage, while APT is preferred for scripts and command-line
> usage.
>
> Cheers,
> Jimmy
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20110716135939.GD13473@yertle.dyndns.org">http://lists.debian.org/[🔎] 20110716135939.GD13473@yertle.dyndns.org
>
>


Reply to: