Mac OS X ソフトウェアアップデートがうまくいかない時の対処法
スポンサードリンク
Mac OS X 10.5.6のソフトウェアアップデートが出ましたね。早速インストールしてみたのですが、どうもうまくいかない! 具体的には、ソフトウェアアップデートの適用のためにリブートしたあと、「インストールを構成中」 で止まってしまいます。 こんなときはどうしたらいいでしょうか? 結論は「ソフトウェアアップデートが自動でダウンロードしたファイルを消せばよい」です。 簡単ですが、ちょっと悩みました。
まず、ソフトウェアアップデートのログを見てみます。
Dec 17 13:17:43 amaterasu Software Update[228]: Calculated need 1373 MB; 171000 MB free. Dec 17 13:18:04 amaterasu installdb[539]: started (uid 96) Dec 17 13:18:04 amaterasu installdb[539]: Opened receipt database on '/' with schema 17. Dec 17 13:18:09 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Calculated need 1086 MB; 171000 MB free. Dec 17 13:18:12 amaterasu runner[540]: Administrator authorization granted. Dec 17 13:18:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost Dec 17 13:18:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Library/Updates/Mac%20OS%20X%20Update/Packages/MacOSXUpd10.5.6Patch.pkg Dec 17 13:18:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Library/Updates/Mac%20OS%20X%20Update/Packages/MacOSXUpd10.5.6.pkg Dec 17 13:18:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: _installNextPackage of 1 Dec 17 13:18:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Software Update is intentionally skipping missing package: file://localhost/Library/Updates/Mac%20OS%20X%20Update/Packages/MacOSXUpd10.5.6.pkg Dec 17 13:18:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Starting installation: Dec 17 13:18:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Preparing volume "Macintosh HD" for installation Dec 17 13:18:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Configuring volume "Macintosh HD" Dec 17 13:18:13 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Preparing disk for local booted install. Dec 17 13:18:13 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Free space on "Macintosh HD": 166 GB (179307053056 bytes). Dec 17 13:18:13 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Create temporary directory "/private/tmp/MacOSXUpd10.5.6Patch.pkg.528TVUmz6" Dec 17 13:18:13 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Running install actions Dec 17 13:18:13 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Processing MacOSXUpd10.5.6Patch: Dec 17 13:18:13 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Determining files to install Dec 17 13:18:18 amaterasu installdb[539]: done. (0.007u + 0.006s) Dec 17 13:18:28 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: /System/Library/Frameworks/WebKit.framework (version 5525.18.1.5525.18.1.55251801) was not installed because a newer version (5525.27.0.5525.27.1.55252701) already exists. Dec 17 13:18:50 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: /System/Library/CoreServices/RawCamera.bundle (version 2.0.10.2.0.10.4070000) was not installed because a newer version (2.0.11.410.0.0.4100000) already exists. Dec 17 13:18:53 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: /System/Library/CoreServices/CoreTypes.bundle/Contents/Library/RawCameraTypes.bundle (version 2.0.10.2.0.10.4070000) was not installed because a newer version (2.0.11.410.0.0.4100000) already exists. Dec 17 13:19:11 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/iChat.app installed to /Applications/iChat.app Dec 17 13:19:11 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/iCal.app installed to /Applications/iCal.app Dec 17 13:19:11 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/System Profiler.app installed to /Applications/Utilities/System Profiler.app Dec 17 13:19:11 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/Remote Install Mac OS X.app installed to /Applications/Utilities/Remote Install Mac OS X.app Dec 17 13:19:11 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/RAID Utility.app installed to /Applications/Utilities/RAID Utility.app Dec 17 13:19:11 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/Podcast Capture.app installed to /Applications/Utilities/Podcast Capture.app Dec 17 13:19:11 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/Migration Assistant.app installed to /Applications/Utilities/Migration Assistant.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/Keychain Access.app installed to /Applications/Utilities/Keychain Access.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/Console.app installed to /Applications/Utilities/Console.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/Boot Camp Assistant.app installed to /Applications/Utilities/Boot Camp Assistant.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Utilities/Bluetooth File Exchange.app installed to /Applications/Utilities/Bluetooth File Exchange.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Time Machine.app installed to /Applications/Time Machine.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/System Preferences.app installed to /Applications/System Preferences.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Spaces.app installed to /Applications/Spaces.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Preview.app installed to /Applications/Preview.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Photo Booth.app installed to /Applications/Photo Booth.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Mail.app installed to /Applications/Mail.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Image Capture.app installed to /Applications/Image Capture.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Front Row.app installed to /Applications/Front Row.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Expose.app installed to /Applications/Expose.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Dashboard.app installed to /Applications/Dashboard.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/DVD Player.app installed to /Applications/DVD Player.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Chess.app installed to /Applications/Chess.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Calculator.app installed to /Applications/Calculator.app Dec 17 13:19:12 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/AppleScript/Script Editor.app installed to /Applications/AppleScript/Script Editor.app Dec 17 13:19:13 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: ./Applications/Address Book.app installed to /Applications/Address Book.app Dec 17 13:19:14 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: It took 60.33 seconds to create the install plan for MacOSXUpd10.5.6Patch. Dec 17 13:19:14 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Configuring deferred files Dec 17 13:19:14 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Assembling temporary receipt Dec 17 13:19:14 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: Performing pre-extraction actions Dec 17 13:19:14 amaterasu /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update[528]: run preinstall script for MacOSXUpd10.5.6Patch
この最後の「run preinstall script for MacOSXUpd10.5.6Patch」というところが「インストールを更生中」に相当します。 よーくみてみると、途中に「file://localhost/Library/Updates/Mac%20OS%20X%20Update/Packages/MacOSXUpd10.5.6.pkg」 を参照しているところがあります。そのファイルを見てみると、
$ cd /Library/Updates/Mac\ OS\ X\ Update/Packages/ $ ls -l -rw-rw-r-- 1 iwa admin 4677 12 16 09:07 MacOSXUpd10.5.6-10.5.6.dist -rw-rw-r-- 1 iwa admin 159590776 12 16 09:12 MacOSXUpd10.5.6Patch.pkg
あれっ、ソフトウェアアップデートの画面では190MBだったのに(画像はとり忘れた!)、このMacOSXUpd10.5.6Patch.pkgはちょっと小さい感じですね。約150MB。というわけでこれを消します。
$ rm /Library/Updates/Mac\ OS\ X\ Update/Packages/*
そして、ふたたびソフトウェアアップデートにダウンロードさせてみると、
$ cd /Library/Updates/Mac\ OS\ X\ Update/Packages/ $ ls -l total 390928 -rw-rw-r-- 1 iwa admin 4677 12 17 14:50 MacOSXUpd10.5.6-10.5.6.dist -rw-rw-r-- 1 iwa admin 200142930 12 11 08:37 MacOSXUpd10.5.6Patch.pkg
やはり...サイズがちがいます。一度ダウンロードしたソフトウェアアップデートのファイルが壊れていると、手動で削除してやらない限り回復できないようです。つまり、サイズのチェックも、チェックサムによる内容のチェックもしていない? ちょっとお粗末な気がしますが...
というわけで、じゃーん。というほどでもないけど!
あー、ちゃんと10.5.6になってよかった...
ソフトウェアアップデートがちゃんと適用できない時の対処法まとめ
- /Library/Updates/Mac%20OS%20X%20Update/Packages/の下にあるソフトウェアアップデートのダウンロードファイルをすべて消す。
- もういちどソフトウェアアップデートをかける。
2 comments:
私も同じところで止まって困っていました。
ありがとうございました。
いえいえ、お役に立ててよかったです!
Post a Comment