<div dir="ltr">I tried removing everything in /opt/local and reinstalling MacPorts again from the website and it still doesn&#39;t work.<div><br></div><div>I did a &quot;selfupdate&quot; and it said there was nothing to do.</div><div><br></div><div>So I did a &quot;update outdated&quot; and it looks like it just picked a random package &quot;ffmpeg&quot; to install and even that fails.....</div><div><br></div><div>How do I cleanly UNINSTALL macports so i can get a clean and working version of MacPorts?<br><div><br></div><div><p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">bash-3.2$ sudo /opt/local/bin/port upgrade outdated </p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Computing dependencies for dcraw</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Fetching archive for dcraw</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Attempting to fetch dcraw-9.25.0_0.darwin_14.x86_64.tbz2 from <a href="http://packages.macports.org/dcraw">http://packages.macports.org/dcraw</a></p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Attempting to fetch dcraw-9.25.0_0.darwin_14.x86_64.tbz2.rmd160 from <a href="http://packages.macports.org/dcraw">http://packages.macports.org/dcraw</a></p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Installing dcraw @9.25.0_0</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Cleaning dcraw</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Computing dependencies for dcraw</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Deactivating dcraw @9.24.4_0</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Cleaning dcraw</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Activating dcraw @9.25.0_0</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Cleaning dcraw</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Computing dependencies for libpng</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Fetching archive for libpng</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Attempting to fetch libpng-1.6.17_0.darwin_14.x86_64.tbz2 from <a href="http://packages.macports.org/libpng">http://packages.macports.org/libpng</a></p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Attempting to fetch libpng-1.6.17_0.darwin_14.x86_64.tbz2.rmd160 from <a href="http://packages.macports.org/libpng">http://packages.macports.org/libpng</a></p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Installing libpng @1.6.17_0</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Cleaning libpng</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Computing dependencies for libpng</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Deactivating libpng @1.6.16_0</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Cleaning libpng</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Activating libpng @1.6.17_0</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Cleaning libpng</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Computing dependencies for ffmpeg</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Fetching archive for ffmpeg</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Attempting to fetch ffmpeg-2.6.2_0+gpl2+x11.darwin_14.x86_64.tbz2 from <a href="http://packages.macports.org/ffmpeg">http://packages.macports.org/ffmpeg</a></p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Attempting to fetch ffmpeg-2.6.2_0+gpl2+x11.darwin_14.x86_64.tbz2 from <a href="http://mse.uk.packages.macports.org/sites/packages.macports.org/ffmpeg">http://mse.uk.packages.macports.org/sites/packages.macports.org/ffmpeg</a></p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Attempting to fetch ffmpeg-2.6.2_0+gpl2+x11.darwin_14.x86_64.tbz2 from <a href="http://nue.de.packages.macports.org/macports/packages/ffmpeg">http://nue.de.packages.macports.org/macports/packages/ffmpeg</a></p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Fetching distfiles for ffmpeg</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Attempting to fetch ffmpeg-2.6.2.tar.bz2 from <a href="http://distfiles.macports.org/ffmpeg">http://distfiles.macports.org/ffmpeg</a></p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Verifying checksums for ffmpeg                                                 </p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Extracting ffmpeg</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">---&gt;  Configuring ffmpeg</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">Error: Failed to configure ffmpeg, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-2.6.2/config.log</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">Error: org.macports.configure for port ffmpeg returned: configure failure: command execution failed</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">Please see the log file for port ffmpeg for details:</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">Error: Unable to upgrade port: 1</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">To report a bug, follow the instructions in the guide:</p>
<p style="margin:0px;font-size:15px;font-family:Menlo;color:rgb(255,247,0);background-color:rgb(0,0,0)">    <a href="http://guide.macports.org/#project.tickets">http://guide.macports.org/#project.tickets</a></p></div></div></div>