<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">It seems that when I upgrade ports, whether I uninstall the old version or not, that the distribution files remain. &nbsp;I have installed with the “-u” and have also just unstalled the inactive ports, after an upgrade. &nbsp;Yet, I see all my old distribution files remaining in <font face="Menlo"><span style="font-size: 11px;">/opt/local/var/macports/distfiles/. &nbsp;</span></font><div apple-content-edited="true">
<div>Is this expected behavior? &nbsp;I don’t recall noticing this from prior to 10.9 and 2.2.1. &nbsp;&nbsp;</div><div>Is there a way to get rid of the distribution files for ports that are no longer the installed versions? &nbsp;For example I tried to do a clean like this:</div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">sudo port clean --dist inactive</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">But these remain:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;">ls /opt/local//var/macports/distfiles/sqlite3</div><div style="margin: 0px;">sqlite-autoconf-3071600.tar.gz<span class="Apple-tab-span" style="white-space:pre">        </span>sqlite-autoconf-3071602.tar.gz<span class="Apple-tab-span" style="white-space:pre">        </span>sqlite-autoconf-3080000.tar.gz<span class="Apple-tab-span" style="white-space:pre">        </span>sqlite-autoconf-3080100.tar.gz</div><div style="margin: 0px;">sqlite-autoconf-3071601.tar.gz<span class="Apple-tab-span" style="white-space:pre">        </span>sqlite-autoconf-3071700.tar.gz<span class="Apple-tab-span" style="white-space:pre">        </span>sqlite-autoconf-3080002.tar.gz</div></div><div><br></div><div>I believe that the reason that the clean like that didn’t work is because I had removed my old versions of sqlite3, so they are not inactive. &nbsp;</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">port installed sqlite3</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">The following ports are currently installed:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">&nbsp; sqlite3 @3.8.2_0+universal (active)</div></div><div><br></div><div>So, I would like to be able to clean the distributions for all things that are not installed, but leave the distributions for anything that I have either active or inactive. &nbsp;Is there a way to do that?</div><div><br></div><div><br></div><div>--Adam</div><div><br class="khtml-block-placeholder"></div><div><br class="khtml-block-placeholder"></div>

</div>
<br></body></html>