"The following install step failed: run postflight script for
MacPorts-1.6.0."
Stefan Schwarzer
stefan.schwarzer at grid.unep.ch
Tue Jan 8 22:30:21 PST 2008
>>>> I wanted to install MacPorts on my Mac - MacPro with Leopard,
>>>> latest version. But, while using the disk image, the installation
>>>> finished with this message: "The following install step failed:
>>>> run postflight script for MacPorts-1.6.0."
>>>>
>>>> Can anyone let me know what I should do?
>>>
>>> I'm not sure...
>>>
>>> Were you using the correct disk image? the one whose name is
>>> MacPorts-1.6.0-10.5-Leopard.dmg?
>>>
>>> If so, can you just try installing it again, see if it works now?
>>
>> Yep, was the right disk image. Downloaded it again and installed
>> it. But same message....
>
>
> I wrote the postflight script so I should chime in. Can you please
> try grepping through /var/log/install* files to see if there are any
> relevant messages there about the failure?
>
> On a similar note, are you experiencing any problems with your
> MacPorts usage? Was your terminal environment set up correctly by
> the installer?
Here are the info. Can it be that it can't connect to MacPorts (for an
update or so) which causes the problem? I am behind a firewill - will
have to ask the admin to open port 873 - if that's correct
Jan 9 07:25:23 gridmac7 Installer[18967]: Localized installer script
postflight found in the MacPorts-1.6.0 package. Using compatibility
mode.
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]: Unknown
shell! Please set your MacPorts compatible environment manually.
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:23: --- last message repeated 1 time ---
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]: Checking
the shell environment for user "schwarzer"...
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:23: --- last message repeated 1 time ---
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]: /Users/
schwarzer/Downloads/8.1.08/MacPorts-1.6.0.pkg/Contents/Resources/
English.lproj/postflight: line 71: /Users/schwarzer/.: Is a directory
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]: /Users/
schwarzer/Downloads/8.1.08/MacPorts-1.6.0.pkg/Contents/Resources/
English.lproj/postflight: line 96: /Users/schwarzer/.: Is a directory
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]: Your shell
already has the right MANPATH environment variable for use with
MacPorts!
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:23 gridmac7 runner[18974]: postflight[18990]: Your shell
already has the right DISPLAY environment variable for use with
MacPorts!
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:24: --- last message repeated 1 time ---
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Synchronizing the MacPorts installation with the project's rsync
server...
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:24: --- last message repeated 1 time ---
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Synchronizing local ports tree from rsync://rsync.macports.org/release/
ports/
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]: rsync:
failed to connect to rsync.macports.org: Connection refused (61)
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]: rsync
error: error in socket IO (code 10) at /SourceCache/rsync/rsync-30/
rsync/clientserver.c(94)
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]: Error: /opt/
local/bin/port: port selfupdate failed: Couldn't sync the ports tree:
Synchronization the local ports tree failed doing rsync
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]: An attempt
to synchronize your recent MacPorts installation with the project's
rsync server failed!
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]: Please run
'port -d selfupdate' manually to find out the cause of the error.
Jan 9 07:25:24 gridmac7 runner[18974]: postflight[18990]:
Jan 9 07:25:24 gridmac7 Installer[18967]: Install failed: The
following install step failed: run postflight script for
MacPorts-1.6.0. Contact the software manufacturer for assistance.
More information about the macports-users
mailing list