2011/7/16 Jimmy Wu <[email protected]>: > On Fri, 15 Jul 2011, 15:22+0200, lee <[email protected]> wrote: >> lina <[email protected]> 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 [email protected] > with a subject of "unsubscribe". Trouble? Contact [email protected] > Archive: http://lists.debian.org/[email protected] > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/cafdvufm0o4idcxexmlyzno1yfdrbni+fwt2zw3hxl346s2-...@mail.gmail.com

