[MacPorts] #33227: Installer reports failure despite postflight report success

MacPorts noreply at macports.org
Sat Feb 11 23:33:09 PST 2012


#33227: Installer reports failure despite postflight report success
------------------------------------------+---------------------------------
 Reporter:  freespace+macforge@…          |       Owner:  macports-tickets@…                   
     Type:  defect                        |      Status:  new                                  
 Priority:  Normal                        |   Milestone:                                       
Component:  base                          |     Version:  2.0.3                                
 Keywords:                                |        Port:                                       
------------------------------------------+---------------------------------
Changes (by ryandesign@…):

  * component:  ports => base


Old description:

> 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.

New description:

 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.

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/33227#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list