[MacPorts] #44155: MacPort sources synchronization Error

MacPorts noreply at macports.org
Thu Jun 26 13:48:07 PDT 2014


#44155: MacPort sources synchronization Error
-------------------------+--------------------------------
  Reporter:  joh.ahra@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.3.0
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------------------
Changes (by cal@…):

 * component:  ports => base


Old description:

> Hi. I just installed Xcode 5.1.1 from the App Store and also downloaded
> the Command Line Tool Mavericks version and installed that as well.
>
> I downloaded MacPorts-2.3.0-10.9-Mavericks.pkg and also installed that.
>
> Now when I open Terminal and run sudo port selfupdate: it gives me these
> errors.  I don't know why I get the errors and what I can do to fix this.
> Thanks.
>
> AAs-MacBook-Air:~ AAs$ sudo port selfupdate
> Password:
> --->  Updating MacPorts base sources using rsync
> Error: Error synchronizing MacPorts sources: command execution failed
> Please run `port -v selfupdate' for details.
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
> MacPorts sources: command execution failed
> AAs-MacBook-Air:~ AAs$ port -v selfupdate
> --->  Updating MacPorts base sources using rsync
> rsync: failed to connect to rsync.macports.org: Operation timed out (60)
> rsync error: error in socket IO (code 10) at
> /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [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: 10
> Error: Error synchronizing MacPorts sources: command execution failed
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
> MacPorts sources: command execution failed
> AAs-MacBook-Air:~ AAs$ port -d selfupdate
> DEBUG: MacPorts sources location:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
> --->  Updating MacPorts base sources using rsync
> rsync: failed to connect to rsync.macports.org: Operation timed out (60)
> rsync error: error in socket IO (code 10) at
> /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [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: 10
> DEBUG: Error synchronizing MacPorts sources: command execution failed
>     while executing
> "macports::selfupdate [array get global_options] base_updated"
> Error: Error synchronizing MacPorts sources: command execution failed
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
> MacPorts sources: command execution failed

New description:

 Hi. I just installed Xcode 5.1.1 from the App Store and also downloaded
 the Command Line Tool Mavericks version and installed that as well.

 I downloaded MacPorts-2.3.0-10.9-Mavericks.pkg and also installed that.

 Now when I open Terminal and run sudo port selfupdate: it gives me these
 errors.  I don't know why I get the errors and what I can do to fix this.
 Thanks.
 {{{
 AAs-MacBook-Air:~ AAs$ sudo port selfupdate
 Password:
 --->  Updating MacPorts base sources using rsync
 Error: Error synchronizing MacPorts sources: command execution failed
 Please run `port -v selfupdate' for details.
 Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
 MacPorts sources: command execution failed
 AAs-MacBook-Air:~ AAs$ port -v selfupdate
 --->  Updating MacPorts base sources using rsync
 rsync: failed to connect to rsync.macports.org: Operation timed out (60)
 rsync error: error in socket IO (code 10) at
 /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [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: 10
 Error: Error synchronizing MacPorts sources: command execution failed
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
 MacPorts sources: command execution failed
 AAs-MacBook-Air:~ AAs$ port -d selfupdate
 DEBUG: MacPorts sources location:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
 --->  Updating MacPorts base sources using rsync
 rsync: failed to connect to rsync.macports.org: Operation timed out (60)
 rsync error: error in socket IO (code 10) at
 /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [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: 10
 DEBUG: Error synchronizing MacPorts sources: command execution failed
     while executing
 "macports::selfupdate [array get global_options] base_updated"
 Error: Error synchronizing MacPorts sources: command execution failed
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
 MacPorts sources: command execution failed
 }}}

--

Comment:

 Please use WikiFormatting and preview your post when posting in Trac.

 It seems like your network doesn't allow you to connect to
 rsync.macports.org or has transient problems doing so. Try again later,
 try again with `-d` (i.e. `sudo port -d selfupdate`), try to ping
 rsync.macports.org, talk to your network administrator and ask him/her to
 allow outgoing rsync connections, and in general, follow our FAQ entry
 article on the subject: wiki:FAQ#selfupdatefails.

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


More information about the macports-tickets mailing list