boot2docker / osx-installer

Docker installer for Mac OS X
Apache License 2.0
1.25k stars 258 forks source link

Boot2Docker 1.0.1 Doesn't Install on Mac OSX if there are updates pending #36

Closed base698 closed 6 years ago

base698 commented 10 years ago

screen shot 2014-06-20 at 8 25 25 pm

screen shot 2014-06-20 at 8 27 08 pm

SvenDowideit commented 10 years ago

@base698 can you please run it again, and when it fails, goto the menu and find the show logs - iirc its either in Help or the one next to it. Can you then please paste the log here?

base698 commented 10 years ago

I think it was related to pending updates. After reboot it worked again.

On Saturday, June 21, 2014, Sven Dowideit notifications@github.com wrote:

@base698 https://github.com/base698 cna you please run it again, and when it fails, goto the menu and find the show logs - iirc its either in Help or the one next to it. Can you then please paste the log here?

— Reply to this email directly or view it on GitHub https://github.com/boot2docker/osx-installer/issues/36#issuecomment-46767658 .

guo-yu commented 10 years ago

@SvenDowideit I met the same problem, log's here:

on my Macbook air OSX 10.9.3

Jun 26 18:19:34 TuringtekiMacBook-Air.local installd[596]: PackageKit: ----- Begin install -----
Jun 26 18:19:35 TuringtekiMacBook-Air.local installd[596]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "提取软件包“Boot2Docker-1.0.1.pkg”的文件时出错。" UserInfo=0x7f901b0380d0 {NSUnderlyingError=0x7f901b0377e0 "archive verify failed", NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/99820E1D-FB4C-42C2-BE35-90DD77A88BD4.activeSandbox/Root/Applications, NSURL=file://localhost/Users/Turing/Downloads/Boot2Docker-1.0.1.pkg#VirtualBox.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.virtualbox, NSLocalizedDescription=提取软件包“Boot2Docker-1.0.1.pkg”的文件时出错。} {
        NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/99820E1D-FB4C-42C2-BE35-90DD77A88BD4.activeSandbox/Root/Applications";
        NSLocalizedDescription = "\U63d0\U53d6\U8f6f\U4ef6\U5305\U201cBoot2Docker-1.0.1.pkg\U201d\U7684\U6587\U4ef6\U65f6\U51fa\U9519\U3002";
        NSURL = "file://localhost/Users/Turing/Downloads/Boot2Docker-1.0.1.pkg#VirtualBox.pkg";
        NSUnderlyingError = "Error Domain=PKXARArchiveErrorDomain Code=101 \"archive verify failed\" UserInfo=0x7f901b037d60 {NSURL=file:///Users/Turing/Downloads/Boot2Docker-1.0.1.pkg#VirtualBox.pkg/Payload, NSFileOwnerAccountID=501, NSFileHFSTypeCode=0, NSFileSystemFileNumber=48370155, NSFileExtensionHidden=false, NSFileSystemNumber=16777218, NSFileSize=68534431, NSFileGroupOwnerAccountID=20, NSFileOwnerAccountName=Turing, NSFilePosixPermissions=420, NSFileHFSCreatorCode=0, NSFileCreationDate=2014-06-26 09:35:31 +0000, NSFileType=NSFileTypeRegular, NSFileExtendedAttributes={\n    \"com.apple.metadata:kMDItemWhereFroms\" = <62706c69 73743030 a201025f 11011068 74747073 3a2f2f73 332e616d 617a6f6e 6177732e 636f6d2f 67697468 75622d63 6c6f7564 2f72656c 65617365 732f3137 30373732 33322f32 32666231 6436342d 66383535 2d313165 332d3962 34322d64 61313761 37336637 3639332e 706b673f 72657370 6f6e7365 2d636f6e 74656e74 2d646973 706f7369 74696f6e 3d617474 6163686d 656e7425 33422532 3
Jun 26 18:19:35 TuringtekiMacBook-Air.local Installer[597]: Install failed: 安装器遇到了一个错误,导致安装失败。请联系软件制造商以获得帮助。
Jun 26 18:19:35 TuringtekiMacBook-Air.local Installer[597]: Displaying 'Install Failed' UI.
Jun 26 18:19:35 TuringtekiMacBook-Air.local Installer[597]: 'Install Failed' UI displayed message:'安装器遇到了一个错误,导致安装失败。请联系软件制造商以获得帮助。'.
guo-yu commented 10 years ago

@SvenDowideit I've installed release 1.0.0 successful

SvenDowideit commented 10 years ago

while i can find a way to work out if there are pending updates that could be installed (and that installing it will require a restart), I can't find a way to detect that an update is partially installed and requires a reboot:

bash-3.2# softwareupdate -vl
Software Update Tool
Copyright 2002-2012 Apple Inc.

Finding available software
Software Update found the following new or updated software:
   * OSXUpd10.9.4-10.9.4
    OS X Update (10.9.4), 276104K [recommended] [restart]

while in the app store gui, it tells me Restart required.

pulkitsinghal commented 9 years ago

mine failed too, here is a log snippet:

installd[42987]: ./postflight: /Library/LaunchDaemons/org.virtualbox.startup.plist
installd[42987]: ./postflight: (kernel) Can't unload kext org.virtualbox.kext.VBoxUSB; classes have instances:
installd[42987]: ./postflight: (kernel)     Kext org.virtualbox.kext.VBoxUSB class org_virtualbox_VBoxUSB has 1 instance.
installd[42987]: ./postflight: Failed to unload org.virtualbox.kext.VBoxUSB - (libkern/kext) kext is in use or retained (cannot unload).
installd[42987]: ./postflight: (kernel) Can't remove kext org.virtualbox.kext.VBoxDrv; services failed to terminate - 0xdc008018.
installd[42987]: ./postflight: Failed to unload org.virtualbox.kext.VBoxDrv - (libkern/kext) kext is in use or retained (cannot unload).
installd[42987]: ./postflight: /Library/Application Support/VirtualBox/VBoxDrv.kext failed to load - (libkern/kext) different version/uuid already loaded; check the system/kernel logs for errors or try kextutil(8).

Running VirtualBox_Uninstall.tool and rebooting helped get over this problem.

tianon commented 6 years ago

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).