Error

Ryan Schmidt ryandesign at macports.org
Thu Jan 7 23:52:29 PST 2016


On Jan 8, 2016, at 12:42 AM, Ankit Ruhi wrote:

> On Fri, Jan 8, 2016 at 12:06 PM, Ryan Schmidt wrote:
> 
>> 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.
> 
> how do I do that? I mean have perform a successful run sync?

Please Reply All so that the conversation stays on the mailing list.

Did you read the FAQ entry I mentioned above? It explains the options that are available to you.



More information about the macports-users mailing list