new installation trouble
wienands at gmail.com
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 gmail.com> 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
> DEBUG: Copying /Users/uli/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/macports/release/tarballs <http://rsync.macports.org/macports/release/tarballs>
> ---> Updating MacPorts base sources using rsync
> DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar <rsync://rsync.macports.org/macports/release/tarballs/base.tar> /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
> rsync: failed to connect to rsync.macports.org: 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://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
> Exit code: 10
> [Ulis-MacBook-Pro:~] uli%
> So it says it cannot connect to rsync.macports.org <http://rsync.macports.org/>. But I can ping it & it responds well.
> Where am I getting off track here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users