While updating Darwin ports, i got the following error

Discussion in 'macOS' started by bhushanak79, Oct 12, 2010.

  1. bhushanak79 macrumors newbie

    Joined:
    Oct 12, 2010
    #1
    Bhushan-Kanagalekars-MacBook-Pro:~ Bhushan$ sudo port -d selfupdate
    Password:
    Warning: No index(es) found! Have you synced your source indexes?
    ---> Updating the ports tree
    DEBUG: Synchronizing ports tree(s)
    Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
    DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
    rsync: failed to connect to rsync.macports.org: Operation timed out (60)
    rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-40/rsync/clientserver.c(105) [receiver=2.6.9]
    shell command "/usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports" returned error 10
    Error: Synchronization of the local ports tree failed doing rsync
    DEBUG: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
    while executing
    "macports::selfupdate [array get global_options] base_updated"
    Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
     
  2. LPZ macrumors 65816

    Joined:
    Jul 11, 2006
    #2
    Your rsync couldn't connect to the macports server. One possibility is that the server was temporarily down. You might try again; it's working for me.

    Are you on a network that prohibits traffic on the rsync port 873? Perhaps something in your firewall configuration?
     

Share This Page