On Jul 31, 2010, at 00:34, Philip Neukom wrote:

> I did the update to Macports 1.9.1 today.  And had all applications
> updated.  Afterwards I did a "port clean --all all" and a
> "port_cutleaves" to get rid of all the inactive ports.
> 
> But when I do the "port installed", I have a list with many many
> programs like in the list below....
> 
> ---cut start---
> The following ports are currently installed:
>  aspell @0.60.6_3+macosx (active)
>  aspell-dict-en @6.0_0 (active)
>  atk @1.28.0_0
>  atk @1.30.0_0 (active)
> ...
>  ghostscript @8.70_0
>  ghostscript @8.70_1
>  ghostscript @8.71_1
>  ghostscript @8.71_2
>  ghostscript @8.71_3
>  ghostscript @8.71_4 (active)
> ...
> ---cut end---
> 
> How do I get rid of all of the programs that are not active but also not
> inactive (ie. atk @1.28.0_0, ghostscript @8.70_0, ghostscript @8.70_1,
> ghostscript @8.70_2, ghostscript @8.70_3 etc. etc.?

Well, a port is either active or it is inactive. To uninstall all the inactive 
ports, you could use

sudo port uninstall inactive

If you want to avoid leaving behind old versions when upgrading, use the -u 
switch when upgrading, i.e.

sudo port -u upgrade ghostscript

or

sudo port -u upgrade outdated


_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to