New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32211 (closed defect: invalid)

Opened 18 months ago

Last modified 16 months ago

Port self update failed on OS Lion 10.7.2 and Xcode 4.2

Reported by: peterever@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.3
Keywords: Cc:
Port:

Description (last modified by ryandesign@…) (diff)

Somehow selfupdate does not work on my Mac. Below is the output. No main.log file was generated by MacPorts.

sudo port selfupdate

--->  Updating MacPorts base sources using rsync
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command failed (see log for details)




sudo port -v selfupdate

--->  Updating MacPorts base sources using rsync
rsync: read error: Operation timed out (60)
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(603) [receiver=2.6.9]
shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs" returned error 12
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command failed (see log for details)




sudo port -d selfupdate

DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
--->  Updating MacPorts base sources using rsync
rsync: read error: Operation timed out (60)
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(603) [receiver=2.6.9]
shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs" returned error 12
DEBUG: Error synchronizing MacPorts sources: shell command failed (see log for details)
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command failed (see log for details)

Thanks for the help.

Change History

comment:1 Changed 18 months ago by ryandesign@…

  • Component changed from ports to base
  • Description modified (diff)

Apparently some problem communicating via rsync on your network. Contact your network administrator, or use one of the other available methods of updating MacPorts that doesn't involve using rsync. See the wiki.

comment:2 Changed 16 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.