Bug#942634: apt-cacher-ng: fails to work on debian/sid suite (too small BUFSIZEMAX)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#942634: apt-cacher-ng: fails to work on debian/sid suite (too small BUFSIZEMAX)

Aurelien Jarno-2
Package: apt-cacher-ng
Version: 3.2-2
Severity: grave
Justification: renders package unusable

Dear maintainer,

apt-cacher-ng stopped working recently when used to cache the debian/sid
suite. It reports the following error:

| An error occurred while reading this file, some contents may have been ignored. Tag
| Parsing metadata in deb/dists/sid/main/binary-arm64/Packages.xz

I have tracked down this issue to a too small value of BUFSIZEMAX. The
Packages file in sid now contains lines that are way longer than before
and thus this variable needs to get adjusted:

| $ wget -q -O - http://ftp.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | xzcat | wc -L
| 59936
| $ wget -q -O - http://ftp.debian.org/debian/dists/sid/main/binary-amd64/Packages.xz | xzcat | wc -L
| 149619

I have found that doubling the value to 32*4096 is enough, but it might
be safer to double it to 64*4096 to be able to cope with further
increase.

Regards,
Aurelien

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

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply | Threaded
Open this post in threaded view
|

Bug#942634: marked as done (apt-cacher-ng: fails to work on debian/sid suite (too small BUFSIZEMAX))

Debian Bug Tracking System
Your message dated Mon, 28 Oct 2019 22:23:06 +0000
with message-id <[hidden email]>
and subject line Bug#942634: fixed in apt-cacher-ng 3.2-3
has caused the Debian Bug report #942634,
regarding apt-cacher-ng: fails to work on debian/sid suite (too small BUFSIZEMAX)
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 [hidden email]
immediately.)


--
942634: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942634
Debian Bug Tracking System
Contact [hidden email] with problems

Package: apt-cacher-ng
Version: 3.2-2
Severity: grave
Justification: renders package unusable

Dear maintainer,

apt-cacher-ng stopped working recently when used to cache the debian/sid
suite. It reports the following error:

| An error occurred while reading this file, some contents may have been ignored. Tag
| Parsing metadata in deb/dists/sid/main/binary-arm64/Packages.xz

I have tracked down this issue to a too small value of BUFSIZEMAX. The
Packages file in sid now contains lines that are way longer than before
and thus this variable needs to get adjusted:

| $ wget -q -O - http://ftp.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | xzcat | wc -L
| 59936
| $ wget -q -O - http://ftp.debian.org/debian/dists/sid/main/binary-amd64/Packages.xz | xzcat | wc -L
| 149619

I have found that doubling the value to 32*4096 is enough, but it might
be safer to double it to 64*4096 to be able to cope with further
increase.

Regards,
Aurelien

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

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Source: apt-cacher-ng
Source-Version: 3.2-3

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 [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eduard Bloch <[hidden email]> (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 [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 28 Oct 2019 22:14:46 +0100
Source: apt-cacher-ng
Architecture: source
Version: 3.2-3
Distribution: unstable
Urgency: medium
Maintainer: Eduard Bloch <[hidden email]>
Changed-By: Eduard Bloch <[hidden email]>
Closes: 942634
Changes:
 apt-cacher-ng (3.2-3) unstable; urgency=medium
 .
   * Increase decompression line buffer size (closes: #942634)
Checksums-Sha1:
 31c9a108e3c7b9a8da537ea6fb80785e0f39d763 2150 apt-cacher-ng_3.2-3.dsc
 39104bce126581c8074d0b2e3c42ccfd179947dc 48944 apt-cacher-ng_3.2-3.debian.tar.xz
 4316adb1457b4e6b1152fafd73d710012646f9bc 7804 apt-cacher-ng_3.2-3_source.buildinfo
Checksums-Sha256:
 dfa7e30257ad710c9d3582d1150021c33c1444f21894dc9c0243815000ff3452 2150 apt-cacher-ng_3.2-3.dsc
 5a681424372dd5940e87414c8a3a4cb2fa8cf6e254b8dd71f8c9b5c3eb1c5064 48944 apt-cacher-ng_3.2-3.debian.tar.xz
 ab67cf8b227869f2370567a85968599a10062fd1e8670d0ea7b88cfe6bcfbeac 7804 apt-cacher-ng_3.2-3_source.buildinfo
Files:
 6704939a6903177007bc2f7e602cc2f9 2150 net optional apt-cacher-ng_3.2-3.dsc
 7fe3775859841e54cbfc3694df216f5f 48944 net optional apt-cacher-ng_3.2-3.debian.tar.xz
 48ca6dd100580f5515e1cd267f36e424 7804 net optional apt-cacher-ng_3.2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEZI3Zj0vEgpAXyw40aXQOXLNf7DwFAl23XVYACgkQaXQOXLNf
7DyZPBAAh+AREuyKnSaxMMJ8zfqAbZQjHV4SPlZFG1lIcSV7BkjC9AYX8kkBZF+0
6/KJxSwTkeRE23xCTieNeImkBg8cDCgFkK7NhgXXx7FUdjetSJaWMfNgEdKqiwEl
54dtVZoJzNm9T86xbard/aHCQewoGkpIpehUfSsTRT/nFGdWsLjnFhm7MX1d4nFN
n1mLeQgSvuWq8c8H+qS/2DAE12CCgGcUTg2ELkN8dv+Qp6Y95Jk0wHGtR5jf+zqx
G53CNMB+qK/w74J5ogDzbK/kCita7miDRBZCwZS3MxAht/1/gxQzyyd8pp+WXLgK
aWgpFF3ysI/hhcORjNWnXw8RXA3P4aP/RpIDu8ADLbKhQmF2KlX6K4VarYjSdu+W
9imWm/hNa3BT2LYx2RUoRPIFlRFGdmEiihHfVsk/IC6qo4HU6eMw0ZxchO3VW/NE
6I0c0gEwgqOBR6aekIvGOVyrKkGeRtyypH9DL2PGOnHabw5068oEI1Cn5e4OPuXU
5f057sKETzGg9fcpQJa0aSvNhoq6RAcsZx5RbzaXlLhf4dYWSIVWrnOMlYO4CPi0
ZTaG2AniyzXobSveBg3RPmtzXUzANoANK88knS8quu5mAt4VJmGYW8ZVhJia6EgL
P4Qvzmtyyn5lGN3J41s7iSSads2fulxZy4qY8msduyG/uBRY7ck=
=VyGv
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Bug#942634: apt-cacher-ng: fails to work on debian/sid suite (too small BUFSIZEMAX)

Andreas Beckmann-4
In reply to this post by Aurelien Jarno-2
Followup-For: Bug #942634
Control: tag -1 pending

buster-pu request: https://bugs.debian.org/948786


Andreas

Reply | Threaded
Open this post in threaded view
|

Processed: Re: apt-cacher-ng: fails to work on debian/sid suite (too small BUFSIZEMAX)

Debian Bug Tracking System
In reply to this post by Aurelien Jarno-2
Processing control commands:

> tag -1 pending
Bug #942634 {Done: Eduard Bloch <[hidden email]>} [apt-cacher-ng] apt-cacher-ng: fails to work on debian/sid suite (too small BUFSIZEMAX)
Added tag(s) pending.

--
942634: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942634
Debian Bug Tracking System
Contact [hidden email] with problems