Opened 10 years ago

Closed 10 years ago

#44155 closed defect (worksforme)

MacPort sources synchronization Error

Reported by: joh.ahra@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.0
Keywords: Cc:
Port:

Description (last modified by neverpanic (Clemens Lang))

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

Change History (4)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Component: portsbase
Description: modified (diff)

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.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Have you been able to resolve this issue?

comment:3 Changed 10 years ago by joh.ahra@…

Yes. I have resolved the issue. Thank you so much. It can be closed.

comment:4 Changed 10 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.