その後の port

port の database が消えてしまたので、普通にinstall すると以下の様にエラーになっていまいます。

% sudo port install mysql5
...
Error: Target com.apple.activate returned: Image error: /opt/local/include/zconf.h already exists and does not belong to a registered port.  Unable to activate port zlib.

そこで -f (force) オプションを付けると 以前のファイルはリネームして新しいものをインストールします。

% sudo port -f install mysql5 
  ...
Warning: File /opt/local/bin/c_rehash already exists.  Moving to: /opt/local/bin/c_rehash.dp_1183535765.
Warning: File /opt/local/bin/openssl already exists.  Moving to: /opt/local/bin/openssl.dp_1183535765.