Package: apt Version: 1.1.4 Severity: wishlist The Acquire::PDiffs::SizeLimit option should check size of the Index file as well. Currently, apt happily downloads Packages.diff/Index even if it is larger than Packages.gz. (The archive, luckily, seems not to publish the Index in such a case, hence the reduced severity.)
Notice that the SizeLimit check should not add size of Index to size of the patches, it should check them separately, as when the size of the patches is known, the Index has already been downloaded. Alternatively, a separate option could be introduced to limit the percentage of the size of the Index compared to the size of the targeted file. -- Package-specific info: -- (/etc/apt/preferences present, but not submitted) -- -- (no /etc/apt/sources.list present) -- -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (800, 'testing'), (700, 'unstable'), (600, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt depends on: ii adduser 3.113+nmu3 ii debian-archive-keyring 2014.3 ii gnupg 1.4.19-6 ii gpgv 1.4.19-6 ii libapt-pkg5.0 1.1.4 ii libc6 2.19-22 ii libgcc1 1:5.2.1-23 ii libstdc++6 5.2.1-23 apt recommends no packages. Versions of packages apt suggests: ii apt-doc 1.1.4 pn aptitude | synaptic | wajig <none> ii dpkg-dev 1.18.3 ii python-apt 1.1.0~beta1 -- no debconf information