"The following install step failed: run postflight script for MacPorts-1.6.0."

William Siegrist wsiegrist at apple.com
Wed Jan 9 09:05:02 PST 2008


The rsync server looks okay, so is it possible that you are behind a  
firewall or proxy that is blocking 873/tcp?

Can you connect using just telnet?

bash# telnet rsync.macports.org 873
Trying 17.254.17.246...
Connected to alpha.macosforge.org.
Escape character is '^]'.
@RSYNCD: 28


-Bill



On Jan 8, 2008, at 10:30 PM, Stefan Schwarzer wrote:

>>>>> 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.
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users




----
William Siegrist
Software Support Engineer
Mac OS Forge
http://macosforge.org/
wsiegrist at apple.com
408 862 7337





-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080109/1d60cb03/smime-0001.bin


More information about the macports-users mailing list