Your message dated Thu, 04 Oct 2007 21:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#364361: fixed in apt-cacher 1.5.5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apt-cacher
Version: 1.5.3
Severity: wishlist

I couldn't figure out exactly how to use path_map or what it does from
the current man page and distributed apt.conf.

In particular, it sounded as if this would work
path_map = linux.csua.berkeley.edu/debian
linux.csua.berkeley.edu/debian 
mirrors.usc.edu/pub/linux/distributions/debian
(all one line, with space separators) but it didn't seem to.

It may be useful to describe the substantive problem I'm trying to
solve.  My usual mirror, at berkeley, is down.  I'd like to switch to
another one while avoiding doing something that causes me to use a lot
more disk space or to download files I already have on my system
again.  Because I'm not sure how apt would handle a change to
sources.list (i.e., if it would say "new server, I'll get
everything"), and because it would be easier to make the change in one
place anyway, I'm trying to solve this problem with apt-cacher.  I was
using apt-cacher before this problem arose, so I already have a
vanilla setup.  Finally, I'd like to be able to use the berkeley
mirror automatically when it comes back up.

Some more detailed comments about the current documentation follow.

First, it would be nice if the man page had a complete description of
the path_map option rather than a reference to a conf file (which the
user may have changed).

Second, I did not find the current comments in apt-cacher.conf to be
that helpful:
----------------------------------
# Server mapping - this allows to hide real server names behind virtual paths
# that appear in the access URL. This method is known from apt-proxy. This is
# also the only method to use FTP access to the target hosts. The
syntax is simple, the part of the beginning to replace, followed by a
list of mirror urls, all space separated. Multiple profile are
separated by semicolons
--------------------------------------

Not only may apt-proxy be unknown and uninstalled, but I couldn't find
anything that looked relevant in the current apt-proxy docs.

But the key problem is that the meaning of "virtual paths that appear
in the access URL" is unclear.  Exactly which part of the path is the
virtual path?  Can it be multi-part?  How should the corresponding
sources.list entry be written?

Another side-issue is that the comment refers to ftp access, but since
only part of the path seems to be rewritten it's not clear how this
would work.  And the comment just below in apt-cacher.conf says FTP
access is not supported, so those two comments seem in conflict.

Incidentally, the unclarity about the different path parts affects
other discussion in the man page, though I'm more confident of your
meaning in those other spots.  For example...

"The only modification to each client computer is to prepend the
       cache machine's address and script identifier to each HTTP
mirror in /etc/apt/sources.list (depending on the installation method
(see below)."

Exactly where in the existing string does that mean the text should be
added?  Also, the script identifier is optional, and the parentheses
are unbalanced.  Maybe "For clients, you must modify each line in
/etc/apt/sources.list by inserting the access to the apt-cache server
after the initial http://.  The reference may include a machine name,
a port, or a cgi script invocation depending on the installation
method."  Fortunately, the current example immediately following on
the man page makes this pretty clear.

Also unclear
"NOTE:  For  installations  using  a web server (CGI) the prefix should be 
apt-cacher in daemon mode, the modifications of sources.list can be replaced 
with a HTTP
       proxy setting, see PROXY MODE USAGE below."
How can a prefix (which sounds like a string) be apt-cacher in daemon
mode (which sounds like a program)?  Aren't CGI and daemon mode
alternatives anyway?  The whole sentence is a run-on that is hard to
parse.

Finally, some discussion of the space implications of having multiple
servers in the path map would be useful (maybe more appropriate for
README.Debian).  If you specify n servers do you risk multiplying your
disk useage (in either or both of apt and apt-cache) by roughly n?  I
suspect you get extra Packages.gz files, for example, but not
duplicate .debs.

Thanks.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27advncdfs
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apt-cacher depends on:
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  perl                          5.8.8-3    Larry Wall's Practical Extraction 

apt-cacher recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: apt-cacher
Source-Version: 1.5.5

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.5.5.dsc
  to pool/main/a/apt-cacher/apt-cacher_1.5.5.dsc
apt-cacher_1.5.5.tar.gz
  to pool/main/a/apt-cacher/apt-cacher_1.5.5.tar.gz
apt-cacher_1.5.5_all.deb
  to pool/main/a/apt-cacher/apt-cacher_1.5.5_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.7
Date: Wed, 03 Oct 2007 08:59:54 +0100
Source: apt-cacher
Binary: apt-cacher
Architecture: source all
Version: 1.5.5
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: 322299 354925 355157 355160 364361 364904 365507 366348 366624 366648 
370453 373280 383480 384210 387449 390585 394541 410920 412743 413391 414156 
415398 428131 442800 444677
Changes: 
 apt-cacher (1.5.5) unstable; urgency=low
 .
   * Make apt-cacher-report.pl more tolerant of logfile corruption. Thanks
     to Olaf Scholz for patch (closes: #366348, #444677)
   * Don't change /etc/apache/httpd.conf if no apt-cacher config found.
   * Move shared install/remove code to apt-cacher-lib.
   * Add link to /usr/lib/cgi-bin for non-apache httpd servers.
   * README.Debian: suggest workaround to cache for both Ubuntu and Debian
     distributions (closes: #354925, #366624, #415398)
   * Check for Host header in HTTP/1.1 request.
   * Respect no-cache directives in request and pass through to upstream.
   * apt-cacher-format-transition: Remove accept \r\n in headers on import
     (closes: #355157). Add informational messages.
   * Keep command-line options on config reload (SIGHUP).
   * Differentiate between absolute URIs. Can be HTTP 1.1 proxy or HTTP 1.3. See
     rfc2616. (closes: 387449, #413391)
   * Handle SIGUSR1 to toggle debug ouput.
   * Fix man page CGI mode prefix.
   * Control checksumming with config option checksum
   * Lists in config file are delimited by ',' or ';'
   * Check installation directories and logfiles on startup. Recreate if
     necessary (closes: #370453)
   * No default http_proxy and http_proxy_auth.
   * Support vmlinuz and initrd.gz files for Debian-live.
   * Significant rewrite of manpage. (closes: #442800, #364361)
   * Restart after rotating logfiles (closes: #414156, #390585)
   * apt-cache-report: run as user:group from config file (closes: #383480)
   * Actually support rate limit suffixes as specified in man page (closes: 
#410920)
   * Return Connection: close even if keep-alive requested for 404 error
     (closes: #322299, #384210)
   * Rationalise example usage in usage_error. Use Sys::Hostname to build
     the example. Configfile example_sources_line is no longer
     used. (closes: #365507)
   * Dynamically generate configuration info in usage_error.
   * Check size of cached files. Warn and refresh is mismatch
     (closes: #373280, #412743, #366648)
   * Add support for index.db-*.gz files as used by apt-listbugs. (closes: 
#364904)
   * Decode ascii hex codes in URL. (closes: #394541)
   * Add support for Translation-*.bz2 files.
   * Rationalise locking in apt-cacher-cleanup. Based on patch from Adrian
     Bridgett (closes: 428131)
   * apt-cacher-import: check return of rename and die with helpful error
     message if it fails. (closes: #355160)
Files: 
 6033a6fa812b775f6eadba6acf64c7cc 615 net optional apt-cacher_1.5.5.dsc
 398660b2e00cc4b07df2e528af6755fc 87550 net optional apt-cacher_1.5.5.tar.gz
 f739f6aa7a0e86482f32fead78cf25a5 67408 net optional apt-cacher_1.5.5_all.deb

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

iD8DBQFHBVJU4QZIHu3wCMURAhyTAJ4xeOFvC4O2XYdIS4BR5s8h6lr3UACfYkGe
NtEmObW9gERT+PwByIXpCWY=
=VLsF
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to