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.
Share
Categories
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
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.
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 Permalink rate up rate down Replyno mactaliban comments regarding this? oh, wait, this was os x not windows.
March 19 2007 at 9:20 AM Report abuse Permalink rate up rate down ReplyI'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 Permalink rate up rate down Reply#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:-)
Rosyna is a girl, by the way.
March 18 2007 at 5:07 PM Report abuse Permalink rate up rate down ReplyHere'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.
I wouldn't suggest using applications during ANY of the update process.
March 18 2007 at 1:15 PM Report abuse Permalink rate up rate down ReplyI thought prebinding was depricated in 10.4, since it no longer reduced launch times
March 18 2007 at 9:59 AM Report abuse Permalink rate up rate down ReplyThere'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 Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
- Philips wOOx Alarm Clock Radio for Apple iPod / iPhone for $60 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



18 Comments