[MacPorts] MisbehavingServers modified

MacPorts noreply at macports.org
Thu Jun 23 09:34:53 PDT 2011


Changed page "MisbehavingServers" by rogerdpack at gmail.com from 216.49.181.128*
Page URL: <https://trac.macports.org/wiki/MisbehavingServers>
Diff URL: <https://trac.macports.org/wiki/MisbehavingServers?action=diff&version=6>
Revision 6
Comment: note how to overcome the failure

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: MisbehavingServers
=========================================================================
--- MisbehavingServers (version: 5)
+++ MisbehavingServers (version: 6)
@@ -12,4 +12,6 @@
 
  * '''You are behind a proxy that is denying access to the download site.''' Many proxies serve an HTML error page in this case, and some do not use the correct HTTP response code. Ask your network administrator to allow access to the relevant site, and to configure the proxy to use the correct response code when serving error pages.
 
- * '''The download site no longer has the file, and does not indicate this with the correct response code.''' Usually such mirrors should be removed from portfiles, so feel free to ask the maintainer to do so. You could also ask the owner of the mirror to fix their server configuration.
+ * '''The download site no longer has the file, and does not indicate this with the correct response code.''' Usually such mirrors should be removed from portfiles, so feel free to ask the maintainer to do so. You could also ask the owner of the mirror to fix their server configuration.  
+
+ * '''Overcoming the failure''' It may be that the mirror is temporarily down, so you'll need to download it manually.  You can tell which mirror you are downloading from the output's ''Attempting to fetch xx from http://yyy/zzz'' which means you are attempting to download the file http://yyy/zzz/xx.  You can navigate there in a browser and see if the file and its neighbors look normal or not.  If not then report this to the mailing list or ask the mirror owner to fix their server configuration, or wait to see if it gets fixed over time.  In the meantime you could try searching for that specific file, download it manually, and copy it over the top (to replace) your local downloaded version of that file (located somewhere in /opt/local/...), then attempt the install again.  It should pick up the "now working" file and continue as normal.  For a list of mirrors you could use, you can look in the port file ([https://trac.macports.org/browser/trunk/dports/textproc/texi2html/Portfile example]) for "master_sites" then lookup that master site in the list of [https://trac.macports.org/browser/trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl master sites].

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on MisbehavingServers. If it was not you, please
report to .


More information about the macports-changes mailing list