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, 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]

