question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RC 2 installer fails on macOS

See original GitHub issue

Not sure if this helps, but for the later versions of the installer, it fails and I think this is the log:


2021-09-23 07:05:02+02 gray-space installd[1822]: PackageKit: Set reponsibility for install to 18102
2021-09-23 07:05:02+02 gray-space installd[1822]: PackageKit: Skipping stale sandbox at path /Library/InstallerSandboxes/.PKInstallSandboxManager/7D9C7D5C-92EC-470A-A2BC-DAE9815A71C3.activeSandbox
2021-09-23 07:05:02+02 gray-space installd[1822]: PackageKit: Skipping stale sandbox at path /Library/InstallerSandboxes/.PKInstallSandboxManager/F480FEF3-F7EC-4582-B4EB-31D9E99E1619.activeSandbox
2021-09-23 07:05:02+02 gray-space installd[1822]: PackageKit: Skipping stale sandbox at path /Library/InstallerSandboxes/.PKInstallSandboxManager/9ADF08AC-6296-4972-8AD3-AD17AF317F0D.activeSandbox
2021-09-23 07:05:02+02 gray-space installd[1822]: PackageKit: Skipping stale sandbox at path /Library/InstallerSandboxes/.PKInstallSandboxManager/8C33E4D3-0EA2-43EF-854E-F6F20DC53D8E.activeSandbox
2021-09-23 07:05:03+02 gray-space installd[1822]: PackageKit: Will do receipt-based obsoleting for package identifier com.microsoft.netstandard.pack.targeting.2.1.0.component.osx.x64 (prefix path=usr/local/share/dotnet)
2021-09-23 07:05:03+02 gray-space installd[1822]: PackageKit: Will do receipt-based obsoleting for package identifier com.microsoft.dotnet.sharedhost.component.osx.x64 (prefix path=usr/local/share/dotnet)
2021-09-23 07:05:03+02 gray-space installd[1822]: PackageKit: Extracting file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.pack.targeting.6.0.0-rc.2.21470.23.component.osx.x64.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox/Root/usr/local/share/dotnet, uid=0)
2021-09-23 07:05:03+02 gray-space installd[1822]: PackageKit: Extracting file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.standard.pack.targeting.2.1.0.component.osx.x64.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox/Root/usr/local/share/dotnet, uid=0)
2021-09-23 07:05:03+02 gray-space installd[1822]: PackageKit: Extracting file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.pack.apphost.6.0.0-rc.2.21470.23.component.osx.x64.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox/Root/usr/local/share/dotnet, uid=0)
2021-09-23 07:05:03+02 gray-space installd[1822]: PackageKit: Extracting file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.sharedframework.Microsoft.NETCore.App..component.osx.x64.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox/Root/usr/local/share/dotnet, uid=0)
2021-09-23 07:05:04+02 gray-space installd[1822]: PackageKit: Extracting file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.hostfxr.6.0.0-rc.2.21470.23.component.osx.x64.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox/Root/usr/local/share/dotnet, uid=0)
2021-09-23 07:05:04+02 gray-space installd[1822]: PackageKit: Extracting file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.sharedhost.6.0.0-rc.2.21470.23.component.osx.x64.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox/Root/usr/local/share/dotnet, uid=0)
2021-09-23 07:05:04+02 gray-space installd[1822]: PackageKit: Extracting file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.dev.6.0.100-rc.2.21472.55.component.osx.x64.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox/Root/usr/local/share/dotnet, uid=0)
2021-09-23 07:05:07+02 gray-space installd[1822]: PackageKit: prevent user idle system sleep
2021-09-23 07:05:07+02 gray-space installd[1822]: PackageKit: suspending backupd
2021-09-23 07:05:07+02 gray-space installd[1822]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.sandboxTrash for sandbox /Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox
2021-09-23 07:05:07+02 gray-space install_monitor[18106]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
2021-09-23 07:05:08+02 gray-space installd[1822]: PackageKit: Shoving /Library/InstallerSandboxes/.PKInstallSandboxManager/F4B40947-D46A-4A6A-9683-8F45FE2A7F9C.activeSandbox/Root (1 items) to /
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.2wlEWt/Scripts/com.microsoft.dotnet.sharedhost.component.osx.x64.vbKaUQ
2021-09-23 07:05:11+02 gray-space package_script_service[2915]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.2wlEWt/Scripts/com.microsoft.dotnet.sharedhost.component.osx.x64.vbKaUQ
2021-09-23 07:05:11+02 gray-space package_script_service[2915]: Set responsibility to pid: 18102, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
2021-09-23 07:05:11+02 gray-space package_script_service[2915]: PackageKit: *** launch path not accessible
2021-09-23 07:05:11+02 gray-space package_script_service[2915]: PackageKit: Failed task attributes: {
	    NSFileCreationDate = "2021-09-21 04:07:20 +0000";
	    NSFileExtensionHidden = 0;
	    NSFileGroupOwnerAccountID = 0;
	    NSFileGroupOwnerAccountName = wheel;
	    NSFileHFSCreatorCode = 0;
	    NSFileHFSTypeCode = 0;
	    NSFileModificationDate = "2021-09-21 04:07:20 +0000";
	    NSFileOwnerAccountID = 0;
	    NSFileOwnerAccountName = root;
	    NSFilePosixPermissions = 420;
	    NSFileProtectionKey = NSFileProtectionCompleteUntilFirstUserAuthentication;
	    NSFileReferenceCount = 1;
	    NSFileSize = 849;
	    NSFileSystemFileNumber = 50309072;
	    NSFileSystemNumber = 16777222;
	    NSFileType = NSFileTypeRegular;
	}
