how to auto purge automatically installed packages using aptitude?
Tarball
74r84ll at gmail.com
Fri Jul 16 14:01:59 UTC 2010
On Thu, Jul 15, 2010 at 10:09 PM, listofx <listofx at gmail.com>
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
> otherautomatically 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.
Hello! I now this is not exactly what you want, but you can
remove all unused packages by upgrading like this:
$ sudo aptitude safe-upgrade
and the purge all removed packages whith:
$ sudo aptitude purge ~'c'
Good luck!
--
Tarball
<74r84ll at gmail.com>
More information about the ubuntu-users
mailing list