[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#973861: marked as done (apt: http acquire method still failing with "Undetermined error" or "Data left in the buffer")



Your message dated Mon, 13 Feb 2023 13:34:44 +0000
with message-id <E1pRYyi-00Gsl1-5R@fasolo.debian.org>
and subject line Bug#973861: fixed in nginx 1.22.1-7
has caused the Debian Bug report #973861,
regarding apt: http acquire method still failing with "Undetermined error" or "Data left in the buffer"
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 owner@bugs.debian.org
immediately.)


-- 
973861: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973861
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 2.1.11
Severity: important
User: devel@kali.org
Usertags: origin-kali

Hello,

while the frequence of the error has really decreased since the last set
of fixes, we still have occasional failures where apt ends
up with "Undetermined error" or "Data left in the buffer".

It's pretty annoying for APT to be unreliable in that way.

The last case that triggered this bug for us in Kali was within a net-install
in d-i:

[...]
Nov  5 23:15:48 in-target: Err:2130 http://kali.download/kali kali-rolling/main amd64 llvm-10 amd64 1:10.0.1-6
Nov  5 23:15:48 in-target:   Undetermined Error [IP: 104.18.102.100 80]
[...]
Nov  5 23:16:14 in-target: Fetched 2,651 MB in 5min 20s (8,274 kB/s)
Nov  5 23:16:14 in-target: E: Failed to fetch http://kali.download/kali/pool/main/l/llvm-toolchain-10/llvm-10_10.0.1-6_amd64.deb  Undetermined Error [IP: 104.18.102.100 80]
Nov  5 23:16:14 in-target: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Nov  5 23:16:14 in-target: tasksel: apt-get failed (100)

To try to reproduce it I invite you to configure a sources.lists with
kali.download as mirror. Do this on a server with a very good connection.

deb http://kali.download/kali kali-rolling main contrib non-free

And try to run this in a loop until you reproduce it:
# apt --download-only install kali-linux-large
# apt clean

It took me two tries to reproduce it... I had a download rate of more than
50MB/s.

I tried to reproduce it with debugging options enabled:
# while true; do apt -y --download-only install kali-linux-large -o Debug::Acquire::http=true -o Debug::pkgAcquire::Worker=true 2>log || break; apt clean; done

And I managed to reproduce it too but after a dozen of tries this time.
The log file is huge but it failed with this:
E: Failed to fetch http://kali.download/kali/pool/main/h/highlight.js/libjs-highlight.js_9.12.0+dfsg1-5_all.deb  Undetermined Error [IP: 104.18.102.100 80]

And here are the lines that seem relevant for that specific file:

 -> http:600%20URI%20Acquire%0aURI:%20http://kali.download/kali/pool/main/h/highlight.js/libjs-highlight.js_9.12.0+dfsg1-5_all.deb%0aFilename:%20/var/cache/apt/archives/partial/libjs-highlight.js_9.12.0+dfsg1-5_all.deb%0aExpected-SHA256:%202347b5fd2bb741cf87f01b4243e591d094445227bea63de5d53555752b322a45%0aExpected-SHA1:%20c465af27c6a567320661436f509043587735f996%0aExpected-MD5Sum:%206d11858477ba16d6b2ffb2d518dd2735%0aExpected-Checksum-FileSize:%20300172%0aTarget-Repo-URI:%20http://kali.download/kali/%0aTarget-Site:%20http://kali.download/kali%0aTarget-Release:%20kali-rolling%0aTarget-Base-URI:%20http://kali.download/kali/%0aTarget-Component:%20main%0aTarget-Codename:%20kali-rolling%0aTarget-Suite:%20kali-rolling%0aTarget-Architecture:%20all%0aTarget-Type:%20deb%0a%0a
 <- http:102%20Status%0aURI:%20http://kali.download/kali/pool/main/x/xorg-sgml-doctools/xorg-sgml-doctools_1.11-1_all.deb%0aMessage:%20Waiting%20for%20headers
GET /kali/pool/main/h/highlight.js/libjs-highlight.js_9.12.0%2bdfsg1-5_all.deb HTTP/1.1^M
Host: kali.download^M
User-Agent: Debian APT-HTTP/1.3 (2.1.11)^M
^M
[...]
 <- http:102%20Status%0aURI:%20http://kali.download/kali/pool/main/h/highlight.js/libjs-highlight.js_9.12.0+dfsg1-5_all.deb%0aMessage:%20Waiting%20for%20headers
