Subject: pkg/32122: apache2 mirrors change? pkgsrc lots of 404's and finally checksum error
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dshannon@techfluent.com>
List: pkgsrc-bugs
Date: 11/19/2005 18:30:00
>Number:         32122
>Category:       pkg
>Synopsis:       apache2 mirrors change? pkgsrc lots of 404's and finally checksum error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 19 18:30:00 +0000 2005
>Originator:     Duncan Shannon
>Release:        2.1_STABLE NetBSD
>Organization:
>Environment:
-bash-2.05b# uname -a
NetBSD tf-web1.techfluent.com 2.1_STABLE NetBSD 2.1_STABLE (GENERIC) #0: Sun Nov  6 17:07:17 CST 2005  peter@buster:/builds/netbsd-2/i386/obj/builds/netbsd-2/src/sys/arch/i386/compile/GENERIC i386

>Description:
When trying to install apache2 via pkgsrc, it fails in 2 ways.

1) It tries several mirrors, they all fail except for   for some reason. It then downloads the software

2) The checksum on the file downloaded fails.


=======

-bash-2.05b# /usr/pkgsrc/www/apache2/
-bash-2.05b# make
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> httpd-2.0.49.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch httpd-2.0.49.tar.gz from http://www.apache.org/dist/httpd/.
=> [5919279 bytes]
Requesting http://www.apache.org/dist/httpd/httpd-2.0.49.tar.gz
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch httpd-2.0.49.tar.gz from http://mirrors.midco.net/pub/apache.org/httpd/.
=> [5919279 bytes]
Requesting http://mirrors.midco.net/pub/apache.org/httpd/httpd-2.0.49.tar.gz
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch httpd-2.0.49.tar.gz from http://apache.mirror.digitalspace.net/httpd/.
=> [5919279 bytes]
Requesting http://apache.mirror.digitalspace.net/httpd/httpd-2.0.49.tar.gz
ftp: Receiving HTTP reply: Undefined error: 0
=> Attempting to fetch httpd-2.0.49.tar.gz from http://apache.mirrorcentral.com/dist/httpd/.
=> [5919279 bytes]
Requesting http://apache.mirrorcentral.com/dist/httpd/httpd-2.0.49.tar.gz
Redirected to http://apache.mirrorcentral.com/
ftp: no file after directory (you must specify an output file) `http://apache.mirrorcentral.com/'
=> Attempting to fetch httpd-2.0.49.tar.gz from http://www.rge.com/pub/infosystems/apache/httpd/.
=> [5919279 bytes]
Requesting http://www.rge.com/pub/infosystems/apache/httpd/httpd-2.0.49.tar.gz
Redirected to http://ftp.rge.com/pub/infosystems/apache/httpd/httpd-2.0.49.tar.gz
ftp: No address associated with hostname
=> Attempting to fetch httpd-2.0.49.tar.gz from http://mirrors.ccs.neu.edu/Apache/dist/httpd/.
=> [5919279 bytes]
Requesting http://mirrors.ccs.neu.edu/Apache/dist/httpd/httpd-2.0.49.tar.gz
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch httpd-2.0.49.tar.gz from http://www.apache.inetcosmos.org/dist/httpd/.
=> [5919279 bytes]
ftp: No address associated with hostname
=> Attempting to fetch httpd-2.0.49.tar.gz from http://www.ibiblio.org/pub/packages/infosystems/WWW/servers/apache/httpd/.
=> [5919279 bytes]
Requesting http://www.ibiblio.org/pub/packages/infosystems/WWW/servers/apache/httpd/httpd-2.0.49.tar.gz
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch httpd-2.0.49.tar.gz from http://apache.ttlhost.com/httpd/.
=> [5919279 bytes]
ftp: No address associated with hostname
=> Attempting to fetch httpd-2.0.49.tar.gz from http://apache.towardex.com/httpd/.
=> [5919279 bytes]
ftp: Connect to address `2001:4830:100:20::7': No route to host
Trying 65.124.20.198...
Requesting http://apache.towardex.com/httpd/httpd-2.0.49.tar.gz
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch httpd-2.0.49.tar.gz from http://mirrors.theonlinerecordstore.com/apache/httpd/.
=> [5919279 bytes]
Requesting http://mirrors.theonlinerecordstore.com/apache/httpd/httpd-2.0.49.tar.gz
Redirected to http://mirrors.theonlinerecordstore.com/
ftp: no file after directory (you must specify an output file) `http://mirrors.theonlinerecordstore.com/'
=> Attempting to fetch httpd-2.0.49.tar.gz from http://apache.oregonstate.edu/httpd/.
=> [5919279 bytes]
Requesting http://apache.oregonstate.edu/httpd/httpd-2.0.49.tar.gz
Redirected to http://apache.osuosl.org/httpd/httpd-2.0.49.tar.gz
Requesting http://apache.osuosl.org/httpd/httpd-2.0.49.tar.gz
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch httpd-2.0.49.tar.gz from http://mirror.telentente.com/pub/apache/dist/httpd/.
=> [5919279 bytes]
Requesting http://mirror.telentente.com/pub/apache/dist/httpd/httpd-2.0.49.tar.gz
 10834      53.14 KB/s
10834 bytes retrieved in 00:00 (53.11 KB/s)
=> Checksum mismatch for httpd-2.0.49.tar.gz.
Make sure the Makefile and checksum file (/usr/pkgsrc/www/apache2/distinfo)
are up to date.  If you want to override this check, type
"/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/apache2

>How-To-Repeat:
remove the ../distfiles/httpd-*.gz

and then re-`make` in /usr/pkgsrc/www/apache2


>Fix:
install binary pkg.