cutting the tree: is there a way to remove leaves recursivelly?

Lars Sonchocky-Helldorf lars.sonchocky-helldorf at hamburg.de
Fri Feb 7 08:08:38 PST 2014


After a failed "sudo port -v upgrade outdated" last night and seeing, that a port I did not request failed I decided to do a little housekeeping. Those are the ports I requested once:


MBP15:~ lars$ port installed requested
The following ports are currently installed:
  ffmpeg @1.1.2_0+gpl2
  ffmpeg @1.2_1+gpl2
  ffmpeg @1.2.2_0+gpl2
  ffmpeg @2.1.3_1+gpl2 (active)
  fontforge @20120731_0
  fontforge @20120731_1
  fontforge @20120731_3 (active)
  git-core @1.8.1.3_0+credential_osxkeychain+doc+pcre+python27
  git-core @1.8.2.1_0+credential_osxkeychain+doc+pcre+python27
  git-core @1.8.3.4_0+credential_osxkeychain+doc+pcre+python27
  git-core @1.8.5.3_0+credential_osxkeychain+doc+pcre+perl5_16+python27 (active)
  mercurial @2.5.2_0
  mercurial @2.6.3_1 (active)
  mjpegtools @2.0.0_3+x11 (active)
  MPlayer @1.1_3
  MPlayer @1.1_4
  MPlayer @1.1_5 (active)
  p5-image-exiftool @9.60.0_0 (active)
  py27-pil @1.1.7_6 (active)
  rtmpdump @2.3_0
  rtmpdump @2.4_0 (active)
  xorg @20090316_0 (active)


Now lets see what else we've got:


MBP15:~ lars$ port echo leaves
autoconf                       @2.69_0 
autoconf                       @2.69_1 
autoconf                       @2.69_2 
automake                       @1.13.1_0 
automake                       @1.14_0 
automake                       @1.14.1_0 
boehmgc                        @7.2d_0 
boehmgc                        @7.4.0_0 
boost                          @1.52.0_1+no_single+no_static+python27 
boost                          @1.53.0_1+no_single+no_static+python27 
boost                          @1.54.0_0+no_single+no_static+python27 
boost                          @1.55.0_1+no_single+no_static+python27 
clang-3.3                      @3.3_2+analyzer+python27 
gnome-doc-utils                @0.20.10_0+python27 
gsl                            @1.15_2 
gsl                            @1.16_2 
gtk-doc                        @1.18_0+python27 
gtk-doc                        @1.18_3+python27 
gtkmm                          @2.24.2_1 
gtkmm                          @2.24.3_0 
gtkmm                          @2.24.4_0+x11 
gtkmm                          @2.24.4_1+x11 
gtkspell2                      @2.0.16_2 
gtkspell2                      @2.0.16_4+x11 
gtkspell2                      @2.0.16_5+x11 
ImageMagick                    @6.8.0-7_2+q16 
ImageMagick                    @6.8.6-6_0+x11 
ImageMagick                    @6.8.8-3_1+x11 
intltool                       @0.50.2_0 
intltool                       @0.50.2_2+perl5_12 
libwpg                         @0.2.1_0 
libwpg                         @0.2.2_0 
poppler                        @0.22.1_0 
poppler                        @0.22.3_0 
poppler                        @0.24.0_0 
py27-lxml                      @2.3.2_0 
py27-lxml                      @3.2.1_0 
py27-numpy                     @1.6.2_1 
py27-numpy                     @1.7.1_0 
py27-setuptools                @0.9.8_0 
xorg-util-macros               @1.17_0 


remove all this:


