Your message dated Sun, 29 May 2016 17:25:44 +0000
with message-id <[email protected]>
and subject line Bug#819852: fixed in apt-cacher-ng 0.9.3-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.3-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: Sun, 29 May 2016 18:30:24 +0200
Source: apt-cacher-ng
Binary: apt-cacher-ng
Architecture: source amd64
Version: 0.9.3-1
Distribution: unstable
Urgency: medium
Maintainer: Eduard Bloch <[email protected]>
Changed-By: Eduard Bloch <[email protected]>
Description:
 apt-cacher-ng - caching proxy server for software repositories
Closes: 819852 824293 825640
Changes:
 apt-cacher-ng (0.9.3-1) unstable; urgency=medium
 .
   * New upstream version
     + handling for removal of SHA1 signature lists in recent Release/InRelease
       files (closes: #824293)
     + better support of by-hash storage (now really closes: #819852 apart from
       some corner cases)
     + better links in error reporting mails (closes: #825640)
Checksums-Sha1:
 7615218d8d8a28706dac897d8db3c760e8e9c985 2203 apt-cacher-ng_0.9.3-1.dsc
 dd4eeca6780ff03306309c67e007dc3e69326738 306284 apt-cacher-ng_0.9.3.orig.tar.xz
 084283d490d3b0ca6fe38a1d451e622ca07b97e8 46480 
apt-cacher-ng_0.9.3-1.debian.tar.xz
 de0e7f82f2504906bae1076d30a8262ede00ca23 2374296 
apt-cacher-ng-dbgsym_0.9.3-1_amd64.deb
 0f1b5c0e3dea983262b73164b30e3d406692e003 503388 apt-cacher-ng_0.9.3-1_amd64.deb
Checksums-Sha256:
 d6dfeca9a2f618e7b179ad90555bced3e322ae4c741b19391e988882cd1b854d 2203 
apt-cacher-ng_0.9.3-1.dsc
 8f3b3b0e0937eb6ef65e5d0a982beacddb2f1c75989a0dde4d3760f078a0a7ad 306284 
apt-cacher-ng_0.9.3.orig.tar.xz
 6fa29b169c923e3890c7b50568ef6479eb6b85400d9b1f7df5fa5f26bbf6c583 46480 
apt-cacher-ng_0.9.3-1.debian.tar.xz
 22ea642e05f99bb240a2727de490b17ccb7563cd008187107750647d9f1d4b16 2374296 
apt-cacher-ng-dbgsym_0.9.3-1_amd64.deb
 1966686ab8234498ea118853ac4751a1401e4cfbe6e00e20056a030644383be2 503388 
apt-cacher-ng_0.9.3-1_amd64.deb
Files:
 084080766ed03829a12cfc4a05c5c280 2203 net optional apt-cacher-ng_0.9.3-1.dsc
 86a43c41659b6105e5e452f313acc5f4 306284 net optional 
apt-cacher-ng_0.9.3.orig.tar.xz
 52b566ef3d033b187ec7d8a85ccb6096 46480 net optional 
apt-cacher-ng_0.9.3-1.debian.tar.xz
 018492141dd4fc01fc306539fa0af268 2374296 debug extra 
apt-cacher-ng-dbgsym_0.9.3-1_amd64.deb
 e79d841fbd1b56a8f07ac87855440729 503388 net optional 
apt-cacher-ng_0.9.3-1_amd64.deb

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

iQIVAwUBV0sbgWl0DlyzX+w8AQi7pA/+I4Ab2LAtyNIxMPl57WiCR4wxMJmYrlXs
JpgWwBH3x75TnAOx5hCqOguJOPPX6MZUNGjRzAOylu98o0qINnYClJG7oJQ9XU4A
xjhgShNw1xhm5ZGP6H7t9qchJHZpIbCxAdF6ahC0tvI5ak5w+bXIxpKzkFX9LxW4
eAIDbYT1DjDK3AU7UZl96iKWM3RsdTx61LyBdC8CueCVXIPkJoi4dbLKvlw43uh4
51nWgx4DpB6hWDWX4z5j82WH6qCl9O2ohgPt2TUoU6KQJTrtbUM8ImNMaNZS4IrL
i/Iw3tK6eOZKjxvdGHGHuRWY5zNjy2CzL0kXsGVauWXuon64FkX1j0k/UhCWu1LY
Vlts7RJfpXFWOLqaNXqNk38Ca84JZmOqLtM0qTBeSzdar5bcwWzM8JTFJKMU3Axf
Xm6IZZuITgiTpMxvppFnkgbKBdibAUuo7DiDQ1AITfEZsPHR4E73vFzuKpBWzdFX
J4XxOlL4iu0TXCRkQ4VFO4BT6JxlEi3QD3u64u+QosfRk9SfMzPGn+N/4xaDQDLP
JiiQ5iDZbWmoDt4vnglU3l7v8S9+jivuY0ANU7w/gXRniNK5BQcVm3YWEoVUc0L+
7Knm0HQzsZ+sJvIrWaOrhsqPLY7k0SblvZ5k3AosDHv6bL3pjbRXtHqqiiEkg86c
uQmvrbKdXYQ=
=2l9R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to