how to auto purge automatically installed packages using aptitude?
Jordon Bedwell
jordon at envygeeks.com
Fri Jul 16 04:36:45 UTC 2010
On 7/15/2010 11:09 PM, listofx wrote:
> Is there an equivalent command for aptitude which works like
> $ apt-get --purge autoremove pkg
>
> I have tried
> $ sudo aptitude --purge-unused remove xpdf
>
> and found that aptitude just removed xpdf package only and had other
> automatically installed packages left.
>
> In other words,
> $ aptitude remove xpdf
> is different with
> $ aptitude --purge-unused remove xpdf. The former would remove related
> packages which xpdf depends on. But the latter would not. I am not sure
> the actual meaning of --purge-unused. Or there is a bug revealed.
>
As aptitude says in the help, it doesn't have super cow powers, sadly.
It does have a purge, but that is only for direct dependencies. You'll
need to apt-get purge. Or you can use deborphan which I personally
prefer because I can backtrack mistakes with deborphan.
--
Cheers,
Jordon Bedwell
http://envygeeks.com
More information about the ubuntu-users
mailing list