09-24-2009, 03:18 PM
Apple added a new database to the OS that seems to be responsible for the trouble. From what I can tell, it tends to get corrupted and conflict with the .bom files in the /Library/Receipts folder and the process stalls until a timeout when it encounters errors. It seems especially prone to such trouble when there are lots of old receipts from previous versions of the OS (that are no longer particularly relevant to permissions-repair).
Unfortunately, while I've kept an eye out, I've never found a way to simply fix or rebuild the DB. Trashing the file, for example, does not result in a rebuild on the next reboot. Removing old receipts, trashing the DB and then reinstalling the OS does work, but it's a royal PITA.
There's also some extra file-verification and ACL checks, but the additional time for that should be negligible.
The best "fix" I can recommend is to do a clean install when you move from 10.4-10.5. You can then use the Migration Assistant to pull over your apps and user accounts from your clone/backup.
(And while it sounds like a paranoid conspiracy theory, IMHO somebody at Apple must have deliberately introduced code to slow down permissions-repair a whole lot more on PPC Macs than on Intels because I can't find any better explanation as to why it takes more than 10 times longer to repair permissions on the same Leopard volume when it boots a fast G5 vs a slow CoreDuo.)
Unfortunately, while I've kept an eye out, I've never found a way to simply fix or rebuild the DB. Trashing the file, for example, does not result in a rebuild on the next reboot. Removing old receipts, trashing the DB and then reinstalling the OS does work, but it's a royal PITA.
There's also some extra file-verification and ACL checks, but the additional time for that should be negligible.
The best "fix" I can recommend is to do a clean install when you move from 10.4-10.5. You can then use the Migration Assistant to pull over your apps and user accounts from your clone/backup.
(And while it sounds like a paranoid conspiracy theory, IMHO somebody at Apple must have deliberately introduced code to slow down permissions-repair a whole lot more on PPC Macs than on Intels because I can't find any better explanation as to why it takes more than 10 times longer to repair permissions on the same Leopard volume when it boots a fast G5 vs a slow CoreDuo.)