Your message dated Tue, 03 Mar 2009 21:17:10 +0000
with message-id <[email protected]>
and subject line Bug#510569: fixed in apt-cacher 1.6.8
has caused the Debian Bug report #510569,
regarding apt-cacher: CGI mode doesn't work
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.)
--
510569: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510569
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-cacher
Version: 1.6.7
Severity: important
Tags: patch
Hi,
CGI mode doesn't work. After turning debugging on, I've got the
following infos in error.log file:
Sat Jan 3 10:21:02 2009|debug [8421]: New CGI connection
Sat Jan 3 10:21:02 2009|debug [8421]: client is localhost
Sat Jan 3 10:21:02 2009|debug [8421]: Client 127.0.0.1 passed access control
rules
Sat Jan 3 10:21:02 2009|debug [8421]: Processing a new request line
Sat Jan 3 10:21:02 2009|debug [8421]: got: GET
/ftp.pl.debian.org/debian/dists/sid/Release.gpg
Sat Jan 3 10:21:02 2009|debug [8421]: Processing a new request line
Sat Jan 3 10:21:02 2009|debug [8421]: got:
Sat Jan 3 10:21:02 2009|debug [8421]: Checking host localhost in absolute URI
Sat Jan 3 10:21:02 2009|debug [8421]: Host in Absolute URI is not this server
Sat Jan 3 10:21:02 2009|debug [8421]: Resolved request is
/localhost//ftp.pl.debian.org/debian/di
Sat Jan 3 10:21:02 2009|debug [8421]: new index file:
localhost_ftp.pl.debian.org_debian_dists_si
Sat Jan 3 10:21:02 2009|debug [8421]: looking for
/var/cache/apt-cacher/packages/localhost_ftp.pl.
Sat Jan 3 10:21:02 2009|debug [8421]: known as index file: Release.gpg
Sat Jan 3 10:21:02 2009|debug [8421]: Entering critical section : file
download decision
Sat Jan 3 10:21:02 2009|debug [8421]: file does not exist or download
required, forking fetcher
Sat Jan 3 10:21:02 2009|debug [8421]: MISS
Sat Jan 3 10:21:02 2009|debug [8422]: Exiting critical section
Sat Jan 3 10:21:02 2009|debug [8422]: fetcher: try to fetch
http://localhost/ftp.pl.debian.org/de
Sat Jan 3 10:21:02 2009|debug [8422]: download agent: getting
http://localhost/ftp.pl.debian.org/
Note that it should be trying to download from http://ftp.pl.debian.org not
from http://localhost.
The following patch fixes this issue for me:
--- apt-cacher.distrib 2008-11-06 21:46:45.000000000 +0100
+++ apt-cacher 2009-01-03 10:32:49.000000000 +0100
@@ -368,7 +368,7 @@
if(/^$/) {
if(defined($testpath)) {
# done reading request
- $testpath="http://$ENV{SERVER_NAME}/$testpath" if $mode &&
$mode eq 'cgi';
+ # $testpath="http://$ENV{SERVER_NAME}/$testpath" if $mode
&& $mode eq 'cgi';
$path=$testpath;
last CLIENTLINE;
}
Regard,
Robert
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/pdksh
Versions of packages apt-cacher depends on:
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii ed 0.7-3 The classic unix line editor
ii libdigest-sha1-perl 2.11-2+b1 NIST SHA-1 message digest algorith
ii libfreezethaw-perl 0.43-4 converting Perl structures to stri
ii libwww-curl-perl 4.05-1 Perl bindings to libcurl
ii libwww-perl 5.820-1 WWW client/server library for Perl
ii perl 5.10.0-19 Larry Wall's Practical Extraction
Versions of packages apt-cacher recommends:
ii libberkeleydb-perl 0.34-1+b1 use Berkeley DB 4 databases from P
Versions of packages apt-cacher suggests:
pn libio-socket-inet6-perl <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: apt-cacher
Source-Version: 1.6.8
We believe that the bug you reported is fixed in the latest version of
apt-cacher, which is due to be installed in the Debian FTP archive:
apt-cacher_1.6.8.dsc
to pool/main/a/apt-cacher/apt-cacher_1.6.8.dsc
apt-cacher_1.6.8.tar.gz
to pool/main/a/apt-cacher/apt-cacher_1.6.8.tar.gz
apt-cacher_1.6.8_all.deb
to pool/main/a/apt-cacher/apt-cacher_1.6.8_all.deb
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.
Mark Hindley <[email protected]> (supplier of updated apt-cacher 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: Mon, 16 Feb 2009 09:17:21 +0000
Source: apt-cacher
Binary: apt-cacher
Architecture: source all
Version: 1.6.8
Distribution: unstable
Urgency: low
Maintainer: Mark Hindley <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Description:
apt-cacher - Caching proxy for Debian package and source files
Closes: 330234 510569 510602
Changes:
apt-cacher (1.6.8) unstable; urgency=low
.
* Fix typo (closes: #510602)
* Use KILL if TERM fails in init script (closes: #330234)
* Get port from environment in CGI mode (closes: #510569)
Checksums-Sha1:
cd742d4f2a0c3f60909458259c3bffd076c8f229 819 apt-cacher_1.6.8.dsc
d8e20fd30e8ea63e42a10d9f50256802c800b4d0 95156 apt-cacher_1.6.8.tar.gz
09c2ec49113de4ca4fc03984c5ff0680ff2e8c14 77370 apt-cacher_1.6.8_all.deb
Checksums-Sha256:
8c9915cdbc8f8da811e5cd17aa2dc4d3fcb1f1880732bdc2bfab511e67ccda82 819
apt-cacher_1.6.8.dsc
ba47a80cec3586f77a9daaf1668001ef9354d54c32c82be379a2484316ae9923 95156
apt-cacher_1.6.8.tar.gz
00f25c1ad9e6072ba2221d4809600f2b6f993f72cd11c7658c340b22c3d0c1d3 77370
apt-cacher_1.6.8_all.deb
Files:
6663c227f4b294cc216ac65ba706c429 819 net optional apt-cacher_1.6.8.dsc
3d21bd86927d82ab07ceba51c202de30 95156 net optional apt-cacher_1.6.8.tar.gz
1f0fe2802786047f29656b2fa8cfa8ee 77370 net optional apt-cacher_1.6.8_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJrZr44QZIHu3wCMURAuE8AKCDy5MErIjQh8k8Sw0NULG4VQmMywCfUu2p
8opv7PUQsbnNhDvKUU3LbQk=
=tEO4
-----END PGP SIGNATURE-----
--- End Message ---