Changes between Version 146 and Version 147 of FAQ


Ignore:
Timestamp:
Aug 26, 2016, 9:46:48 PM (8 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

Fix #selfupdatefails now that Apple no longer hosts our main mirror; remove PeerGuardian; we're no longer in 17.0.0.0/8 and nobody uses that anymore anyway

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v146 v147  
    166166First try `sudo port -d selfupdate` to get all errors to display. If your connection to the rsync server fails you may get blocked by a firewall or other network control software.
    167167
    168 Some firewalls, such as PeerGuardian, block connections to certain corporate IP addresses as a way to prevent software from "phoning home" and violating your privacy. Our main rsync server is hosted by Apple Inc. Self updating requires an rsync connection to download files, but this will be blocked. In order to work around this, you need to temporarily disable or white-list rsync.macports.org.  Another alternative is to use [wiki:Mirrors another mirror] that is not hosted by Apple.
    169 
    170 The black list entry is all of Apple Inc's subnet, which is 17.0.0.0/8. Disable this or create a white-list exception for rsync.macports.org.  PeerGuardian will filter your network connections even if it is not actively running as an application.   It is possible to disable PeerGuardian before running a selfupdate command by typing the following command in Terminal, but make sure you stop all processes associated with PeerGuardian before doing this.
    171 {{{
    172 sudo kextunload -b xxx.qnation.PeerGuardian
    173 }}}
     168Some firewalls block connections using the rsync protocol (TCP port 873). Ask your network administrator to allow outbound connections to this port or switch to one of the alternative methods mentioned below.
    174169
    175170If you run LittleSnitch, create a rule for rsync (/usr/bin/rsync) that allows connections to server hostname rsync.macports.org, port 873 (rsync), protocol 6 (TCP). Make sure the rule is enabled.
    176171
    177 If getting through a firewall is not a possibility, there are other methods you can use which are a bit more manual:
     172The connection problem may also only exist to certain hosts. Our main mirror is hosted by the University of Erlangen-Nuremberg, Germany inside the German Research Network. If you think you might have trouble connecting to their mirror service, you can try using one of our [wiki:Mirrors other mirrors].
     173
     174Additionally, our main mirror provides IPv6 connectivity. If your network has problems with IPv6 connections, try one of our [wiki:Mirrors mirrors] that does not advertise IPv6 support.
     175
     176If getting through a firewall or fixing your network is not a possibility, there are other methods you can use which are a bit more manual:
    178177
    179178 * [wiki:howto/SyncingWithSVN  You can sync your port tree using Subversion]