Bug#748718: apt: should prefer compression formats from Release
Package: apt
Version: 1.0.3
Severity: wishlist
I noticed that apt does the following series of requests:
GET http://ftp.debian.org/debian/dists/unstable/InRelease
GET http://ftp.debian.org/debian/dists/unstable/main/binary-amd64/Packages.bz2
GET http://ftp.debian.org/debian/dists/unstable/main/binary-amd64/Packages.xz
The response for Packages.bz2 is 404, which is why it tries
Packages.xz next. But Packages.bz2 isn't included in the InRelease file,
so even if it existed, it couldn't be authenticated.
It would be nice if apt could be smart enough to prefer compression
formats that are included in the (In)Release file, so that it can avoid
unnecessary requests.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2012.4
ii gnupg 1.4.16-1.1
ii libapt-pkg4.12 1.0.3
ii libc6 2.18-6
ii libgcc1 1:4.9.0-4
ii libstdc++6 4.9.0-4
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
pn aptitude | synaptic | wajig <none>
ii dpkg-dev 1.17.9
pn python-apt <none>
--
Jakub Wilk
Reply to: