Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: Go 1.7.3 fails to install on El Capitan #17531

Closed
Polarbear2121 opened this issue Oct 20, 2016 · 10 comments
Closed

release: Go 1.7.3 fails to install on El Capitan #17531

Polarbear2121 opened this issue Oct 20, 2016 · 10 comments
Labels
FrozenDueToAge help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Darwin
Milestone

Comments

@Polarbear2121
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.7.0

What operating system and processor architecture are you using (go env)?

OSX El Capitan
10.11.6

What did you do?

Download and open go1.7.3.darwin-amd64.pkg

What did you see instead?

Warning message: "The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."

@quentinmit
Copy link
Contributor

I'm not able to replicate this on 10.12.1.

@jferrer21 Can you please attach the log from your installer? When the install fails, you can choose Window->Installer Log and then hit the Save button in the toolbar to get a text file of the log. Thanks!

@quentinmit quentinmit added WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Oct 20, 2016
@quentinmit quentinmit changed the title OSX & GO 1.7.3 release: Go 1.7.3 fails to install on El Capitan Oct 20, 2016
@Polarbear2121
Copy link
Author

Hi Quentin,

Below is the log.

Oct 20 11:37:22 Rebels-Mac-Pro Installer[436]: Installation checks succeeded with warnings.
Oct 20 11:37:22 Rebels-Mac-Pro Installer[436]: Installation check warning. Previous Installation Detected. A previous installation of Go exists at /usr/local/go. This installer will remove the previous installation prior to installing. Please back up any data before proceeding..
Oct 20 11:37:35 Rebels-Mac-Pro installd[284]: PackageKit: ----- Begin install -----
Oct 20 11:37:38 Rebels-Mac-Pro installd[284]: PackageKit: Install Failed: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" UserInfo={NSFilePath=/private/tmp/PKInstallSandbox.XXXXXX} {
NSFilePath = "/private/tmp/PKInstallSandbox.XXXXXX";
}
Oct 20 11:37:38 Rebels-Mac-Pro Installer[436]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Oct 20 11:37:38 Rebels-Mac-Pro Installer[436]: Displaying 'Install Failed' UI.
Oct 20 11:37:38 Rebels-Mac-Pro Installer[436]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
Oct 20 12:19:55 Rebels-Mac-Pro Installer[436]: Installation checks succeeded with warnings.
Oct 20 12:19:55 Rebels-Mac-Pro Installer[436]: Installation check warning. Previous Installation Detected. A previous installation of Go exists at /usr/local/go. This installer will remove the previous installation prior to installing. Please back up any data before proceeding..
Oct 20 12:20:01 Rebels-Mac-Pro installd[284]: PackageKit: ----- Begin install -----
Oct 20 12:20:04 Rebels-Mac-Pro installd[284]: PackageKit: Install Failed: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" UserInfo={NSFilePath=/private/tmp/PKInstallSandbox.XXXXXX} {
NSFilePath = "/private/tmp/PKInstallSandbox.XXXXXX";
}
Oct 20 12:20:04 Rebels-Mac-Pro Installer[436]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Oct 20 12:20:04 Rebels-Mac-Pro Installer[436]: Displaying 'Install Failed' UI.
Oct 20 12:20:04 Rebels-Mac-Pro Installer[436]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

@inhies
Copy link

inhies commented Oct 24, 2016

I had no issues installing the .pkg on 10.11.6

@Kreeblah
Copy link

Kreeblah commented Oct 27, 2016

I'm having the same issue with 1.7.3 with the same error message on 10.11.6 (and a very similar log). I was upgrading from 1.7.1, however now even trying a reinstall of 1.7.1 results in the same error.

I'd tried manually removing /usr/local/go, so my log is slightly different, but in case it helps:

Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: LSExceptions [0x7f884b60c400] loaded
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: @(#)PROGRAM:Install PROJECT:Install-1000
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: @(#)PROGRAM:Installer PROJECT:Installer-853
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Hardware: MacBookPro11,2 @ 2.00 GHz (x 8), 16384 MB RAM
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Running OS Build: Mac OS X 10.11.6 (15G1108)
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: TMPDIR=/var/folders/74/542t7nfd6z1g4qq0xnjr7_q40000gn/T/
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: HOME=/Users/gelatt
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: SHELL=/bin/bash
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: LOGNAME=gelatt
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: XPC_SERVICE_NAME=com.apple.xpc.launchd.oneshot.0x1000000d.Installer
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: COMMAND_MODE=unix2003
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: USER=gelatt
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Env: XPC_FLAGS=0x0
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Go Installation Log
Oct 26 22:16:27 lt-cgelatt-mac Installer[28905]: Opened from: /Users/gelatt/Downloads/go1.7.3.darwin-amd64.pkg
Oct 26 22:16:28 lt-cgelatt-mac Installer[28905]: Product archive /Users/gelatt/Downloads/go1.7.3.darwin-amd64.pkg trustLevel=202
Oct 26 22:16:29 lt-cgelatt-mac Installer[28905]: InstallerStatusNotifications plugin loaded
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Administrator authorization granted.
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: ================================================================================
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: User picked Standard Install
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Choices selected for installation:
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Upgrade: "Go"
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Upgrade: "Go"
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: go1.7.3.darwin-amd64.pkg#com.googlecode.go.pkg : com.googlecode.go.pkg : go1.7.3
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: ================================================================================
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: It took 0.00 seconds to summarize the package selections.
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/gelatt/Downloads/go1.7.3.darwin-amd64.pkg#com.googlecode.go.pkg
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Set authorization level to root for session
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Will use PK session
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Using authorization level of root for IFPKInstallElement
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Starting installation:
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Configuring volume "Macintosh HD"
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Preparing disk for local booted install.
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Free space on "Macintosh HD": 166.54 GB (166542917632 bytes).
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: Create temporary directory "/var/folders/74/542t7nfd6z1g4qq0xnjr7_q40000gn/T//Install.28905FaFvHa"
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: IFPKInstallElement (1 packages)
Oct 26 22:16:33 lt-cgelatt-mac installd[346]: PackageKit: Adding client PKInstallDaemonClient pid=28905, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Oct 26 22:16:33 lt-cgelatt-mac Installer[28905]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Oct 26 22:16:33 lt-cgelatt-mac installd[346]: PackageKit: ----- Begin install -----
Oct 26 22:16:33 lt-cgelatt-mac installd[346]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
Oct 26 22:16:33 lt-cgelatt-mac installd[346]: PackageKit: packages=(
"PKLeopardPackage file://localhost/Users/gelatt/Downloads/go1.7.3.darwin-amd64.pkg#com.googlecode.go.pkg"
)
Oct 26 22:16:33 lt-cgelatt-mac installd[346]: PackageKit: Will do receipt-based obsoleting for package identifier com.googlecode.go (prefix path=/)
Oct 26 22:16:33 lt-cgelatt-mac installd[346]: PackageKit: Extracting file://localhost/Users/gelatt/Downloads/go1.7.3.darwin-amd64.pkg#com.googlecode.go.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/CFABB180-982B-4447-B3F1-F156518C2D17.activeSandbox/Root, uid=0)
Oct 26 22:16:36 lt-cgelatt-mac installd[346]: PackageKit: prevent user idle system sleep
Oct 26 22:16:36 lt-cgelatt-mac installd[346]: PackageKit: suspending backupd
Oct 26 22:16:36 lt-cgelatt-mac install_monitor[28919]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Oct 26 22:16:36 lt-cgelatt-mac install_monitor[28919]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Oct 26 22:16:36 lt-cgelatt-mac installd[346]: PackageKit: releasing backupd
Oct 26 22:16:36 lt-cgelatt-mac installd[346]: PackageKit: allow user idle system sleep
Oct 26 22:16:36 lt-cgelatt-mac installd[346]: PackageKit: Install Failed: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" UserInfo={NSFilePath=/private/tmp/PKInstallSandbox.XXXXXX} {
NSFilePath = "/private/tmp/PKInstallSandbox.XXXXXX";
}
Oct 26 22:16:36 lt-cgelatt-mac installd[346]: PackageKit: Running idle tasks
Oct 26 22:16:36 lt-cgelatt-mac Installer[28905]: install:didFailWithError:Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" UserInfo={NSFilePath=/private/tmp/PKInstallSandbox.XXXXXX}
Oct 26 22:16:36 lt-cgelatt-mac installd[346]: PackageKit: Removing client PKInstallDaemonClient pid=28905, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Oct 26 22:16:36 lt-cgelatt-mac installd[346]: PackageKit: Done with sandbox removals
Oct 26 22:16:37 lt-cgelatt-mac Installer[28905]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Oct 26 22:16:37 lt-cgelatt-mac Installer[28905]: IFDInstallController 4B44F180 state = 8
Oct 26 22:16:37 lt-cgelatt-mac Installer[28905]: Displaying 'Install Failed' UI.
Oct 26 22:16:37 lt-cgelatt-mac Installer[28905]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
Oct 26 22:16:38 lt-cgelatt-mac Installer[28905]: LSExceptions [0x7f884b60c400] unloaded

@bradfitz bradfitz added this to the Go1.8Maybe milestone Dec 2, 2016
@bradfitz
Copy link
Contributor

bradfitz commented Dec 2, 2016

/cc @broady, if this means anything to you.

I assume this might still affect some users for Go 1.8.

@bradfitz bradfitz removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Dec 2, 2016
@broady
Copy link
Member

broady commented Dec 4, 2016

Doesn't mean anything to me.

@jferrer21 @Kreeblah - did this happen for previous installers, too? Like 1.5.4?

Does it happen with 1.6.4 (released this week)?

@rsc
Copy link
Contributor

rsc commented Dec 5, 2016

I found these:

https://forums.virtualbox.org/viewtopic.php?f=8&t=80023
http://superuser.com/questions/1133065/unable-to-write-to-tmp-osx-unable-to-correct-permissions-operation-not-permitt#comment1629612_1133065

This suggests that sometimes the package installer gets messed up by the /tmp -> private/tmp symlink being lost or not having the right permissions or something. It's not clear whether this is the problem for this report.

The superuser.com link has some commands for "repair_packages" that sound promising.

@Kreeblah
Copy link

Kreeblah commented Dec 5, 2016

@broady I actually can't replicate it now, even on the versions that were failing before. I'm still on 10.11.6, so I'm not sure what changed.

@bradfitz
Copy link
Contributor

bradfitz commented Jun 7, 2017

Can anybody reproduce this?

@bradfitz bradfitz modified the milestones: Unplanned, Go1.9 Jun 7, 2017
@agnivade
Copy link
Contributor

agnivade commented Nov 7, 2018

This should have had a "WaitingForInfo" label. Given that we are way past supporting 1.7.x and it's been more than a year since anybody has commented on the issue, I will go ahead and close this.

@jferrer21 - If you still face similar issues with 1.10.x or 1.11.x, please do feel free to open a new issue.

@agnivade agnivade closed this as completed Nov 7, 2018
@golang golang locked and limited conversation to collaborators Nov 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Darwin
Projects
None yet
Development

No branches or pull requests

9 participants