MBP15:~ lars$ sudo port uninstall leaves
Password:
--->  Uninstalling autoconf @2.69_0
--->  Cleaning autoconf
--->  Uninstalling autoconf @2.69_1
--->  Cleaning autoconf
--->  Deactivating autoconf @2.69_2
--->  Cleaning autoconf
--->  Uninstalling autoconf @2.69_2
--->  Cleaning autoconf
--->  Uninstalling automake @1.13.1_0
--->  Cleaning automake
--->  Uninstalling automake @1.14_0
--->  Cleaning automake
--->  Deactivating automake @1.14.1_0
--->  Cleaning automake
--->  Uninstalling automake @1.14.1_0
--->  Cleaning automake
--->  Uninstalling boehmgc @7.2d_0
--->  Cleaning boehmgc
--->  Deactivating boehmgc @7.4.0_0
--->  Cleaning boehmgc
--->  Uninstalling boehmgc @7.4.0_0
--->  Cleaning boehmgc
--->  Uninstalling boost @1.52.0_1+no_single+no_static+python27
--->  Cleaning boost
--->  Uninstalling boost @1.53.0_1+no_single+no_static+python27
--->  Cleaning boost
--->  Uninstalling boost @1.54.0_0+no_single+no_static+python27
--->  Cleaning boost
--->  Deactivating boost @1.55.0_1+no_single+no_static+python27
--->  Cleaning boost
--->  Uninstalling boost @1.55.0_1+no_single+no_static+python27
--->  Cleaning boost
--->  Deactivating clang-3.3 @3.3_2+analyzer+python27
--->  Cleaning clang-3.3
--->  Uninstalling clang-3.3 @3.3_2+analyzer+python27
--->  Cleaning clang-3.3
--->  Deactivating gnome-doc-utils @0.20.10_0+python27
--->  Cleaning gnome-doc-utils
--->  Uninstalling gnome-doc-utils @0.20.10_0+python27
--->  Cleaning gnome-doc-utils
--->  Uninstalling gsl @1.15_2
--->  Cleaning gsl
--->  Deactivating gsl @1.16_2
--->  Cleaning gsl
--->  Uninstalling gsl @1.16_2
--->  Cleaning gsl
--->  Uninstalling gtk-doc @1.18_0+python27
--->  Cleaning gtk-doc
--->  Deactivating gtk-doc @1.18_3+python27
--->  Cleaning gtk-doc
--->  Uninstalling gtk-doc @1.18_3+python27
--->  Cleaning gtk-doc
--->  Uninstalling gtkmm @2.24.2_1
--->  Cleaning gtkmm
--->  Uninstalling gtkmm @2.24.3_0
--->  Cleaning gtkmm
--->  Uninstalling gtkmm @2.24.4_0+x11
--->  Cleaning gtkmm
--->  Deactivating gtkmm @2.24.4_1+x11
--->  Cleaning gtkmm
--->  Uninstalling gtkmm @2.24.4_1+x11
--->  Cleaning gtkmm
--->  Uninstalling gtkspell2 @2.0.16_2
--->  Cleaning gtkspell2
--->  Uninstalling gtkspell2 @2.0.16_4+x11
--->  Cleaning gtkspell2
--->  Deactivating gtkspell2 @2.0.16_5+x11
--->  Cleaning gtkspell2
--->  Uninstalling gtkspell2 @2.0.16_5+x11
--->  Cleaning gtkspell2
--->  Uninstalling ImageMagick @6.8.0-7_2+q16
--->  Cleaning ImageMagick
--->  Uninstalling ImageMagick @6.8.6-6_0+x11
--->  Cleaning ImageMagick
--->  Deactivating ImageMagick @6.8.8-3_1+x11
--->  Cleaning ImageMagick
--->  Uninstalling ImageMagick @6.8.8-3_1+x11
--->  Cleaning ImageMagick
--->  Uninstalling intltool @0.50.2_0
--->  Cleaning intltool
--->  Deactivating intltool @0.50.2_2+perl5_12
--->  Cleaning intltool
--->  Uninstalling intltool @0.50.2_2+perl5_12
--->  Cleaning intltool
--->  Uninstalling libwpg @0.2.1_0
--->  Cleaning libwpg
--->  Deactivating libwpg @0.2.2_0
--->  Cleaning libwpg
--->  Uninstalling libwpg @0.2.2_0
--->  Cleaning libwpg
--->  Uninstalling poppler @0.22.1_0
--->  Cleaning poppler
--->  Uninstalling poppler @0.22.3_0
--->  Cleaning poppler
--->  Deactivating poppler @0.24.0_0
--->  Cleaning poppler
--->  Uninstalling poppler @0.24.0_0
--->  Cleaning poppler
--->  Uninstalling py27-lxml @2.3.2_0
--->  Cleaning py27-lxml
--->  Deactivating py27-lxml @3.2.1_0
--->  Cleaning py27-lxml
--->  Uninstalling py27-lxml @3.2.1_0
--->  Cleaning py27-lxml
--->  Uninstalling py27-numpy @1.6.2_1
--->  Cleaning py27-numpy
--->  Deactivating py27-numpy @1.7.1_0
--->  Cleaning py27-numpy
--->  Uninstalling py27-numpy @1.7.1_0
--->  Cleaning py27-numpy
--->  Deactivating py27-setuptools @0.9.8_0
--->  Cleaning py27-setuptools
--->  Uninstalling py27-setuptools @0.9.8_0
--->  Cleaning py27-setuptools
--->  Deactivating xorg-util-macros @1.17_0
--->  Cleaning xorg-util-macros
--->  Uninstalling xorg-util-macros @1.17_0
--->  Cleaning xorg-util-macros


