Error

Ryan Schmidt ryandesign at macports.org
Thu Jan 7 22:36:49 PST 2016


On Jan 8, 2016, at 12:12 AM, Ankit Ruhi wrote:
> 
> While trying to self update macport I get the following error : 
> 
> $ port -v selfupdate
> --->  Updating MacPorts base sources using rsync
> rsync: failed to connect to rsync.macports.org: Connection refused (61)
> rsync error: error in socket IO (code 10) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/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

Please see https://trac.macports.org/wiki/FAQ#selfupdatefails


> Also when I try installing gdb, I get the following error
> 
> $ sudo port install gdb-apple
> Error: Port gdb-apple not found

This is because you haven't successfully run sync or selfupdate yet.



More information about the macports-users mailing list