Opened 13 years ago

Last modified 13 years ago

#33227 closed defect

Installer reports failure despite postflight report success — at Version 1

Reported by: freespace+macforge@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.3
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On a fresh 10.7.2 install, when installing macports 2.0.3 using the pkg failure is reported. Upon examining install.log, the following is emitted:

Feb 12 17:52:13 solaris installd[1461]: ./postflight: Successful!
Feb 12 17:52:13 solaris installd[1461]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MacPorts-2.0.3.pkg”." UserInfo=0x1048422d0 {NSFilePath=./postflight, NSURL=file://localhost/Volumes/MacPorts-2.0.3/MacPorts-2.0.3.pkg, PKInstallPackageIdentifier=org.macports.MacPorts, NSLocalizedDescription=An error occurred while running scripts from the package “MacPorts-2.0.3.pkg”.} {
	    NSFilePath = "./postflight";
	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cMacPorts-2.0.3.pkg\U201d.";
	    NSURL = "file://localhost/Volumes/MacPorts-2.0.3/MacPorts-2.0.3.pkg";
	    PKInstallPackageIdentifier = "org.macports.MacPorts";
	}

Despite this, port does appear to be properly installed.

Change History (2)

Changed 13 years ago by freespace+macforge@…

Attachment: install.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)

I assume this means your ports tree did not sync. Try running "sudo port -v selfupdate" and see if you get any more detailed errors.

Note: See TracTickets for help on using tickets.