Opened 6 years ago

Closed 4 years ago

#48007 closed defect (worksforme)

Macports installation fails everytime

Reported by: wayn0i@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.3
Keywords: Cc: jmroot (Joshua Root), ryandesign (Ryan Schmidt)
Port:

Description (last modified by larryv (Lawrence Velázquez))

Log

Jun 10 20:12:36 IMAC installd[747]: PackageKit: ----- Begin install -----
Jun 10 20:13:07 IMAC installd[747]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MacPorts-2.3.3-10.10-Yosemite.pkg”." UserInfo=0x7fbdc58180a0 {NSFilePath=./postinstall, NSURL=file://localhost/Users/me/Downloads/MacPorts-2.3.3-10.10-Yosemite.pkg#MacPorts-2.3.3-component.pkg, PKInstallPackageIdentifier=org.macports.MacPorts, NSLocalizedDescription=An error occurred while running scripts from the package “MacPorts-2.3.3-10.10-Yosemite.pkg”.} {
	    NSFilePath = "./postinstall";
	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cMacPorts-2.3.3-10.10-Yosemite.pkg\U201d.";
	    NSURL = "file://localhost/Users/me/Downloads/MacPorts-2.3.3-10.10-Yosemite.pkg#MacPorts-2.3.3-component.pkg";
	    PKInstallPackageIdentifier = "org.macports.MacPorts";
	}
Jun 10 20:13:07 IMAC Installer[1824]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Jun 10 20:13:07 IMAC Installer[1824]: Displaying 'Install Failed' UI.
Jun 10 20:13:07 IMAC Installer[1824]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

Any assistance would be appreciated, I already have Xcode and command line

Change History (3)

comment:1 Changed 6 years ago by larryv (Lawrence Velázquez)

Cc: jmr@… added
Component: portsbase
Description: modified (diff)

comment:2 Changed 6 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added

I'm not sure why the postinstall script failed, and unfortunately the installer hasn't provided us any information to help diagnose it.

The good news is that if you got to the point where the installer would run the postinstall script, MacPorts has been successfully installed. Depending on where the postinstall script failed, you may need to do some of the steps it would have done for you, such as adding the macports user and group, adding /opt/local/bin and /opt/local/sbin to your shell's PATH variable and running "sudo port selfupdate".

You can run "dscl . read /Users/macports" to see if the macports user has been added. Hopefully it has. If not, let us know.

comment:3 Changed 4 years ago by ryandesign (Ryan Schmidt)

Resolution: worksforme
Status: newclosed

I think we have to close this because there's no information to go on. It works for everyone else.

Note: See TracTickets for help on using tickets.