title: Fixing broken Macports
body: <p>I just tried (for the first time, I might add) a </p>
  
  <blockquote>
    <p>port upgrade installed</p>
  </blockquote>
  
  <p>in Macports, and I'm afraid I might come to regret it: A lot of errors -- specially regarding X11 and Python.</p>
  
  <p>Here's a typical error message regarding python:</p>
  
  <blockquote>
    <p>--->  Activating python24 2.4.5_4+darwin_9
    Error: Activating python24 2.4.5_4 failed: 
    Image error:      /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4 already exists and does not belong to a registered port.  Unable to activate port python24.</p>
  </blockquote>
  
  <p>My question: Should I expect a bit of trouble? And: Any hints on fixing these errors?</p>
  
  <p>I did do "sync" and "selfupdate" before upgrading.</p>