Opened 10 years ago

Closed 10 years ago

#27216 closed defect (worksforme)

Failure in initial self-update after install

Reported by: grant.passmore@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.2
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Schmidt))

Hi, I'm on a new (opened the box and turned it on 2 hours ago, installed XCode/Dev tools directly from factory provided DVD) 2 x 2.4 GHz Quad-Core Intel Xeon with latest 10.6.4. I've built and installed MacPorts successfully, but the initial self-update fails. I attach config.log and also paste the script output. Thank you very much for your help!

Grant

logicBOX:MacPorts-1.9.2 grant$ sudo port -v selfupdate
Warning: No index(es) found! Have you synced your source indexes?
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-40/rsync/clientserver.c(105) [receiver=2.6.9]
shell command "/usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports" returned error 10
Error: Synchronization of the local ports tree failed doing rsync
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed

Attachments (1)

config.log (49.9 KB) - added by grant.passmore@… 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by grant.passmore@…

Attachment: config.log added

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

Description: modified (diff)

comment:2 Changed 10 years ago by ryandesign (Ryan Schmidt)

Component: portsbase

Is rsync blocked on your network? It appears that way.

Either unblock rsync on your network, or accept that you cannot use selfupdate and will need to use an alternate method to update MacPorts. Consult the wiki for the available alternatives.

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

FAQ

Note: See TracTickets for help on using tickets.