Opened 17 years ago

Closed 17 years ago

#14544 closed defect (invalid)

MacPorts-1.6.0 pkg installation failed during postflight script

Reported by: keith@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Having removed ports using the instructions at http://trac.macosforge.org/projects/macports/wiki/FAQ#HowdoIremoveoruninstallMacPorts, I tried installing from the MacPorts-1.6.0 pkg and it failed with the following message:

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

I am using Leopard.

The install log also revealed the following errors just before the final error above:

rsync: connection unexpectedly closed (314109 bytes received so far) [generator] Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed d oing rsync

Is there a workaround to this problem or do I have to wait until 1.6.1?

Keith Pitty

Change History (4)

comment:1 Changed 17 years ago by raimue (Rainer Müller)

Don't be afraid, the install is still complete.

But this means that you are not able to use rsync. Please check your firewall and run sudo port selfupdate manually.

comment:2 in reply to:  1 Changed 17 years ago by keith@…

Replying to raimue@macports.org:

Don't be afraid, the install is still complete.

But this means that you are not able to use rsync. Please check your firewall and run sudo port selfupdate manually.

Hi,

Thanks for your reply.

I've tried 'sudo port selfupdate' manually several times and each time it has failed part of the way through fetching the ports (got as far as kde last time and as far as python on an earlier attempt). My firewall on my mac is open although I am connected to the net via a wireless bridge and an ADSL router. What confuses me is that the sync seems to partially complete. If that is the case then how can the problem be due to a firewall restriction?

Regards, Keith

comment:3 Changed 17 years ago by keith@…

I just tried 'sudo port selfupdate' again and this time it completed without rsync reporting that it couldn't sync the ports tree due to an error in the protocol data stream (code 12) at /SourceCache/rsync/rsync-30/rsync/io.c(359). I'd love to know what it's doing there.

comment:4 Changed 17 years ago by raimue (Rainer Müller)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.