[MacPorts] #32211: Port self update failed on OS Lion 10.7.2 and Xcode 4.2

MacPorts noreply at macports.org
Wed Nov 23 20:35:44 PST 2011


#32211: Port self update failed on OS Lion 10.7.2 and Xcode 4.2
---------------------------------+------------------------------------------
 Reporter:  peterever@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  base                 |     Version:  2.0.3                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

  * component:  ports => base


Old description:

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

New description:

 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.

--

Comment:

 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.

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


More information about the macports-tickets mailing list