new installation trouble

Ulrich Wienands wienands at
Mon Apr 23 04:59:02 UTC 2018

Ok, solved it myself: It looks like a firewall prevents rsync from working. By Googling I found the workaround in editing the macports.conf file to use https: instead. Now watching installs.

I do wonder whether there is a better way than to use Google to find the answer.

> On Apr 22, 2018, at 10:18 PM, Ulrich Wienands <wienands at> wrote:
> I am trying to get Macports running on a machine that has not had it before.
> Mac OS X 10.10.5 (Yosemite)
> In install Xcode 7,2.1 and the Developer tools. Starting up Xcode & accept the license agreement. xcode-select --install now says the tools are already installed; so far so good.
> Install MacPorts 2.4.3 from the package installer.
> Run sudo prot selfupdate. Seems to work (but see below).
> Trying to install something:
> sudo port install wget
> Error: cannot find wget.
> Futzing around for a while not getting anywhere. Then trying to update again using the -d flag. this produces the following output:
> uli% sudo port -d selfupdate
> Password:
> DEBUG: Copying /Users/uli/Library/Preferences/ to /opt/local/var/macports/home/Library/Preferences
> DEBUG: MacPorts sources location: /opt/local/var/macports/sources/ <>
> --->  Updating MacPorts base sources using rsync
> DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync:// <rsync://> /opt/local/var/macports/sources/
> rsync: failed to connect to No route to host (65)
> rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-45/rsync/clientserver.c(105) [receiver=2.6.9]
> Command failed: /usr/bin/rsync -rtzvl --delete-after rsync:// /opt/local/var/macports/sources/
> Exit code: 10
> [Ulis-MacBook-Pro:~] uli% 
> So it says it cannot connect to <>. But I can ping it & it responds well.
> Where am I getting off track here?
> Thanks,
> Uli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list