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

Re: Removing Unused Programs



Florian Kulzer wrote:
On Wed, Feb 07, 2007 at 22:01:46 +0100, Marcus Blumhagen wrote:
On Wed, Feb 07, 2007 at 09:25:53PM +0100, Mathias Brodala wrote:
[...]
Is there also an 'autopurge' option?
Not sure how Aptitude behaves on this but you can append --purge of course. This
will remove config files for the removed and automatically removed packages.
[...]
This is good news, AFAIK aptitude seems to purge the requested
package but only _removes_ the dependencies.

Guess I will then use plain apt again.

You can tell aptitude to purge unused packages:

$ man aptitude 2>/dev/null | grep -A3 purge-unused
       --purge-unused
          Purge packages that are no longer required by any installed package.
          This is equivalent to passing "-o Aptitude::Purge-Unused=true" as a
          command-line argument.

Does this command purge packages no longer required by "harvestman", or does it purge all unused packages?

   # aptitude --purge-unused purge harvestman

Can you do this without specifying a package?

--
Chris.



Reply to: