[MacPorts] #37003: Issue with rsync and selfupdate on OSX lion

MacPorts noreply at macports.org
Thu Nov 15 12:16:02 PST 2012


#37003: Issue with rsync and selfupdate on OSX lion
-------------------------------+--------------------------------
  Reporter:  danielryan2430@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  closed
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.1.2
Resolution:  invalid           |   Keywords:
      Port:                    |
-------------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => invalid


Old description:

> 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!

New description:

 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!

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/37003#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list