GET /kali/pool/main/i/imagemagick/libmagickcore-6.q16-6-extra_6.9.11.24%2bdfsg-1%2bb1_amd64.deb HTTP/1.1^M
Host: kali.download^M
User-Agent: Debian APT-HTTP/1.3 (2.1.11)^M
^M

Answer for: http://kali.download/kali/pool/main/h/highlight.js/libjs-highlight.js_9.12.0+dfsg1-5_all.deb
HTTP/1.1 200 OK^M
Date: Fri, 06 Nov 2020 08:10:09 GMT^M
Content-Type: application/octet-stream^M
Content-Length: 300172^M
Connection: close^M
Set-Cookie: __cfduid=dcd44a60d11f41fb354d70f7609be4f1a1604650209; expires=Sun, 06-Dec-20 08:10:09 GMT; path=/; domain=.kali.download; HttpOnly; SameSite=Lax^M
Last-Modified: Sun, 29 Dec 2019 15:40:32 GMT^M
ETag: "5e08c8f0-4948c"^M
Expires: Mon, 04 Nov 2030 08:10:09 GMT^M
Cache-Control: public, max-age=315360000^M
CF-Cache-Status: HIT^M
Age: 264899^M
Accept-Ranges: bytes^M
cf-request-id: 063e342a5d0000a30f222e8000000001^M
Server: cloudflare^M
CF-RAY: 5edd5623cfbda30f-ORD^M
^M
 <- http:200%20URI%20Start%0aLast-Modified:%20Sun,%2029%20Dec%202019%2015:40:32%20+0000%0aSize:%20300172%0aURI:%20http://kali.download/kali/pool/main/h/highlight.js/libjs-highlight.js_9.12.0+dfsg1-5_all.deb
 <- http:400%20URI%20Failure%0aTransient-Failure:%20true%0aMessage:%20Undetermined%20Error%20[IP:%20104.18.102.100%2080]%0aURI:%20http://kali.download/kali/pool/main/h/highlight.js/libjs-highlight.js_9.12.0+dfsg1-5_all.deb
 -> http:600%20URI%20Acquire%0aURI:%20http://kali.download/kali/pool/main/libn/libnet-smtp-ssl-perl/libnet-smtp-ssl-perl_1.04-1_all.deb%0aFilename:%20/var/cache/apt/archives/partial/libnet-smtp-ssl-perl_1.04-1_all.deb%0aExpected-SHA256:%20cf23f2c340b048177ef3060644ec759a9002932f8c97889089d741723f8ada6c%0aExpected-SHA1:%20b02e232125c7a35b665bfeeacc2691646aeda44d%0aExpected-MD5Sum:%2042fd123d655b3ea46850ccaf5e9a5a63%0aExpected-Checksum-FileSize:%206184%0aTarget-Repo-URI:%20http://kali.download/kali/%0aTarget-Site:%20http://kali.download/kali%0aTarget-Release:%20kali-rolling%0aTarget-Base-URI:%20http://kali.download/kali/%0aTarget-Component:%20main%0aTarget-Codename:%20kali-rolling%0aTarget-Suite:%20kali-rolling%0aTarget-Architecture:%20all%0aTarget-Type:%20deb%0a%0a

Cheers,
-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt depends on:
ii  adduser                 3.118
ii  debian-archive-keyring  2019.1
ii  gpgv                    2.2.20-1
ii  libapt-pkg6.0           2.1.11
ii  libc6                   2.31-4
ii  libgcc-s1               10.2.0-15
ii  libgnutls30             3.6.15-4
ii  libseccomp2             2.4.4-1+b1
ii  libstdc++6              10.2.0-15
ii  libsystemd0             246.6-2

Versions of packages apt recommends:
ii  ca-certificates  20200601

Versions of packages apt suggests:
ii  apt-doc         2.1.11
ii  aptitude        0.8.13-2
ii  dpkg-dev        1.20.5
ii  gnupg           2.2.20-1
ii  gnupg2          2.2.20-1
ii  powermgmt-base  1.36
ii  synaptic        0.90+nmu1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: nginx
Source-Version: 1.22.1-7
Done: Jan Mojžíš <jan.mojzis@gmail.com>