retry, and now there's other stuff surfaced. And so on. Until nothing is left. 

Can't this be done recursively in just one command?


MBP15:~ lars$ port echo leaves
atkmm                          @2.22.6_0 
atkmm                          @2.22.7_0 
atkmm                          @2.22.7_1 
clang_select                   @0.1_0 
djvulibre                      @3.5.25_8 
docbook-xml                    @5.0_2 
docbook-xsl                    @1.76.1_1 
docbook-xsl                    @1.78.0_0 
docbook-xsl                    @1.78.1_0 
enchant                        @1.6.0_1 
fop                            @1.1_0 
ghostscript                    @9.06_3 
ghostscript                    @9.10_2+x11 
help2man                       @1.41.1_0 
help2man                       @1.41.2_0 
help2man                       @1.43.3_1 
iso-codes                      @3.40_0 
iso-codes                      @3.43_0 
ld64                           @127.2_6+llvm33 
libwpd                         @0.9.6_0 
libwpd                         @0.9.7_0 
libwpd                         @0.9.8_0 
m4                             @1.4.16_0 
openjade                       @1.3.2_7 
p5.12-getopt-long              @2.380.0_3 
p5.12-getopt-long              @2.400.0_0 
p5.12-getopt-long              @2.420.0_0 
p5.12-pathtools                @3.330.0_3 
p5.12-scalar-list-utils        @1.230.0_3 
p5.12-scalar-list-utils        @1.270.0_3 
p5.12-scalar-list-utils        @1.350.0_0 
pangomm                        @2.28.4_1 
pangomm                        @2.34.0_1+x11 
pangomm                        @2.34.0_2+x11 
pkgconfig                      @0.27.1_2 
pkgconfig                      @0.28_0 
poppler-data                   @0.4.6_0 
py27-libxml2                   @2.8.0_0 
py27-libxml2                   @2.9.0_0 
py27-libxml2                   @2.9.1_0 
py27-nose                      @1.2.1_1 
rarian                         @0.8.1_0 
rarian                         @0.8.1_1 
urw-fonts                      @1.0.7pre44_0 
webp                           @0.2.1_2 
webp                           @0.3.0_0 
webp                           @0.3.1_0 
webp                           @0.4.0_0 
MBP15:~ lars$ sudo port uninstall leaves
--->  Uninstalling atkmm @2.22.6_0
--->  Cleaning atkmm
--->  Uninstalling atkmm @2.22.7_0
--->  Cleaning atkmm
--->  Deactivating atkmm @2.22.7_1
--->  Cleaning atkmm
--->  Uninstalling atkmm @2.22.7_1
--->  Cleaning atkmm
--->  Deactivating clang_select @0.1_0
--->  Cleaning clang_select
--->  Uninstalling clang_select @0.1_0
--->  Cleaning clang_select
--->  Deactivating djvulibre @3.5.25_8
--->  Cleaning djvulibre
--->  Uninstalling djvulibre @3.5.25_8
--->  Cleaning djvulibre
--->  Deactivating docbook-xml @5.0_2
--->  Cleaning docbook-xml
--->  Uninstalling docbook-xml @5.0_2
--->  Cleaning docbook-xml
--->  Uninstalling docbook-xsl @1.76.1_1
--->  Cleaning docbook-xsl
--->  Uninstalling docbook-xsl @1.78.0_0
--->  Cleaning docbook-xsl
--->  Deactivating docbook-xsl @1.78.1_0
--->  Cleaning docbook-xsl
--->  Uninstalling docbook-xsl @1.78.1_0
--->  Cleaning docbook-xsl
--->  Deactivating enchant @1.6.0_1
--->  Cleaning enchant
--->  Uninstalling enchant @1.6.0_1
--->  Cleaning enchant
--->  Deactivating fop @1.1_0
--->  Cleaning fop
--->  Uninstalling fop @1.1_0
--->  Cleaning fop
--->  Uninstalling ghostscript @9.06_3
--->  Cleaning ghostscript
--->  Deactivating ghostscript @9.10_2+x11
--->  Cleaning ghostscript
--->  Uninstalling ghostscript @9.10_2+x11
--->  Cleaning ghostscript
--->  Uninstalling help2man @1.41.1_0
--->  Cleaning help2man
--->  Uninstalling help2man @1.41.2_0
--->  Cleaning help2man
--->  Deactivating help2man @1.43.3_1
--->  Cleaning help2man
--->  Uninstalling help2man @1.43.3_1
--->  Cleaning help2man
--->  Uninstalling iso-codes @3.40_0
--->  Cleaning iso-codes
--->  Deactivating iso-codes @3.43_0
--->  Cleaning iso-codes
--->  Uninstalling iso-codes @3.43_0
--->  Cleaning iso-codes
--->  Deactivating ld64 @127.2_6+llvm33
--->  Cleaning ld64
--->  Uninstalling ld64 @127.2_6+llvm33
--->  Cleaning ld64
--->  Uninstalling libwpd @0.9.6_0
--->  Cleaning libwpd
--->  Uninstalling libwpd @0.9.7_0
--->  Cleaning libwpd
--->  Deactivating libwpd @0.9.8_0
--->  Cleaning libwpd
--->  Uninstalling libwpd @0.9.8_0
--->  Cleaning libwpd
--->  Deactivating m4 @1.4.16_0
--->  Cleaning m4
--->  Uninstalling m4 @1.4.16_0
--->  Cleaning m4
--->  Deactivating openjade @1.3.2_7
--->  Cleaning openjade
--->  Uninstalling openjade @1.3.2_7
--->  Cleaning openjade
--->  Uninstalling p5.12-getopt-long @2.380.0_3
--->  Cleaning p5.12-getopt-long
--->  Uninstalling p5.12-getopt-long @2.400.0_0
--->  Cleaning p5.12-getopt-long
--->  Deactivating p5.12-getopt-long @2.420.0_0
--->  Cleaning p5.12-getopt-long
--->  Uninstalling p5.12-getopt-long @2.420.0_0
--->  Cleaning p5.12-getopt-long
--->  Deactivating p5.12-pathtools @3.330.0_3
--->  Cleaning p5.12-pathtools
--->  Uninstalling p5.12-pathtools @3.330.0_3
--->  Cleaning p5.12-pathtools
--->  Uninstalling p5.12-scalar-list-utils @1.230.0_3
--->  Cleaning p5.12-scalar-list-utils
--->  Uninstalling p5.12-scalar-list-utils @1.270.0_3
--->  Cleaning p5.12-scalar-list-utils
--->  Deactivating p5.12-scalar-list-utils @1.350.0_0
--->  Cleaning p5.12-scalar-list-utils
--->  Uninstalling p5.12-scalar-list-utils @1.350.0_0
--->  Cleaning p5.12-scalar-list-utils
--->  Uninstalling pangomm @2.28.4_1
--->  Cleaning pangomm
--->  Uninstalling pangomm @2.34.0_1+x11
--->  Cleaning pangomm
--->  Deactivating pangomm @2.34.0_2+x11
--->  Cleaning pangomm
--->  Uninstalling pangomm @2.34.0_2+x11
--->  Cleaning pangomm
--->  Uninstalling pkgconfig @0.27.1_2
--->  Cleaning pkgconfig
--->  Deactivating pkgconfig @0.28_0
--->  Cleaning pkgconfig
--->  Uninstalling pkgconfig @0.28_0
--->  Cleaning pkgconfig
--->  Deactivating poppler-data @0.4.6_0
--->  Cleaning poppler-data
--->  Uninstalling poppler-data @0.4.6_0
--->  Cleaning poppler-data
--->  Uninstalling py27-libxml2 @2.8.0_0
--->  Cleaning py27-libxml2
--->  Uninstalling py27-libxml2 @2.9.0_0
--->  Cleaning py27-libxml2
--->  Deactivating py27-libxml2 @2.9.1_0
--->  Cleaning py27-libxml2
--->  Uninstalling py27-libxml2 @2.9.1_0
--->  Cleaning py27-libxml2
--->  Deactivating py27-nose @1.2.1_1
--->  Cleaning py27-nose
--->  Uninstalling py27-nose @1.2.1_1
--->  Cleaning py27-nose
--->  Uninstalling rarian @0.8.1_0
--->  Cleaning rarian
--->  Deactivating rarian @0.8.1_1
--->  Cleaning rarian
--->  Uninstalling rarian @0.8.1_1
--->  Cleaning rarian
--->  Deactivating urw-fonts @1.0.7pre44_0
--->  Cleaning urw-fonts
--->  Uninstalling urw-fonts @1.0.7pre44_0
--->  Cleaning urw-fonts
--->  Uninstalling webp @0.2.1_2
--->  Cleaning webp
--->  Uninstalling webp @0.3.0_0
--->  Cleaning webp
--->  Uninstalling webp @0.3.1_0
--->  Cleaning webp
--->  Deactivating webp @0.4.0_0
--->  Cleaning webp
--->  Uninstalling webp @0.4.0_0
--->  Cleaning webp
MBP15:~ lars$ port echo leaves
aspell                         @0.60.6.1_0 
cairomm                        @1.10.0_1 
cairomm                        @1.10.0_2+x11 
cairomm                        @1.10.0_3+x11 
docbook-xml-4.1.2              @5.0_1 
docbook-xml-4.3                @5.0_1 
docbook-xml-4.4                @5.0_1 
docbook-xml-4.5                @5.0_1 
docbook-xml-5.0                @5.0_1 
glibmm                         @2.32.1_0 
glibmm                         @2.36.0_0 
glibmm                         @2.36.2_0 
glibmm                         @2.38.1_1 
hunspell                       @1.3.2_0 
jbig2dec                       @0.11_1 
libgsf                         @1.14.25_0 
libgsf                         @1.14.26_1 
libgsf                         @1.14.29_0 
libpaper                       @1.1.24_0 
llvm-3.3                       @3.3_1 
nosetests_select               @0.1_0 
opensp                         @1.5.2_2 
p5.12-locale-gettext           @1.50.0_7 
p5.16-locale-gettext           @1.50.0_7 
py27-distribute                @0.6.35_0 
py27-distribute                @0.6.36_0 
MBP15:~ lars$ sudo port uninstall leaves
--->  Deactivating aspell @0.60.6.1_0
--->  Cleaning aspell
--->  Uninstalling aspell @0.60.6.1_0
--->  Cleaning aspell
--->  Uninstalling cairomm @1.10.0_1
--->  Cleaning cairomm
--->  Uninstalling cairomm @1.10.0_2+x11
--->  Cleaning cairomm
--->  Deactivating cairomm @1.10.0_3+x11
--->  Cleaning cairomm
--->  Uninstalling cairomm @1.10.0_3+x11
--->  Cleaning cairomm
--->  Deactivating docbook-xml-4.1.2 @5.0_1
--->  Cleaning docbook-xml-4.1.2
--->  Uninstalling docbook-xml-4.1.2 @5.0_1
--->  Cleaning docbook-xml-4.1.2
--->  Deactivating docbook-xml-4.3 @5.0_1
--->  Cleaning docbook-xml-4.3
--->  Uninstalling docbook-xml-4.3 @5.0_1
--->  Cleaning docbook-xml-4.3
--->  Deactivating docbook-xml-4.4 @5.0_1
--->  Cleaning docbook-xml-4.4
--->  Uninstalling docbook-xml-4.4 @5.0_1
--->  Cleaning docbook-xml-4.4
--->  Deactivating docbook-xml-4.5 @5.0_1
--->  Cleaning docbook-xml-4.5
--->  Uninstalling docbook-xml-4.5 @5.0_1
--->  Cleaning docbook-xml-4.5
--->  Deactivating docbook-xml-5.0 @5.0_1
Error: org.macports.deactivate for port docbook-xml-5.0 returned: command execution failed
Please see the log file for port docbook-xml-5.0 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_docbook-xml-5.0_5.0_1/docbook-xml-5.0/main.log
Warning: Failed to execute portfile from registry for docbook-xml-5.0 @5.0_1
--->  Uninstalling docbook-xml-5.0 @5.0_1
--->  Cleaning docbook-xml-5.0
--->  Uninstalling glibmm @2.32.1_0
--->  Cleaning glibmm
--->  Uninstalling glibmm @2.36.0_0
--->  Cleaning glibmm
--->  Uninstalling glibmm @2.36.2_0
--->  Cleaning glibmm
--->  Deactivating glibmm @2.38.1_1
--->  Cleaning glibmm
--->  Uninstalling glibmm @2.38.1_1
--->  Cleaning glibmm
--->  Deactivating hunspell @1.3.2_0
--->  Cleaning hunspell
--->  Uninstalling hunspell @1.3.2_0
--->  Cleaning hunspell
--->  Deactivating jbig2dec @0.11_1
--->  Cleaning jbig2dec
--->  Uninstalling jbig2dec @0.11_1
--->  Cleaning jbig2dec
--->  Uninstalling libgsf @1.14.25_0
--->  Cleaning libgsf
--->  Uninstalling libgsf @1.14.26_1
--->  Cleaning libgsf
--->  Deactivating libgsf @1.14.29_0
--->  Cleaning libgsf
--->  Uninstalling libgsf @1.14.29_0
--->  Cleaning libgsf
--->  Deactivating libpaper @1.1.24_0
--->  Cleaning libpaper
--->  Uninstalling libpaper @1.1.24_0
--->  Cleaning libpaper
--->  Deactivating llvm-3.3 @3.3_1
--->  Cleaning llvm-3.3
--->  Uninstalling llvm-3.3 @3.3_1
--->  Cleaning llvm-3.3
--->  Deactivating nosetests_select @0.1_0
--->  Cleaning nosetests_select
--->  Uninstalling nosetests_select @0.1_0
--->  Cleaning nosetests_select
--->  Deactivating opensp @1.5.2_2
--->  Cleaning opensp
--->  Uninstalling opensp @1.5.2_2
--->  Cleaning opensp
--->  Deactivating p5.12-locale-gettext @1.50.0_7
--->  Cleaning p5.12-locale-gettext
--->  Uninstalling p5.12-locale-gettext @1.50.0_7
--->  Cleaning p5.12-locale-gettext
--->  Deactivating p5.16-locale-gettext @1.50.0_7
--->  Cleaning p5.16-locale-gettext
--->  Uninstalling p5.16-locale-gettext @1.50.0_7
--->  Cleaning p5.16-locale-gettext
--->  Uninstalling py27-distribute @0.6.35_0
--->  Cleaning py27-distribute
--->  Uninstalling py27-distribute @0.6.36_0
--->  Cleaning py27-distribute
MBP15:~ lars$ port echo leaves
docbook-xml-4.2                @5.0_1 
gnome-vfs                      @2.24.4_1 
libbonobo                      @2.32.1_1 
libsigcxx2                     @2.2.10_0 
libsigcxx2                     @2.2.11_0 
libsigcxx2                     @2.2.11_1 
llvm_select                    @0.2_0 
p5.12-xml-parser               @2.400.0_4 
p5.16-xml-parser               @2.400.0_4 
texinfo                        @4.13_2 
texinfo                        @5.2_0 
MBP15:~ lars$ sudo port uninstall leaves
--->  Deactivating docbook-xml-4.2 @5.0_1
--->  Cleaning docbook-xml-4.2
--->  Uninstalling docbook-xml-4.2 @5.0_1
--->  Cleaning docbook-xml-4.2
--->  Deactivating gnome-vfs @2.24.4_1
--->  Cleaning gnome-vfs
--->  Uninstalling gnome-vfs @2.24.4_1
--->  Cleaning gnome-vfs
--->  Deactivating libbonobo @2.32.1_1
--->  Cleaning libbonobo
--->  Uninstalling libbonobo @2.32.1_1
--->  Cleaning libbonobo
--->  Uninstalling libsigcxx2 @2.2.10_0
--->  Cleaning libsigcxx2
--->  Uninstalling libsigcxx2 @2.2.11_0
--->  Cleaning libsigcxx2
--->  Deactivating libsigcxx2 @2.2.11_1
--->  Cleaning libsigcxx2
--->  Uninstalling libsigcxx2 @2.2.11_1
--->  Cleaning libsigcxx2
--->  Deactivating llvm_select @0.2_0
--->  Cleaning llvm_select
--->  Uninstalling llvm_select @0.2_0
--->  Cleaning llvm_select
--->  Deactivating p5.12-xml-parser @2.400.0_4
--->  Cleaning p5.12-xml-parser
--->  Uninstalling p5.12-xml-parser @2.400.0_4
--->  Cleaning p5.12-xml-parser
--->  Deactivating p5.16-xml-parser @2.400.0_4
--->  Cleaning p5.16-xml-parser
--->  Uninstalling p5.16-xml-parser @2.400.0_4
--->  Cleaning p5.16-xml-parser
--->  Uninstalling texinfo @4.13_2
--->  Cleaning texinfo
--->  Deactivating texinfo @5.2_0
--->  Cleaning texinfo
--->  Uninstalling texinfo @5.2_0
--->  Cleaning texinfo
MBP15:~ lars$ port echo leaves
gconf                          @2.28.1_4 
gconf                          @2.32.4_2+x11 
gconf                          @3.2.6_0+x11 
gnome-mime-data                @2.18.0_3 
xmlcatmgr                      @2.2_1 
MBP15:~ lars$ sudo port uninstall leaves
--->  Uninstalling gconf @2.28.1_4
--->  Cleaning gconf
--->  Uninstalling gconf @2.32.4_2+x11
--->  Cleaning gconf
--->  Deactivating gconf @3.2.6_0+x11
--->  Cleaning gconf
--->  Uninstalling gconf @3.2.6_0+x11
--->  Cleaning gconf
--->  Deactivating gnome-mime-data @2.18.0_3
--->  Cleaning gnome-mime-data
--->  Uninstalling gnome-mime-data @2.18.0_3
--->  Cleaning gnome-mime-data
--->  Deactivating xmlcatmgr @2.2_1
--->  Cleaning xmlcatmgr
--->  Uninstalling xmlcatmgr @2.2_1
--->  Cleaning xmlcatmgr
MBP15:~ lars$ port echo leaves
gtk3                           @3.10.7_0+x11 
orbit2                         @2.14.19_1 
orbit2                         @2.14.19_2 
policykit                      @0.103_2 
policykit                      @0.104_1 
MBP15:~ lars$ sudo port uninstall leaves
--->  Deactivating gtk3 @3.10.7_0+x11
--->  Cleaning gtk3
--->  Uninstalling gtk3 @3.10.7_0+x11
--->  Cleaning gtk3
--->  Uninstalling orbit2 @2.14.19_1
--->  Cleaning orbit2
--->  Deactivating orbit2 @2.14.19_2
--->  Cleaning orbit2
--->  Uninstalling orbit2 @2.14.19_2
--->  Cleaning orbit2
--->  Uninstalling policykit @0.103_2
--->  Cleaning policykit
--->  Deactivating policykit @0.104_1
--->  Cleaning policykit
--->  Uninstalling policykit @0.104_1
--->  Cleaning policykit
MBP15:~ lars$ port echo leaves
at-spi2-atk                    @2.10.2_0 
eggdbus                        @0.6_1 
libidl                         @0.8.14_2 
MBP15:~ lars$ sudo port uninstall leaves
--->  Deactivating at-spi2-atk @2.10.2_0
--->  Cleaning at-spi2-atk
--->  Uninstalling at-spi2-atk @2.10.2_0
--->  Cleaning at-spi2-atk
--->  Deactivating eggdbus @0.6_1
--->  Cleaning eggdbus
--->  Uninstalling eggdbus @0.6_1
--->  Cleaning eggdbus
--->  Deactivating libidl @0.8.14_2
--->  Cleaning libidl
--->  Uninstalling libidl @0.8.14_2
--->  Cleaning libidl
MBP15:~ lars$ port echo leaves
at-spi2-core                   @2.10.2_0 
dbus-python27                  @0.84.0_0 
MBP15:~ lars$ sudo port uninstall leaves
--->  Deactivating at-spi2-core @2.10.2_0
--->  Cleaning at-spi2-core
--->  Uninstalling at-spi2-core @2.10.2_0
--->  Cleaning at-spi2-core
--->  Deactivating dbus-python27 @0.84.0_0
--->  Cleaning dbus-python27
--->  Uninstalling dbus-python27 @0.84.0_0
--->  Cleaning dbus-python27
MBP15:~ lars$ port echo leaves
dbus-glib                      @0.100_0 
dbus-glib                      @0.100.2_0 
py27-gobject                   @2.28.6_3 
xorg-libXevie                  @1.0.3_0 
MBP15:~ lars$ sudo port uninstall leaves
--->  Uninstalling dbus-glib @0.100_0
--->  Cleaning dbus-glib
--->  Deactivating dbus-glib @0.100.2_0
--->  Cleaning dbus-glib
--->  Uninstalling dbus-glib @0.100.2_0
--->  Cleaning dbus-glib
--->  Deactivating py27-gobject @2.28.6_3
--->  Cleaning py27-gobject
--->  Uninstalling py27-gobject @2.28.6_3
--->  Cleaning py27-gobject
--->  Deactivating xorg-libXevie @1.0.3_0
--->  Cleaning xorg-libXevie
--->  Uninstalling xorg-libXevie @1.0.3_0
--->  Cleaning xorg-libXevie
MBP15:~ lars$ port echo leaves
dbus                           @1.6.8_0+startupitem 
dbus                           @1.6.12_0+startupitem 
py27-cairo                     @1.10.0_3+x11 
xorg-evieproto                 @1.1.1_0 
MBP15:~ lars$ sudo port uninstall leaves
--->  Uninstalling dbus @1.6.8_0+startupitem
--->  Cleaning dbus
--->  Deactivating dbus @1.6.12_0+startupitem
--->  Cleaning dbus
--->  Uninstalling dbus @1.6.12_0+startupitem
--->  Cleaning dbus
--->  Deactivating py27-cairo @1.10.0_3+x11
--->  Cleaning py27-cairo
--->  Uninstalling py27-cairo @1.10.0_3+x11
--->  Cleaning py27-cairo
--->  Deactivating xorg-evieproto @1.1.1_0
--->  Cleaning xorg-evieproto
--->  Uninstalling xorg-evieproto @1.1.1_0
--->  Cleaning xorg-evieproto
MBP15:~ lars$ port echo leaves
MBP15:~ lars$ 



More information about the macports-users mailing list