Package: apt Version: 0.8.10.3+squeeze1 Severity: serious Justification: arbitrary limits on compression types wasting CD space
Hi, I've just added support for translated description files into debian-cd, creating Translation-$LANG.bz2 on CDs to match the archive. A problem report from a user shortly afterwards described apt-cdrom issues using a DVD generated with this new code. [1] I've dug through the code in cdrom.cc and tagfile.cc and I've found that apt simply does not support .bz2 versions of the Translation files *from CD*. AFAICS it *does* support them in the main archive via HTTP etc. That's a bit of a surprise, to say the least. Looking elsewhere in the code, it also looks like apt is arbitrarily hard-coded to only support gzip comression for other files coming from CD too. acquire-item.cc is already reasonably generic to cope with various compression algorithms, so please clean up the CD support code in a similar way. As it is, on CDs/DVDs we're stuck with only using gzip for various of the index files now until wheezy+1. That means we're going to be wasting (maybe a lot) more space on CDs than necessary. [1] http://lists.debian.org/debian-cd/2011/11/msg00014.html -- System Information: Debian Release: 6.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt depends on: ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime apt recommends no packages. Versions of packages apt suggests: pn apt-doc <none> (no description available) ii aptitude 0.6.3-3.2+squeeze1 terminal-based package manager (te ii bzip2 1.0.5-6 high-quality block-sorting file co ii dpkg-dev 1.15.8.11 Debian package development tools ii lzma 4.43-14 Compression method of 7z format in ii python-apt 0.7.100.1+squeeze1 Python interface to libapt-pkg ii synaptic 0.70~pre1+b1 Graphical package manager -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org