On Mon, Jan 11, 2016 at 05:25:40PM +0100, Julian Andres Klode wrote: > Hi everyone, > > the following packages contain lines matching the > expression: > /var/lib/apt/lists/.*(Packages|Sources) > > Those files may be compressed by any compressor > supported by APT and just hardcoding them is > wrong. > > Especially with lz4 support in 1.2, there > is almost no overhead setting Acquire::gzipIndexes > (bad name, I know), so I suspect we might see > more people moving to compressed indices, especially > on embedded devices. > > So, I think it's time to clean up that mess. > > Here is how: > > To get the name of all Packages files (since 1.1), use: > apt-get indextargets --format '$(FILENAME)' "Created-By: Packages" > for Sources: > apt-get indextargets --format '$(FILENAME)' "Created-By: Sources" > for Contents (if apt-file 3 is installed): > apt-get indextargets --format '$(FILENAME)' "Created-By: Contents-deb" > (or -dsc, -udeb) > > To read the file, you can use (since APT 1.1.8) > /usr/lib/apt/apt-helper cat-file FILENAME... > - this will automatically handle any compressor. C++ code may wish > to use APT's FileFd code instead.
I have now filed bugs with de...@lists.debian.org as the user and the "apt-internals" user tag: https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=de...@lists.debian.org;tag=apt-internals Please everyone, turn on Acquire::gzipIndexes and report any other bugs with the same user tag. The initial batch of bug reports, found via codesearch was: Andreas Metzler <ametz...@debian.org> exim4 (U) Axel Beckert <a...@debian.org> debian-goodies (U) pkg-perl-tools (U) CDBS Hackers <build-common-hack...@lists.alioth.debian.org> cdbs Chris Lamb <la...@debian.org> aptfs Clint Adams <cl...@debian.org> pkg-haskell-tools (U) Damyan Ivanov <d...@debian.org> pkg-perl-tools (U) Daniel Baumann <daniel.baum...@progress-linux.org> open-infrastructure-system-build Daniel Baumann <m...@daniel-baumann.ch> open-infrastructure-system-build Debian Edu Developers <debian-...@lists.debian.org> debian-edu-config Debian Forensics <forensics-de...@lists.alioth.debian.org> forensics-all Debian Go Packaging Team <pkg-go-maintain...@lists.alioth.debian.org> ratt Debian Haskell Group <pkg-haskell-maintain...@lists.alioth.debian.org> pkg-haskell-tools Debian Live <debian-l...@lists.debian.org> live-build Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org> pkg-perl-tools Debian QA Group <packa...@qa.debian.org> apt-p2p ara Debian Window Maker Team <pkg-wmaker-de...@lists.alioth.debian.org> wmbiff Doug Torrance <dtorra...@piedmont.edu> wmbiff (U) Exim4 Maintainers <pkg-exim4-maintain...@lists.alioth.debian.org> exim4 Giovani Augusto Ferreira <giov...@debian.org> forensics-all (U) Graham Williams <graham.willi...@togaware.com> wajig gregor herrmann <gre...@debian.org> pkg-perl-tools (U) Holger Levsen <hol...@debian.org> debian-edu-config (U) Javier Fernández-Sanguino Peña <j...@debian.org> debian-goodies Joachim Breitner <nome...@debian.org> pkg-haskell-tools (U) Joao Eriberto Mota Filho <eribe...@debian.org> forensics-all (U) Jonas Smedegaard <d...@jones.dk> cdbs (U) Leo Iannacone <l...@ubuntu.com> apt-venv LTSP Debian Maintainers <pkg-ltsp-de...@lists.alioth.debian.org> ltsp Marc Dequènes (Duck) <d...@duckcorp.org> cdbs (U) Marc Haber <mh+debian-packa...@zugschlus.de> exim4 (U) Michael Stapelberg <stapelb...@debian.org> ratt (U) Mike Gabriel <sunwea...@debian.org> debian-edu-config (U) Niko Tyni <nt...@debian.org> pkg-perl-tools (U) Petter Reinholdtsen <p...@debian.org> debian-edu-config (U) Raphaël Hertzog <hert...@debian.org> live-build (U) Rémi Thebault (RTbo) <remi.theba...@gmail.com> cdbs (U) Salvatore Bonaccorso <car...@debian.org> pkg-perl-tools (U) Tshepang Lekhonkhobe <tshep...@gmail.com> wajig (U) Vagrant Cascadian <vagr...@debian.org> ltsp (U) Vasudev Kamath <kamathvasu...@gmail.com> cdbs (U) Wolfgang Schweer <wschw...@arcor.de> debian-edu-config (U) This is the original list: > -- List of affected packages. > > Alessio Treglia <ales...@debian.org> > apt-venv (U) > > Alexander Alemayhu <alexan...@bitraf.no> > debian-edu-config (U) > > Alexander Wirt <formo...@debian.org> > grml-debootstrap (U) > > Andreas B. Mundt <andi.mu...@web.de> > debian-edu-config (U) > > Andreas Hoenen <andr...@hoenen-terstappen.de> > apt-show-versions (U) > > Andreas Metzler <ametz...@debian.org> > exim4 (U) > > Axel Beckert <a...@debian.org> > debian-goodies (U) > pkg-perl-tools (U) > > Benjamin Drung <bdr...@debian.org> > devscripts (U) > > CDBS Hackers <build-common-hack...@lists.alioth.debian.org> > cdbs > > Chris Lamb <la...@debian.org> > aptfs > > Christian Hofstaedtler <christ...@hofstaedtler.name> > grml-debootstrap (U) > > Christoph Martin <christoph.mar...@uni-mainz.de> > apt-show-versions > > Clint Adams <cl...@debian.org> > cabal-debian (U) > > Damyan Ivanov <d...@debian.org> > pkg-perl-tools (U) > > dctrl-tools developers <dctrl-tools-de...@lists.alioth.debian.org> > dctrl-tools > > Debian Edu Developers <debian-...@lists.debian.org> > debian-edu-config > > Debian Go Packaging Team <pkg-go-maintain...@lists.alioth.debian.org> > ratt > > Debian Haskell Group <pkg-haskell-maintain...@lists.alioth.debian.org> > cabal-debian > haskell-debian > pkg-haskell-tools > > Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org> > coinst > dh-ocaml > dose3 > > Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org> > pkg-perl-tools > > Debian QA Group <packa...@qa.debian.org> > apt-p2p > ara > live-build > > Debian Window Maker Team <pkg-wmaker-de...@lists.alioth.debian.org> > wmbiff > > Devscripts Devel Team <devscripts-de...@lists.alioth.debian.org> > devscripts > > Dmitry Bogatov <kact...@gnu.org> > cabal-debian (U) > haskell-debian (U) > > Doug Torrance <dtorra...@piedmont.edu> > wmbiff (U) > > Exim4 Maintainers <pkg-exim4-maintain...@lists.alioth.debian.org> > exim4 > > Georges Khaznadar <georg...@debian.org> > clonezilla > > Graham Williams <graham.willi...@togaware.com> > wajig > > gregor herrmann <gre...@debian.org> > pkg-perl-tools (U) > > Grml Team <t...@grml.org> > grml-debootstrap > > Holger Levsen <hol...@debian.org> > debian-edu-config (U) > > James McCoy <james...@debian.org> > devscripts (U) > > Javier Fernández-Sanguino Peña <j...@debian.org> > debian-goodies > > Jeff Breidenbach <j...@debian.org> > jablicator > > Joachim Breitner <nome...@debian.org> > haskell-debian (U) > pkg-haskell-tools (U) > > Johannes Schauer <jo...@debian.org> > dose3 (U) > > Jonas Smedegaard <d...@jones.dk> > cdbs (U) > > Julian Andres Klode <j...@debian.org> > aptdaemon > > Leo Iannacone <l...@ubuntu.com> > apt-venv > > LTSP Debian Maintainers <pkg-ltsp-de...@lists.alioth.debian.org> > ltsp > > Marc Dequènes (Duck) <d...@duckcorp.org> > cdbs (U) > > Marc Haber <mh+debian-packa...@zugschlus.de> > exim4 (U) > > Martin Zobel-Helas <zo...@debian.org> > devscripts (U) > > Mehdi Dogguy <me...@debian.org> > coinst (U) > dh-ocaml (U) > > Michael Prokop <m...@debian.org> > grml-debootstrap (U) > > Michael Stapelberg <stapelb...@debian.org> > ratt (U) > > Mike Gabriel <sunwea...@debian.org> > debian-edu-config (U) > > Niko Tyni <nt...@debian.org> > pkg-perl-tools (U) > > Patrick Schoenfeld <schoenf...@debian.org> > devscripts (U) > > Petter Reinholdtsen <p...@debian.org> > debian-edu-config (U) > > Ralf Treinen <trei...@debian.org> > coinst (U) > dh-ocaml (U) > dose3 (U) > > Rhonda D'Vine <rho...@debian.org> > dctrl-tools (U) > > Romain Beauxis <to...@rastageeks.org> > dh-ocaml (U) > > Ryan Niebur <ryanrya...@gmail.com> > devscripts (U) > > Rémi Thebault (RTbo) <remi.theba...@gmail.com> > cdbs (U) > > Salvatore Bonaccorso <car...@debian.org> > pkg-perl-tools (U) > > Samuel Mimram <smim...@debian.org> > dh-ocaml (U) > > Stefano Zacchiroli <z...@debian.org> > dose3 (U) > > Stéphane Glondu <glo...@debian.org> > dh-ocaml (U) > > Tshepang Lekhonkhobe <tshep...@gmail.com> > wajig (U) > > Ulrich Dangel <m...@spamt.net> > grml-debootstrap (U) > > Vagrant Cascadian <vagr...@debian.org> > ltsp (U) > > Wolfgang Schweer <wschw...@arcor.de> > debian-edu-config (U) > > -- > Julian Andres Klode - Debian Developer, Ubuntu Member > > See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. > > When replying, only quote what is necessary, and write each reply > directly below the part(s) it pertains to (`inline'). Thank you. -- Debian Developer - deb.li/jak | jak-linux.org - free software dev | Ubuntu Core Developer | When replying, only quote what is necessary, and write each reply directly below the part(s) it pertains to ('inline'). Thank you.