We believe that the bug you reported is fixed in the latest version of
nginx, 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 973861@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jan Mojžíš <jan.mojzis@gmail.com> (supplier of updated nginx 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 13 Feb 2023 13:04:16 +0100
Source: nginx
Architecture: source
Version: 1.22.1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Nginx Maintainers <pkg-nginx-maintainers@alioth-lists.debian.net>
Changed-By: Jan Mojžíš <jan.mojzis@gmail.com>
Closes: 973861 1000013
Changes:
 nginx (1.22.1-7) unstable; urgency=medium
 .
   * nginx ABI release: nginx-abi-1.22.1-7
   * nginx ABI: Nginx now provides nginx-abi-<VERSION> to better manage
     dependencies between nginx and 3rd party modules. Credit to Jérémy Lal.
   * switched to libpcre2 (Closes: 1000013)
   * d/p/bug-973861: added, lingering close for connections with pipelined
     requests. The patch is backported from the upstream. (Closes: 973861)
   * d/gbb.conf: switched to debian branch main (debian-branch = main)
   * d/copyright: updated to be compatible with 'cme update dpkg-copyright'
Checksums-Sha1:
 3cfc94a19788c8874b6858b45c9f442c2a3cc787 3554 nginx_1.22.1-7.dsc
 618b319ea808bf04688ebe74e3821becbada05ca 71652 nginx_1.22.1-7.debian.tar.xz
 b899a29fe91fb890d020c2072ee9953dd3e4d4e4 8203 nginx_1.22.1-7_source.buildinfo
Checksums-Sha256:
 0686d13845d7877ee17b55ef7c343c3b43e7a63fe6866311a8971ca089139698 3554 nginx_1.22.1-7.dsc
 e209445bfdb5afa1086e60f681e7f831fbc79fc605c10a484e97d2ffb9c3120a 71652 nginx_1.22.1-7.debian.tar.xz
 2104cdbe297e29b3d5508f4988da06d96e2de2f8241fe828fe1140d0a42a3693 8203 nginx_1.22.1-7_source.buildinfo
Files:
 04664be504b133b9b6a53e4b4211bba3 3554 httpd optional nginx_1.22.1-7.dsc
 4cb8de2721c34cb96bcd643ab978f1c1 71652 httpd optional nginx_1.22.1-7.debian.tar.xz
 9e9c0e76080f4b95a85037af0865f12a 8203 httpd optional nginx_1.22.1-7_source.buildinfo

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

iQJJBAEBCgAzFiEE0Aiwwj2EeeRrn8uQRdpRdJaTn/kFAmPqNr8VHGphbi5tb2p6
aXNAZ21haWwuY29tAAoJEEXaUXSWk5/5PTEQAJbXy2pM0hC719czQ7VoQiRZ6j9Z
Gk/IuorxR1xlWwJA7E9Gkyipw4hAXB+iLvxVwSzBXg01pWJ5vVcHF2bNUC7d0lCy
kDdPpr2YE1yNlXmVPjdtt0qlGP1vWIJxjQJmRHOGp6NUiVlFQlitLpwfAOR8jHQM
nMcHoSzNJ0hXNxl+7joTQLVtzY0en9NoSvDcXgDs4ev1FaCSeZtXLb7pNOrU5mDQ
bWVb+7xCWk7lv8vTkWHpJlblCnWyXmVOn69WD9hM89FtVuuv1I5L0/IJje6RA4f1
lMlyGrF7mM7LrCVIr+anNbR1v5gYmZuUifO6QMLLLvjBwVrL98RhYZ1/HgNS6EUT
aci+HeoTmRCS5ud7geRayHuI9nN7oMwFsfNji8Z5B3obVAOVrXIzkJdVWqITWOOO
FJtQ4Ye5V2nvVWY5eMSv4kBZcJuC/E5ooanQn5CdlQlFbx5gOsVay49nJBY6PSdV
s4OoHO8HXDD4Ddn8kkdGSn5OzwLMg2DGZ2EIlEMeGf98zl17TcNLE/pwMxgjQ2o6
1VPZLI6jS/QrJxEtmM0GvlER2X5lCk5+5X1KBUGDbSYA7iKqUqyCqSwW8HPSlDsl
Ik4DfdvSpjWRk1VkRaQrZ/Eq+AvbL22G1bKWvH0b0tXy1itgNO6RvN8ni9gMRvib
n963FZ2Srdqq881Y
=HkSp
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: