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

MacPorts noreply at macports.org
Wed Nov 23 11:12:09 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:  ports                |     Version:  2.0.3                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 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.

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


More information about the macports-tickets mailing list