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

Bug#770152: marked as done (apt: sends invalid range request for empty Packages.xz)



Your message dated Tue, 23 Dec 2014 21:34:44 +0000
with message-id <E1Y3X6K-0001Mj-Ax@franck.debian.org>
and subject line Bug#768797: fixed in apt 1.0.9.5
has caused the Debian Bug report #768797,
regarding apt: sends invalid range request for empty Packages.xz
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.)


-- 
768797: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768797
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.0.9.3
Severity: important

Hi,

I have an up-to-date jessie chroot for building Debian packages and a repository
hosting additional packages. When I try to build a package with sbuild 0.65.0-1
using the command

sbuild -d jessie-dev -c pb-jessie "--extra-repository=deb http://repo/pb-debian-dev jessie-dev main non-free contrib"

the build fails due to this apt failure:

W: Failed to fetch http://repo/pb-debian-dev/dists/jessie-dev/non-free/binary-amd64/Packages  Bad header line

A stripped down sbuild.log with all relevant apt debug output is attached.

First, apt sends a get request for the non-free Packages.xz file and get the
response with exactly 32 bytes length (it's an empty compressed Packages file).
In the second call, apt sends another get request with the range "bytes=32-"
specified. The server response with a HTTP 416 answer, because byte 32 is out of
the range of 0-31 of this 32 bytes long file.

Due to this bug, sbuild fails and I can't build any package. Therefore I would
classify this bug as serious for sbuild.

-- 
Benjamin Drung
System Developer

ProfitBricks GmbH - The IaaS-Company
Greifswalder Str. 207
D - 10405 Berlin

Mail: benjamin.drung@profitbricks.com
Fax:  +49 30 577 008 598
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B.
Geschäftsführer: Andreas Gauger, Achim Weiss.
Title: 416 Requested Range Not Satisfiable
┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check dependencies ────────────────── [...] Get:4 http://repo jessie-dev/main amd64 Packages [32 B] GET /pb-debian-dev/dists/jessie-dev/non-free/binary-amd64/Packages.xz HTTP/1.1 Host: repo Cache-Control: max-age=0 User-Agent: Debian APT-HTTP/1.3 (1.0.9.3) Answer for: http://repo/pb-debian-dev/dists/jessie-dev/non-free/binary-amd64/Packages.xz HTTP/1.1 200 OK Server: nginx/1.4.5 Date: Tue, 18 Nov 2014 17:45:28 GMT Content-Type: application/x-xz Content-Length: 32 Last-Modified: Thu, 06 Nov 2014 16:08:06 GMT Connection: keep-alive ETag: "545b9ce6-20" Accept-Ranges: bytes [...] ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ [...] Ign file: ./ InRelease Get:1 file: ./ Release.gpg [299 B] GET /pb-debian-dev/dists/jessie-dev/InRelease HTTP/1.1 Host: repo Cache-Control: max-age=0 Accept: text/* If-Modified-Since: Thu, 06 Nov 2014 16:08:06 GMT User-Agent: Debian APT-HTTP/1.3 (1.0.9.3) Get:2 file: ./ Release [2119 B] Answer for: http://repo/pb-debian-dev/dists/jessie-dev/InRelease HTTP/1.1 304 Not Modified Server: nginx/1.4.5 Date: Tue, 18 Nov 2014 17:45:29 GMT Last-Modified: Thu, 06 Nov 2014 16:08:06 GMT Connection: keep-alive ETag: "545b9ce6-1453" Hit http://repo jessie-dev InRelease Ign file: ./ Translation-en GET /pb-debian-dev/dists/jessie-dev/main/binary-amd64/Packages.xz HTTP/1.1 Host: repo Cache-Control: max-age=0 Range: bytes=32- If-Range: Thu, 06 Nov 2014 16:08:06 GMT User-Agent: Debian APT-HTTP/1.3 (1.0.9.3) Answer for: http://repo/pb-debian-dev/dists/jessie-dev/main/binary-amd64/Packages.xz HTTP/1.1 416 Requested Range Not Satisfiable Server: nginx/1.4.5 Date: Tue, 18 Nov 2014 17:45:29 GMT Content-Type: text/html Content-Length: 212 Connection: keep-alive Content-Range: bytes */32 Get:3 http://repo jessie-dev/main amd64 Packages [32 B] GET /pb-debian-dev/dists/jessie-dev/non-free/binary-amd64/Packages.xz HTTP/1.1 Host: repo Cache-Control: max-age=0 Range: bytes=32- If-Range: Thu, 06 Nov 2014 16:08:06 GMT User-Agent: Debian APT-HTTP/1.3 (1.0.9.3) Answer for: http://repo/pb-debian-dev/dists/jessie-dev/non-free/binary-amd64/Packages.xz

404 Not Found


nginx/1.4.5
HTTP/1.1 304 Not Modified Server: nginx/1.4.5 Date: Tue, 18 Nov 2014 17:45:29 GMT Last-Modified: Thu, 06 Nov 2014 16:08:06 GMT Connection: keep-alive ETag: "545b9ce6-0" [...] W: Failed to fetch http://repo/pb-debian-dev/dists/jessie-dev/non-free/binary-amd64/Packages Bad header line E: Some index files failed to download. They have been ignored, or old ones used instead. [...]

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.0.9.5

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

Debian distribution maintenance software
pp.
David Kalnischkies <david@kalnischkies.de> (supplier of updated apt 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: SHA256

Format: 1.8
Date: Tue, 23 Dec 2014 13:22:42 +0100
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 1.0.9.5
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: David Kalnischkies <david@kalnischkies.de>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst1.5 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg4.12 - package management runtime library
Closes: 768797 769609 771967 771982 772641 772678 772732 772913 773061
Changes:
 apt (1.0.9.5) unstable; urgency=medium
 .
   [ David Kalnischkies ]
   * dispose http(s) 416 error page as non-content (Closes: 768797)
   * do not make PTY slave the controlling terminal (Closes: 772641)
   * always run 'dpkg --configure -a' at the end of our dpkg callings
     (Closes: 769609)
   * pass-through stdin fd instead of content if not a terminal (Closes: 773061)
 .
   [ James McCoy ]
   * tighten filtering of kernel images in apt.auto-removal (Closes: 772732)
 .
   [ Jean-Pierre Giraud ]
   * French manpages translation update (Closes: 771967)
 .
   [ Zhou Mo ]
   * Chinese (simplified) program translation update (Closes: 771982)
 .
   [ Kenshi Muto ]
   * Japanese program translation update (Closes: 772678)
 .
   [ Theppitak Karoonboonyanan ]
   * Thai program translation update (Closes: 772913)
Checksums-Sha1:
 1d746a7cc8aa9f6c1ac75b083a7a10b9ef000d34 2353 apt_1.0.9.5.dsc
 3d40f1d09af0f9f60e6bded40b956d36d0773de2 1840376 apt_1.0.9.5.tar.xz
 fc13886cc1ac7578647e837f1583f1aee63650a1 302336 apt-doc_1.0.9.5_all.deb
 b0716d3fd69d42c0274df577d3827fd5dc1e3f21 780448 libapt-pkg-doc_1.0.9.5_all.deb
 0c96cf47a99c4a04dc783f659ff42d7f36297939 790116 libapt-pkg4.12_1.0.9.5_amd64.deb
 127cda241c5d73700083fe732344f9866afa1ac8 167972 libapt-inst1.5_1.0.9.5_amd64.deb
 1923c3d7202353701455f21a9da3d5ec50cae45c 1107724 apt_1.0.9.5_amd64.deb
 66468584689007e5eb22914d1f5c5635fd4aac8b 193078 libapt-pkg-dev_1.0.9.5_amd64.deb
 77c3fbfa9c766e15e296cac7042ec5ef56da72d5 366964 apt-utils_1.0.9.5_amd64.deb
 3fbf0285019639fd2ae6b7058a1399ea6ba64588 136292 apt-transport-https_1.0.9.5_amd64.deb
Checksums-Sha256:
 20bad5f666ff8c025fd22917903848abf658a9beec731afb3bfd9bd327187ea8 2353 apt_1.0.9.5.dsc
 7af925d497a777552857d36e9f64536985342840379b89655952e7a862cfb3be 1840376 apt_1.0.9.5.tar.xz
 6496795c201813f46d37ea64f78d50d32dd9163c74507f21daab32664f49b293 302336 apt-doc_1.0.9.5_all.deb
 f68a484bb1716ae7a6df075b0484df1ca81c52a59572c6d7d9ff70143d5cb2e6 780448 libapt-pkg-doc_1.0.9.5_all.deb
 413b0b1f0f1759b533ca2012a7948e08d173b2e25ec174cc572b683873a6c98a 790116 libapt-pkg4.12_1.0.9.5_amd64.deb
 2c8e2fd5142b1615d906ee0eaaf58c555f738cddbd5074b3371e65cfbf14b068 167972 libapt-inst1.5_1.0.9.5_amd64.deb
 4a0a69877daee2f2d0152fdfef06631b89f95a267f2148c3938ce46f081a0924 1107724 apt_1.0.9.5_amd64.deb
 aebb947692dc48a0c289200ac1edaf35828b0dd57d002f4371bfb62e63d211cf 193078 libapt-pkg-dev_1.0.9.5_amd64.deb
 3dfb54fc06da549e0d99db7f8038d328645e47a4f61de4d76e315f2f2586d93f 366964 apt-utils_1.0.9.5_amd64.deb
 0e3b474f8d2a02f19a7a48568165160388a14e4b0f4bdee7e57182c42966c673 136292 apt-transport-https_1.0.9.5_amd64.deb
Files:
 59b53c665e22a6bce02905f8a12b2b8c 2353 admin important apt_1.0.9.5.dsc
 1957a16630136e2f34a5a864e719f662 1840376 admin important apt_1.0.9.5.tar.xz
 7a9780af14b3483c05557eb030444a06 302336 doc optional apt-doc_1.0.9.5_all.deb
 62256afd52af8dab29ef505fa7d9d63d 780448 doc optional libapt-pkg-doc_1.0.9.5_all.deb
 ccb89186a3668267c723405ebe8fde13 790116 libs important libapt-pkg4.12_1.0.9.5_amd64.deb
 56f633d775d5dc46246bcd3d0eef5269 167972 libs important libapt-inst1.5_1.0.9.5_amd64.deb
 6ab282c0647eb502855d2ff4bde10676 1107724 admin important apt_1.0.9.5_amd64.deb
 9dcc0f6c78c9f62d50daa72e01b0179e 193078 libdevel optional libapt-pkg-dev_1.0.9.5_amd64.deb
 8fa3ed1a5a593b9d597e0c0c892cd739 366964 admin important apt-utils_1.0.9.5_amd64.deb
 3f0b141537b3d554b3228f17f58742ec 136292 admin optional apt-transport-https_1.0.9.5_amd64.deb

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

iQIcBAEBCAAGBQJUmc4YAAoJEJjKuzq9TKWe2eIQAOOLkD7dAFs3wvM7YmjYwN4Y
ps39SDEoTJHlgQYv/Nhg9kL3n5F8u0GQ8n5FxNJp0Uv58YcQ/fEHV61i8O/qx+A7
9XWfqwOoObeQOMKsg5KlM8+LKUKk5ZdbP5ypd9hBguIeCZNfP/KYmm9TnnjioquE
Q/HcW7kLaZwcxiTgc6suIYyUPCjnqdCqKY0E7VClbTR2Cozl2tDEaGWVTLMFRStl
Xx3yrDga3w9+FHwsyU3GoVS7Aj1M/B3qAq4hkkuoLWksRxlIMGXJ1cjFlTx4t8nb
fyiyRl86qnDjUJYDzWfftUvxgiSAlKW6mCkXz+3oS+d8k3okF79Pat1FEPVoEotd
xuDlHT455D8mxCD7clYAvLhFDtg3BCW5YEGOVHJbWfnQaUwj40cCzgU2j2QxccLe
AJAo0l9aVhuAaWfR4Pno/Up+QRIv7FOzHrSwSrAwYMZZud/kkyi6DGrf/rSXB0iX
YORgDpGbOCV0opX0hYwKJcj42Ky9ak9PStsS+z4jmYDBH9tEHbpdI7kcsO4Elkq5
0nB88GIeAwFjxLb8SpEP7MHMqcqxTDcQKyKyBNI0+H8gYUDdBvki6YDNFqEqbH0u
bIQnow0TZoCHNwjNRFFLZs2TkTZO28qsfIGJ8zXCaPJhTW0mru7yG5Fbnp20NFdg
OKkC75/NnvRTp4uZR6Vx
=agvD
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: