Your message dated Fri, 24 Aug 2012 19:47:41 +0000
with message-id <[email protected]>
and subject line Bug#685724: fixed in approx 5.3-1
has caused the Debian Bug report #685724,
regarding approx: Approx fails to cache Google Chrome's Release file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
685724: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685724
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: approx
Version: 5.2-1
Severity: important


Approx is having trouble downloading Google Chrome's Release file and I'm not 
sure why.
Every other repository is working fine.

The error seems to be in the filesize calculation:
"Size of google-chrome/dists/stable/Release should be -1, not 1347"

In fact, the file is 1347 bytes. I'm not sure why approx would expect -1.
Does approx handle http chunked transfers? I would expect so.


Here is what a client sees:

chiestand@sagan:/tmp/approx-5.2$ GET -e 
http://debian.support.snl.salk.edu:9999/google-chrome/dists/stable/Release
500 Internal Server Error
Connection: close
Date: Thu, 23 Aug 2012 22:50:42 GMT
Server: approx/5.2 Ocamlnet/3.5.1
Content-Length: 182
Content-Type: text/html
Client-Date: Thu, 23 Aug 2012 22:50:42 GMT
Client-Peer: 198.202.70.23:9999
Client-Response-Num: 1

<html><body><h1>500: Internal Server Error</h1><p>Nethttpd: Handler exception: 
Unix.Unix_error(ENOENT, "stat", 
"google-chrome/dists/stable/Release.29020.086355925")</p></body></html>

And syslog shows:
2012-08-23T15:50:41-07:00       approxserver    daemon  debug   approx  
Connection from 198.202.70.22 port 58420
2012-08-23T15:50:41-07:00       approxserver    daemon  debug   approx  
Request: GET /google-chrome/dists/stable/Release
2012-08-23T15:50:41-07:00       approxserver    daemon  debug   approx    TE: 
deflate,gzip;q=0.3
2012-08-23T15:50:41-07:00       approxserver    daemon  debug   approx    
Connection: TE, close
2012-08-23T15:50:41-07:00       approxserver    daemon  debug   approx    Host: 
debian.support.snl.salk.edu:9999
2012-08-23T15:50:41-07:00       approxserver    daemon  debug   approx    
User-Agent: lwp-request/6.03 libwww-perl/6.04
2012-08-23T15:50:41-07:00       approxserver    daemon  debug   approx    => 
cache miss
2012-08-23T15:50:41-07:00       approxserver    daemon  debug   approx  
Command: /usr/bin/curl --fail --silent --header "Pragma: no-cache"  --include 
"http://dl.google.com/linux/chrome/deb/dists/stable/Release";
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
HTTP/1.1 200 OK
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
Last-Modified: Thu, 23 Aug 2012 17:15:00 GMT
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
Accept-Ranges: bytes
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    ETag: 
30726
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    Vary: 
*
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    Date: 
Thu, 23 Aug 2012 22:50:42 GMT
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
Content-Type: text/html
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
Server: downloads
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
Cache-Control: private
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
X-XSS-Protection: 1; mode=block
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
X-Frame-Options: SAMEORIGIN
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    
Transfer-Encoding: chunked
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    open 
cache google-chrome/dists/stable/Release
2012-08-23T15:50:42-07:00       approxserver    daemon  debug   approx    close 
cache google-chrome/dists/stable/Release
2012-08-23T15:50:42-07:00       approxserver    daemon  err     approx  Size of 
google-chrome/dists/stable/Release should be -1, not 1347
2012-08-23T15:50:42-07:00       approxserver    daemon  err     approx  
Nethttpd: Handler exception: Unix.Unix_error(ENOENT, "stat", 
"google-chrome/dists/stable/Release.29020.086355925")


The download works fine if I bypass approx:
chiestand@approxserver:/tmp/approx-5.2$ GET -e 
http://dl.google.com/linux/chrome/deb/dists/stable/Release
200 OK
Cache-Control: private
Connection: close
Date: Thu, 23 Aug 2012 22:51:57 GMT
Accept-Ranges: bytes
ETag: 30726
Server: downloads
Vary: *
Content-Type: text/html
Last-Modified: Thu, 23 Aug 2012 17:15:00 GMT
Client-Date: Thu, 23 Aug 2012 22:51:57 GMT
Client-Peer: 74.125.224.174:80
Client-Response-Num: 1
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block

