Your message dated Fri, 13 May 2016 19:49:04 +0000
with message-id <[email protected]>
and subject line Bug#819852: fixed in apt-cacher-ng 0.9.2-1
has caused the Debian Bug report #819852,
regarding apt-cacher-ng: support by-hash index files
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.)


-- 
819852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819852
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-cacher-ng
Version: 0.8.0-3
Severity: normal

I've very nearly finished the server-side implementation of by-hash
index files for Ubuntu.  This feature was added to the client side (i.e.
apt) relatively recently, and there's a post-hoc specification here:

  
https://wiki.debian.org/RepositoryFormat#indices_acquisition_via_hashsums_.28by-hash.29

I just got to the point of being able to publish an unsigned test
archive with by-hash published (though not yet advertised with the
Acquire-By-Hash flag; for the moment I'm forcing it in sources.list).
My first client test failed to fetch the by-hash files and fell back to
the traditional by-name versions.  For a moment I wondered why, then
realised that my usual schroot setup sends everything through
apt-cacher-ng.  If I remove the proxy setup then all is well.  I think
apt-cacher-ng should allow by-hash files by default.

This configuration file entry fixes the problem for me locally.  I
suspect therefore that it would be enough to just add this to the
default pfilepat in source/acfg_defaults.cc (note: not vfilepat like the
by-name index files, because the point of this scheme is that the
content won't change without also changing the URL):

  PfilePatternEx: /dists/.*/by-hash/.*

In case it helps, here's a debug dump from apt without this
configuration file entry:

  # cat /etc/apt/sources.list
  deb [trusted=yes by-hash=force] 
http://archive.dogfood.content.paddev.net/ubuntu xenial main universe
  # apt-get -oDebug::Acquire::http=true update
  0% [Working]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/InRelease HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  Accept: text/*
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/InRelease
  HTTP/1.1 404 Not Found
  Content-Length: 0
  Date: Sun Apr  3 02:09:51 2016
  Server: Debian Apt-Cacher NG/0.8.0
  X-Original-Source: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/InRelease
  Connection: Keep-Alive
  
  Ign:1 http://archive.dogfood.content.paddev.net/ubuntu xenial InRelease
  0% [Working]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/Release HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  Accept: text/*
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/Release
  HTTP/1.1 200 OK
  Content-Length: 91416
  Last-Modified: Sun, 03 Apr 2016 01:59:49 GMT
  Content-Type: application/octet-stream
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  X-Original-Source: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/Release
  Connection: Keep-Alive
  
  Get:2 http://archive.dogfood.content.paddev.net/ubuntu xenial Release [91.4 
kB]
  84% [Working]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/Release.gpg 
HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/Release.gpg
  HTTP/1.1 404 Not Found
  Content-Length: 0
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  X-Original-Source: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/Release.gpg
  Connection: Keep-Alive
  
  Ign:3 http://archive.dogfood.content.paddev.net/ubuntu xenial Release.gpg
  89% [Working]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/binary-amd64/by-hash/SHA256/9a3193137797622d5e78bd89c05fbbf726ac033fbaf7d392e6c510ef77ba36ae
 HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  Accept: text/*
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/binary-amd64/by-hash/SHA256/9a3193137797622d5e78bd89c05fbbf726ac033fbaf7d392e6c510ef77ba36ae
  HTTP/1.1 403 Forbidden file type or location: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/binary-amd64/by-hash/SHA256/9a3193137797622d5e78bd89c05fbbf726ac033fbaf7d392e6c510ef77ba36ae
  Content-Length: 186
  Content-Type: text/html
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  Connection: Keep-Alive
  
  Ign:4 http://archive.dogfood.content.paddev.net/ubuntu xenial/main amd64 
Packages
  50% [Working]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/i18n/by-hash/SHA256/6c398405bfe4580bf368d174f8bf4cff7cc181dce947de6a009b43bb34c13f1a
 HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  Accept: text/*
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/binary-amd64/by-hash/SHA256/0b32e4073addade93d2cac70bf9b9f26894ce13125b35485d080daaa87923afa
 HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  Accept: text/*
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/i18n/by-hash/SHA256/76f8217c195476bf27a1cb2ed9de27b1b4565788f79a17703fc02475af997e84
 HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  Accept: text/*
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/i18n/by-hash/SHA256/6c398405bfe4580bf368d174f8bf4cff7cc181dce947de6a009b43bb34c13f1a
  HTTP/1.1 403 Forbidden file type or location: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/i18n/by-hash/SHA256/6c398405bfe4580bf368d174f8bf4cff7cc181dce947de6a009b43bb34c13f1a
  Content-Length: 186
  Content-Type: text/html
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  Connection: Keep-Alive
  
  Ign:5 http://archive.dogfood.content.paddev.net/ubuntu xenial/main 
Translation-en
  40% [Working]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/binary-amd64/Packages.bz2
 HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/binary-amd64/by-hash/SHA256/0b32e4073addade93d2cac70bf9b9f26894ce13125b35485d080daaa87923afa
  HTTP/1.1 403 Forbidden file type or location: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/binary-amd64/by-hash/SHA256/0b32e4073addade93d2cac70bf9b9f26894ce13125b35485d080daaa87923afa
  Content-Length: 186
  Content-Type: text/html
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  Connection: Keep-Alive
  
  Ign:6 http://archive.dogfood.content.paddev.net/ubuntu xenial/universe amd64 
Packages
  39% [Working]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/i18n/Translation-en.bz2
 HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/i18n/by-hash/SHA256/76f8217c195476bf27a1cb2ed9de27b1b4565788f79a17703fc02475af997e84
  HTTP/1.1 403 Forbidden file type or location: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/i18n/by-hash/SHA256/76f8217c195476bf27a1cb2ed9de27b1b4565788f79a17703fc02475af997e84
  Content-Length: 186
  Content-Type: text/html
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  Connection: Keep-Alive
  
  Ign:7 http://archive.dogfood.content.paddev.net/ubuntu xenial/universe 
Translation-en
  39% [Working]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/binary-amd64/Packages.bz2
 HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/binary-amd64/Packages.bz2
  HTTP/1.1 200 OK
  Content-Length: 84737
  Last-Modified: Sun, 03 Apr 2016 01:59:49 GMT
  Content-Type: application/x-bzip2
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  X-Original-Source: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/binary-amd64/Packages.bz2
  Connection: Keep-Alive
  
  Get:4 http://archive.dogfood.content.paddev.net/ubuntu xenial/main amd64 
Packages [84.7 kB]
  39% [4 Packages 0 B/84.7 kB 0%]Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/i18n/Translation-en.bz2
  HTTP/1.1 200 OK
  Content-Length: 59831
  Last-Modified: Sun, 03 Apr 2016 01:59:49 GMT
  Content-Type: application/x-bzip2
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  X-Original-Source: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/main/i18n/Translation-en.bz2
  Connection: Keep-Alive
  
  Get:5 http://archive.dogfood.content.paddev.net/ubuntu xenial/main 
Translation-en [59.8 kB]
  87% [4 Packages store 0 B] [5 Translation-en 59.8 kB/59.8 kB 100%]GET 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/i18n/Translation-en.bz2
 HTTP/1.1
  Host: archive.dogfood.content.paddev.net
  Cache-Control: max-age=0
  User-Agent: Debian APT-HTTP/1.3 (1.2.9)
  
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/binary-amd64/Packages.bz2
  HTTP/1.1 200 OK
  Content-Length: 2058
  Last-Modified: Sun, 03 Apr 2016 01:59:49 GMT
  Content-Type: application/x-bzip2
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  X-Original-Source: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/binary-amd64/Packages.bz2
  Connection: Keep-Alive
  
  Answer for: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/i18n/Translation-en.bz2
  HTTP/1.1 200 OK
  Content-Length: 1341
  Last-Modified: Sun, 03 Apr 2016 01:59:49 GMT
  Content-Type: application/x-bzip2
  Date: Sun Apr  3 02:09:52 2016
  Server: Debian Apt-Cacher NG/0.8.0
  X-Original-Source: 
http://archive.dogfood.content.paddev.net/ubuntu/dists/xenial/universe/i18n/Translation-en.bz2
  Connection: Keep-Alive
  
  Get:6 http://archive.dogfood.content.paddev.net/ubuntu xenial/universe amd64 
Packages [2058 B]
  Get:7 http://archive.dogfood.content.paddev.net/ubuntu xenial/universe 
Translation-en [1341 B]
  Fetched 239 kB in 0s (518 kB/s)
  Reading package lists... Done

-- Package-specific info:

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

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt-cacher-ng depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  dpkg                   1.17.26
ii  init-system-helpers    1.22
ii  libbz2-1.0             1.0.6-7+b3
ii  libc6                  2.19-18+deb8u4
ii  libgcc1                1:4.9.2-10
ii  liblzma5               5.1.1alpha+20120614-2+b3
ii  libssl1.0.0            1.0.1k-3+deb8u4
ii  libstdc++6             4.9.2-10
ii  libsystemd0            215-17+deb8u4
ii  libwrap0               7.6.q-25
ii  zlib1g                 1:1.2.8.dfsg-2+b1

Versions of packages apt-cacher-ng recommends:
ii  ed  1.10-2

Versions of packages apt-cacher-ng suggests:
ii  avahi-daemon  0.6.31-5
ii  curl          7.38.0-4+deb8u3
ii  doc-base      0.10.6
ii  libfuse2      2.9.3-15+deb8u2
ii  wget          1.16-1

Thanks,

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Source: apt-cacher-ng
Source-Version: 0.9.2-1

We believe that the bug you reported is fixed in the latest version of
apt-cacher-ng, 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.
Eduard Bloch <[email protected]> (supplier of updated apt-cacher-ng 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: SHA256

Format: 1.8
Date: Fri, 13 May 2016 20:04:32 +0200
Source: apt-cacher-ng
Binary: apt-cacher-ng
Architecture: source amd64
Version: 0.9.2-1
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <[email protected]>
Changed-By: Eduard Bloch <[email protected]>
Description:
 apt-cacher-ng - caching proxy server for software repositories
Closes: 815527 819852 820813 823570 823733
Changes:
 apt-cacher-ng (0.9.2-1) unstable; urgency=low
 .
   * New upstream version
     + basic support for by-hash index files (closes: #819852) including some
       precaution in cache cleanup routines
     + supports .asc signatures for source (closes: #823733)
     + supports repo names with hyphens again (closes: #823570)
     + supports deb.debian.org by default (closes: #820813)
   * Japanese Debconf template update from Takuma Yamada included
     (closes: #815527)
Checksums-Sha1:
 43e7fdb775447a6076ea839ee5946bab5bffaa07 2132 apt-cacher-ng_0.9.2-1.dsc
 db9b089d010b4da906576a4f776e88a673719ebd 303628 apt-cacher-ng_0.9.2.orig.tar.xz
 6bd71ab23f3dabf7a19867be335da4c4cd7cc512 46364 
apt-cacher-ng_0.9.2-1.debian.tar.xz
 2f26de0c1f94d99551ab6cf1ac5db4cbc6121845 2385074 
apt-cacher-ng-dbgsym_0.9.2-1_amd64.deb
 8699d13c0b92a1df33de6645cb0e16734c5c2d2a 504600 apt-cacher-ng_0.9.2-1_amd64.deb
Checksums-Sha256:
 bc484e6685fed7d9f9c45739594a27587bedadaf6398b3c9cdaf7a74c6550682 2132 
apt-cacher-ng_0.9.2-1.dsc
 926552658a4080c973335b20e2dc7066627a366e9728d28f5777b6630b09e072 303628 
apt-cacher-ng_0.9.2.orig.tar.xz
 e94b580963b7133f00db521adf4efc761ef6ac3c1de65556b36222e3283df693 46364 
apt-cacher-ng_0.9.2-1.debian.tar.xz
 a2f6e426fcf0a4b0bade7a394927de0e35bf583c139b493be9510fd0b783e66e 2385074 
apt-cacher-ng-dbgsym_0.9.2-1_amd64.deb
 3da70aae06bd7330f32311707e0f3057c5627436f7ce5958440a2dc9accd0bfd 504600 
apt-cacher-ng_0.9.2-1_amd64.deb
Files:
 a171a0276d1f3120f2f85c310d4a78b6 2132 net optional apt-cacher-ng_0.9.2-1.dsc
 8f34a462e69538d4e186ebdd025653c1 303628 net optional 
apt-cacher-ng_0.9.2.orig.tar.xz
 2226db33b78542a1170c3e0caeb4c83e 46364 net optional 
apt-cacher-ng_0.9.2-1.debian.tar.xz
 e595116f35812eaf6c80d81d18e80cd7 2385074 debug extra 
apt-cacher-ng-dbgsym_0.9.2-1_amd64.deb
 053b73e940faaf227cb2083940045b3f 504600 net optional 
apt-cacher-ng_0.9.2-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVzYqMml0DlyzX+w8AQizeA/+PnQrn4L4MRGNSrK7O18R8g71zo7Dqk7p
ElXTHOUA9sdesVhvG0NXU2BBXQAx477ZMhen7j6+V+g6VJKI+VBmIBMH5ez1cVKg
/3vPeXFRdw3sAG+WevPU5kERO6GkcQrhjj5uOC8PE7dIvIX6i5mmaNoHjLEw1cu+
XgoTfP8ZNPGhCcNtzQRE9a7D3yFDDFAnj0wOjs65Dqc/RQkHDgCFRR/iXSgjmiDW
byeFeRrW2f/t1UUXo/2kGP2RGo/oaYnF4bjZJxc21LhMpoV8FHPOZM8n4+da7vtY
8TB04n1I1rlC/sKTrYxAHXu0Jq9yzLoS2q3tpEEq9kT5f0PsEr49wcfjlNHKfnfW
bIjvq2rbyCYL1uypedEmhcVr8XaPzwUmvL6jlls4gf4DvzklKS8IcyJ7G0RRvVlv
HHtnMN80jFU5hVY6NT6lXh/z6KBWZkqbph8wxX3hbaOEcmWTzv6YYzZIfmdnWX1E
pRXqOeOnwx1CXWGDnjl9HmdwDlGk2/Qr5SpGUU2/yLgqzy4mYnBQYw8QcalYMdhN
5NR67vLQdAwM+auh9os7Et9yAvGEomlCtOjJ5FDijrkOeVuGY32woWft2CK0kqrR
GYArhpYGNLW3Y71T04Xwf9ekyd8FcPECV9hlcP0nqI0xjMxnSEr27rucW88Lm0Jb
hVEwKyVQ1xI=
=gAwa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to