2021-09-23 07:05:11+02 gray-space package_script_service[2915]: Responsibility set back to self.
2021-09-23 07:05:11+02 gray-space install_monitor[18106]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit: releasing backupd
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit: allow user idle system sleep
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit: Cleared responsibility for install from 18102.
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit: Cleared permissions on Installer.app
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.sharedhost.6.0.0-rc.2.21470.23.component.osx.x64.pkg, PKInstallPackageIdentifier=com.microsoft.dotnet.sharedhost.component.osx.x64, NSLocalizedDescription=An error occurred while running scripts from the package “dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg”.} {
	    NSFilePath = "./postinstall";
	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cdotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg\U201d.";
	    NSURL = "file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.sharedhost.6.0.0-rc.2.21470.23.component.osx.x64.pkg";
	    PKInstallPackageIdentifier = "com.microsoft.dotnet.sharedhost.component.osx.x64";
	}
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit: Running idle tasks
2021-09-23 07:05:11+02 gray-space Installer[18102]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Users/matthew/Downloads/dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg#com.microsoft.dotnet.sharedhost.6.0.0-rc.2.21470.23.component.osx.x64.pkg, PKInstallPackageIdentifier=com.microsoft.dotnet.sharedhost.component.osx.x64, NSLocalizedDescription=An error occurred while running scripts from the package “dotnet-sdk-6.0.100-rc.2.21472.55-osx-x64.pkg”.}
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit: Removing client PKInstallDaemonClient pid=18102, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
2021-09-23 07:05:11+02 gray-space installd[1822]: PackageKit: Done with sandbox removals
2021-09-23 07:05:11+02 gray-space Installer[18102]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
2021-09-23 07:05:11+02 gray-space Installer[18102]: IFDInstallController DF60A080 state = 8
2021-09-23 07:05:11+02 gray-space Installer[18102]: Displaying 'Install Failed' UI.
2021-09-23 07:05:11+02 gray-space Installer[18102]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
2021-09-23 07:05:17+02 gray-space Installer[18102]: Package Removal: User opted to keep package.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ericstjcommented, Sep 24, 2021

Let’s leave it open and assigned to me until it’s fixed. I will track the fix through the codeflow and make sure I have positive confirmation that its working in installer branch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Big Sur 11.0.1 RC2 Installation Issue
I was trying to go from MacOS 10.15.7 (19H15) to 11.0.1 RC2 on some test systems ... OSInstallerSetup.error Code=602 "An error occurred installing...
Read more >
Big Sur 11.0.1 RC2 Full Installer = "An Error occurred ...
Trying to upgrade a T2 Mac to 11.0.1 RC2, you will get the error "The bridgeOS update doesn't satisfy the given minimum version...
Read more >
Big Sur RC2 Full Install & Upgrade on a T2 Mac ... - YouTube
UPDATE 11/12/20!! For the new installer issues I've created a new video! https://youtu.be/MGUU-6rboaE THIS IS THE PREVIOUS RC2 Install ...
Read more >
Big Sur RC 2 Install Problem : r/MacOSBeta
Heyy, When installing Release Candidate 2 for Big Sur I keep getting the message: "An Error Occurred Installing macOS.".
Read more >
macOS 11.01.1 RC2 update from 10.15.7. fails because of ...
Just trying to install macOS 11.01.1 RC2 Public Beta (hopefully identical or close to public release on Nov 12) on Mac Pro 7.1...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found