Origin: Google, Inc.
Label: Google
Suite: stable
Codename: stable
Version: 1.0
Date: Thu, 23 Aug 2012 15:50:36 +0000
Architectures: i386 amd64
Components: main
Description: Google chrome-linux repository.
MD5Sum:
 53375c7a2d182d85aef6218c179040ed 144 main/binary-i386/Release
 48463ff43a7d59a5ba788881af7b6bc6 4142 main/binary-i386/Packages
 73a77f44d903aed79c6a90e5bed93048 972 main/binary-i386/Packages.gz
 54360c9ee11a48ce24ed20b5001e6697 1220 main/binary-i386/Packages.bz2
 89704f9af9e6ccd87c192de11ba4c511 145 main/binary-amd64/Release
 0508a40ffaa4d853df3ff6e01993f641 4148 main/binary-amd64/Packages
 0648358a78ec70334bc44d910a8dd366 974 main/binary-amd64/Packages.gz
 abb698ff3d1a710b915e583e728f0a78 1226 main/binary-amd64/Packages.bz2
SHA1:
 59414c4175f2cc22e67ba6c30687b00c72a7eafc 144 main/binary-i386/Release
 fd137c2b49b24cca6c35108d7062078e2da0b9de 4142 main/binary-i386/Packages
 707c9d9477a26ebecc2ddfa786c7b26ff2111f3e 972 main/binary-i386/Packages.gz
 c5e7386261f9ae0434f2841504fc9e3ba8cbaba3 1220 main/binary-i386/Packages.bz2
 153199d8f866350b7853365a4adc95ee687603dd 145 main/binary-amd64/Release
 812d0486c244f9793cc232897e48ecb4ec1a2bc9 4148 main/binary-amd64/Packages
 cb2e03fdc8e3639c655931aba95a22661cbe920e 974 main/binary-amd64/Packages.gz
 ed01abe33d7da02e5cccfaa3ad1d74166c4e42c1 1226 main/binary-amd64/Packages.bz2


In fact, the the same curl command also works fine from the approx server:
chiestand@approxserver:/tmp$ /usr/bin/curl --fail --silent --header "Pragma: 
no-cache"  --include 
"http://dl.google.com/linux/chrome/deb/dists/stable/Release";
HTTP/1.1 200 OK
Last-Modified: Thu, 23 Aug 2012 17:15:00 GMT
Accept-Ranges: bytes
ETag: 30726
Vary: *
Date: Thu, 23 Aug 2012 22:53:57 GMT
Content-Type: text/html
Server: downloads
Cache-Control: private
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Transfer-Encoding: chunked

Origin: Google, Inc.
Label: Google
Suite: stable
Codename: stable
Version: 1.0
Date: Thu, 23 Aug 2012 15:50:36 +0000
Architectures: i386 amd64
Components: main
Description: Google chrome-linux repository.
MD5Sum:
 53375c7a2d182d85aef6218c179040ed 144 main/binary-i386/Release
 48463ff43a7d59a5ba788881af7b6bc6 4142 main/binary-i386/Packages
 73a77f44d903aed79c6a90e5bed93048 972 main/binary-i386/Packages.gz
 54360c9ee11a48ce24ed20b5001e6697 1220 main/binary-i386/Packages.bz2
 89704f9af9e6ccd87c192de11ba4c511 145 main/binary-amd64/Release
 0508a40ffaa4d853df3ff6e01993f641 4148 main/binary-amd64/Packages
 0648358a78ec70334bc44d910a8dd366 974 main/binary-amd64/Packages.gz
 abb698ff3d1a710b915e583e728f0a78 1226 main/binary-amd64/Packages.bz2
