I recently upgraded to iLife ’11 from iLife ’09. When I attempted to fire up iPhoto, I was prompted to upgrade my library. I accepted, but not more than a few seconds into the upgrade, I was greeted with: “Unable to open this Library”.
To get around this, fire up Terminal and do the following:
Type “sudo chown -R yourusername” (replace yourusername with the username on your Mac), press the space bar, drag your iPhoto library file from the Finder to the Terminal window, and press return.
Repeat the following process with these commands (enter the command, press space, drag iPhoto library to Terminal and press return):
sudo chmod -R -N
sudo chmod -R u+rwX