#15630 closed defect (duplicate)
MacPorts is failing to fetch apache2
Reported by: | nm.photog@… | Owned by: | imajes@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | apache2 | Cc: | faisal@… |
Port: |
Description
When I enter... sudo port install apache2 the system searches everywhere but fails to fetch. Here's the response:
---> Fetching apache2 ---> Attempting to fetch httpd-2.2.8.tar.bz2 from http://www.apache.org/dist/httpd ---> Attempting to fetch httpd-2.2.8.tar.bz2 from http://apache.planetmirror.com.au/dist/httpd ---> Attempting to fetch httpd-2.2.8.tar.bz2 from ftp://ftp.planetmirror.com/pub/apache/dist/httpd ---> Attempting to fetch httpd-2.2.8.tar.bz2 from ftp://ftp.is.co.za/Apache/dist/httpd ---> Attempting to fetch httpd-2.2.8.tar.bz2 from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/httpd ---> Attempting to fetch httpd-2.2.8.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/apache2 ---> Attempting to fetch httpd-2.2.8.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch httpd-2.2.8.tar.bz2 from http://svn.macports.org/repository/macports/downloads/apache2 Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing.
Change History (6)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | faisal@… added |
---|---|
Milestone: | MacPorts 1.6.1 → Port Bugs |
Owner: | changed from macports-tickets@… to imajes@… |
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
If you were using MacPorts from trunk you would not experience this problem because MacPorts in trunk adds the "old" download location to the apache mirror...
For now you can manually download apache-2.2.8.tar.bz2 from http://distfiles.macports.org/apache2/ or http://archive.apache.org/dist/httpd/ and put it in /opt/local/var/macports/distfiles/apache2
Apache 2.2.9 has been released, so the port should be updated to this version.
comment:3 Changed 16 years ago by raimue (Rainer Müller)
A simple workaround:
$ sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/apache2 port -v fetch apache2
This will fetch the file from the new distfiles mirror.
comment:4 Changed 16 years ago by nm.photog@…
Thank you very much for your help. I apologize if I messed things up making this post. I haven't used WikiFormatting before. The simple workaround worked beautifully.
You have provided excellent support, and I appreciate it very much.
Mike
comment:5 Changed 16 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #15613.
Please remember WikiFormatting.
Has duplicate #15631.