port selfupdate failing
ryandesign at macports.org
Wed Dec 4 15:13:32 PST 2013
On Dec 4, 2013, at 15:34, Gustavo Seabra wrote:
> Steps 1 and 2 worked just fine. skipping step 3 I get the message below (basically, nothing changes.)
> I attach my sources.conf file here, in case it helps.
> $ sudo port -d selfupdate
> DEBUG: Copying /Users/seabra/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
> 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:
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
The error messages tell us rsync communications are not working on your network. Has this always been the case, or did selfupdate used to work? Did something recently change about your network? If you have one, have you spoken with your network administrator?
It's normal that editing sources.conf would not fix this because that only affects "port sync", not "port selfupdate". If you cannot make rsync work on your network, then you cannot use selfupdate and must use sync, and when a new version on MacPorts base is released, you must install it using the installer package we post on our web site.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users