Skip to Content

The Dangers of Updating: Don't Do Anything While Optimizing

Gruber points to this post by Rosyna at Unsanity regarding a bug in Apple's Software Updater. According to Rosyna, "when you see the 'Optimizing System Performance' phase of a software update, Mac OS X is really updating prebinding. Updating prebinding has a very, very nasty bug in it... If multiple processes are updating prebinding at the same time, then it is possible for a system file to be completely zero'd out. Basically, all data in the file is deleted and it is replaced with nothing." Yikes! Rosyna claims most of the problems that arise from software updates are manifestations of this bug. The upshot: "When 'Optimize System Performance' appears during the update process do not touch your computer and definitely do not launch any applications." I know some are inclined to blame the Unsanity APEs for pretty much any and everything, but I think it's worth considering what Rosyna has to say.

In response to this Gruber points to a old post of his own on updating (we even mentioned it back in the day). Basically, Gruber advises waiting a full day until after the update is released, then installing the update clean (with no other applications running), letting it finish, and then rebooting. These seem like prudent steps, and probably worth the hassle in order to avoid the prebinding bug.

Update: fixed.

Gruber points to this post by Rosyna at Unsanity regarding a bug in Apple's Software Updater. According to Rosyna, "when you see the...
 

Add a Comment

*0 / 3000 Character Maximum

18 Comments

Filter by:
gshearman

To poster #7 - do you also rub the belly of the nearest voodoo doll while diligently repairing permissions both before and after a software update?

I thought it was common knowledge these days that repairing permissions CAN NOT prevent problems from occuring. It is only usefull in fixing problems, not preventing them.

March 24 2007 at 9:48 PM Report abuse rate up rate down Reply
kevin

i don't get it, i've never had to do any preparation or shut down any programs during a system update and everything has gone smoothly for me. am i just lucky or something? i'm also using the programs (mostly itunes and web browsing) during the update, acknowledging the prompts until it tells me to reboot.

March 19 2007 at 10:27 AM Report abuse rate up rate down Reply
Jonas

no mactaliban comments regarding this? oh, wait, this was os x not windows.

March 19 2007 at 9:20 AM Report abuse rate up rate down Reply
bobics

I'm pretty sure updating prebinding doesn't only occur during the install, but potentially after reboot too. After installing the 10.4.9 update on my MacBook and rebooting, I saw the udpate_prebinding process running in Activity Monitor. (/usr/bin/update_prebinding)

March 19 2007 at 6:57 AM Report abuse rate up rate down Reply
Howard Jeffrey

#13:
I agree. Old school rule #1:

"When installing software: LEAVE THE F**KING COMPUTER ALONE! Can you do that for five minutes while the crap installs?"

I have been using these apple things since the eighties and have never had to reinstall system software or reformat a drive or anything. Kind of why I still use them:-)

March 18 2007 at 7:35 PM Report abuse rate up rate down Reply
Kyle

Rosyna is a girl, by the way.

March 18 2007 at 5:07 PM Report abuse rate up rate down Reply
sriracha

Here's the process that's always worked for me:

1. Do nothing to prepare, aside from maybe quitting running applications. Do not repair permissions; do not clear caches; do not sacrifice virgins.

2. Run the update in Software Update. Wait for it to finish.

3. That's all.

March 18 2007 at 4:36 PM Report abuse rate up rate down Reply
Mxsix

I wouldn't suggest using applications during ANY of the update process.

March 18 2007 at 1:15 PM Report abuse rate up rate down Reply
trav

I thought prebinding was depricated in 10.4, since it no longer reduced launch times

March 18 2007 at 9:59 AM Report abuse rate up rate down Reply
Harald Hanche-Olsen

There's one thing about this I don't quite get. It is well known among unix sysadmins that some tasks are best done in single user mode, system upgrades being one of them. If Apple can safely do a system upgrade while in multiuser, that's fine, but if the final part of the upgrade is not safe in multiuser mode, the obvious solution is not to do it! Instead, that part should be deferred to after the reboot, and the task finished while the system is still in single user mode. If course, since this will make the boot seem to take unusually long, reassuring words should appear on the screen, preferably along with a progress bar. If yet another reboot is required after that, then just let the system do it. So why isn't it done this way! It's hardly rocket science after all.

March 18 2007 at 6:35 AM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.