Hi,

Let me summarize:

There are at least 1 bug and 1 concern.

 * bug: support for deb.debian.org
 * concern: truncated InRelease file

As for the bug of deb.debian.org, resolution can be:

 * root cause fix: Support redirect (SRV record?) so apt-cacher-ng
   works as expected.
    - See http://deb.debian.org/
 * work around: Add cdn-fastly.deb.debian.org to /usr/lib/apt-cacher-
   ng/deb_mirrors.gz  and document to recommend to use  cdn-
   fastly.deb.debian.org instead of  deb.debian.org 
    - Without adding cdn-fastly.d.d.o to this file, debs are not placed to
      the debian package cache and also initialization code to generate
      /etc/apt-cacher-ng/backends_debian has problem..
    - The same work around needs to be added to security and volatile ...
      (If Ubuntu mirror URL uses the same kind of cdn, you may wish to
      support them too.)
    - Please note deb.debian.org is becoming installation default these
      days.  If your apt line list normal old-fashoned mirror site such as
      ftp.de.debian.org, you may not have as much problem.

As for the concern of truncated InRelease, this happens with cdn-
fastly.deb.debian.org with fesh new cache.  If this is not expected
behavior, please think about fixing this.  Very reproduceble. For work
around, run apt-get update multiple time until it is neat shape.

Thanks for your attention.

Osamu

Reply via email to