title: MacPorts: install hangs/remains unusable
body: <p>I've been trying to install MacPorts on a new Mac Pro with a fresh, fully updated Yosemite OS. The installer hangs on 'Running package scripts'. So I tried to build it from source. That works, with the installer stating:</p>
  
  <pre><code>Congratulations, you have successfully installed the MacPorts system.
  </code></pre>
  
  <p>However, it seems unusable. When I do <code>sudo port install apache2</code> I get the message:</p>
  
  <pre><code>Error: Port apache2 not found
  </code></pre>
  
  <p>Simply trying to do a 'self update' (as root):</p>
  
  <pre><code>sh-3.2# port -d selfupdate
  DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
  ---&gt;  Updating MacPorts base sources using rsync
  receiving file list ... done
  base.tar
  </code></pre>
  
  <p>...and then nothing... I've waited for half an hour, but it won't go any further. I can't find any logs either.</p>
  
  <p>Again: there's nothing special about my setup, it's out-of-the-box Yosemite, only updated through the App store and, of course, I've installed Xcode with command line utilities and formally accepted the license, as is required according to the MacPorts site.</p>
  
  <p>I've also tried uninstalling it, using the instructions from the MacPorts site, and reinstalling. But it does not make a difference.</p>
  
  <p>I've read quite a few forum posts, but I can't find any post relating a problem like this. I hope someone can shed some light on this.</p>