In a certain rare situation, you may see this message when you try to launch Aperture:
"The database for the library ' /Aperture Library.aplibrary' is locked and cannot be used at this time."
If you Get Info on the Aperture Library package, it shows normal read-write permissions, and the Locked box is not selected.
Solution
Follow these steps:
- Open the Terminal (located at /Applications/Utilities).
- At the prompt, type "cd " (note the space).
- Drag the folder that contains your Aperture Library into the Terminal window. After that, the command line will look something like this (but will vary depending on the path to your library):
cd /yourusername/Pictures/
- Press Return.
- Type: cd Aperture\\ Library.aplibrary/Aperture.aplib
- Press Return.
Warning:The next step uses the "rm" command. Misuse of the rm command can result in unintended data loss, up to and including the entire contents of your hard disk. So be sure to type the command as shown.
- Type: rm Library.apdb.lock
- Press Return.