Opened 11 years ago

Closed 11 years ago

#37003 closed defect (invalid)

Issue with rsync and selfupdate on OSX lion

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

this is the error i have been getting

sudo port -d selfupdate
DEBUG: Copying /Users/danielimberman/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
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]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 12
DEBUG: Error synchronizing MacPorts sources: command execution failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

thank you guys for the help!

Change History (1)

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

Description: modified (diff)
Resolution: invalid
Status: newclosed

If this happens all the time, then you have a problem with your network. Perhaps you network blocks rsync traffic. If so, investigate alternate means of syncing your ports tree, including using Subversion or a daily tarball. These methods are described in our wiki. If you need further help please write to the macports-users mailing list.

Note: See TracTickets for help on using tickets.