SHA1:
 59414c4175f2cc22e67ba6c30687b00c72a7eafc 144 main/binary-i386/Release
 fd137c2b49b24cca6c35108d7062078e2da0b9de 4142 main/binary-i386/Packages
 707c9d9477a26ebecc2ddfa786c7b26ff2111f3e 972 main/binary-i386/Packages.gz
 c5e7386261f9ae0434f2841504fc9e3ba8cbaba3 1220 main/binary-i386/Packages.bz2
 153199d8f866350b7853365a4adc95ee687603dd 145 main/binary-amd64/Release
 812d0486c244f9793cc232897e48ecb4ec1a2bc9 4148 main/binary-amd64/Packages
 cb2e03fdc8e3639c655931aba95a22661cbe920e 974 main/binary-amd64/Packages.gz
 ed01abe33d7da02e5cccfaa3ad1d74166c4e42c1 1226 main/binary-amd64/Packages.bz2


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages approx depends on:
ii  adduser              3.112+nmu2          add and remove users and groups
ii  curl                 7.21.0-2.1+squeeze2 Get a file from an HTTP, HTTPS or 
ii  debconf [debconf-2.0 1.5.36.1            Debian configuration management sy
ii  libc6                2.11.3-3            Embedded GNU C Library: Shared lib
ii  libpcre3             8.02-1.1            Perl 5 Compatible Regular Expressi
ii  openbsd-inetd [inet- 0.20080125-6        The OpenBSD Internet Superserver
ii  syslog-ng [system-lo 3.1.3-3             Next generation logging daemon
ii  update-inetd         4.38+nmu1+squeeze1  inetd configuration file updater

approx recommends no packages.

Versions of packages approx suggests:
pn  libconfig-model-approx-perl   <none>     (no description available)

-- Configuration Files:
/etc/approx/approx.conf changed:
$verbose false
$debug   true
$max_wait  60
$offline true
debian-backports http://backports.debian.org/debian-backports
backports http://backports.org/debian
debian http://http.us.debian.org/debian
debian-security http://security.debian.org
snl http://debian.support.snl.salk.edu/snl
ical http://www.maretmanu.org/debian
amd64 http://amd64.debian.net/debian-amd64
jedit http://dl.sourceforge.net/sourceforge/jedit 
opera http://deb.opera.com/opera 
opera-beta http://deb.opera.com/opera-beta 
debian-multimedia http://www.debian-multimedia.org 
google-chrome http://dl.google.com/linux/chrome/deb
ksplice http://www.ksplice.com/apt 
mozilla http://mozilla.debian.net


-- debconf information:
* approx/port: 9999

--- End Message ---
--- Begin Message ---
Source: approx
Source-Version: 5.3-1

We believe that the bug you reported is fixed in the latest version of
approx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eric Cooper <[email protected]> (supplier of updated approx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 24 Aug 2012 14:56:45 -0400
Source: approx
Binary: approx
Architecture: source i386
Version: 5.3-1
Distribution: unstable
Urgency: low
Maintainer: Eric Cooper <[email protected]>
Changed-By: Eric Cooper <[email protected]>
Description: 
 approx     - caching proxy server for Debian archive files
Closes: 685724
Changes: 
 approx (5.3-1) unstable; urgency=low
 .
   * New upstream version
   * Check for chunked transfer encoding when closing cache file
     (closes: #685724)
Checksums-Sha1: 
 a49c61b97fbcfd1df82c15c28032a178e02e75ee 1411 approx_5.3-1.dsc
 f83adf8c704a7efbfed4bb9dc0dde5a9b5711bdf 32725 approx_5.3.orig.tar.gz
 bdf4a46f376f397bbef88fa800fbde2d9017d612 18080 approx_5.3-1.debian.tar.gz
 52e1631e5cf6458b06e91d104c052fdf71d1a239 1042194 approx_5.3-1_i386.deb
Checksums-Sha256: 
 50a3fa8eb31573c9284c12cb3c2ac20da1d50aa05fb4993854b633cdc78c54e3 1411 
approx_5.3-1.dsc
 e048b91e9a2b3500509bf5083d41eae6f77460cd61e549d9b1a3e25c7299c1ce 32725 
approx_5.3.orig.tar.gz
 0640a6355cb27ac0b7a1cb825a398e1ca4818fd5ccf1980a4b44c7093e4ca59d 18080 
approx_5.3-1.debian.tar.gz
 4e8bb2a06c156d4907eb38c7282966cb28bfc1529f7ea62551880e2b8e8f0aa4 1042194 
approx_5.3-1_i386.deb
Files: 
 80ebbcc44ddd159db7869900133dcf01 1411 admin optional approx_5.3-1.dsc
 a9a25cecd22584c625b1d74a2bbdefbf 32725 admin optional approx_5.3.orig.tar.gz
 f15fb86a62e8dff71250f4c4e22427d3 18080 admin optional 
approx_5.3-1.debian.tar.gz
 7061b8bf434381d3fd311d7ca644bacc 1042194 admin optional approx_5.3-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlA32EUACgkQ99kx1LiC69duygCdFwjCYwLmNFUoFvrKndFGU+EM
XBUAnjp5LMDF/+najRGweQv/WiUeVrDj
=ekGW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to