Changing dpkg-deb default compression from gzip to lzma for Hardy

Scott Ritchie scott at
Mon Dec 17 10:02:25 UTC 2007

I did some experimentation with my Wine package.  Here's the filesize of
the latest .deb passing different options to dpkg-deb:

11081456 default
10090930 bzip2
7682608 lzma

That's over a 30% reduction in bandwidth for me and my humble third
party repository.

I've heard that lzma will be included by default in main for Hardy.
This is a very good idea.  Changing package build scripts to manually
pass lzma compression using dh_builddeb -- -Z lzma would be very
tedious, however.  In IRC pitti proposed that we do this centrally -
changing the default of dpkg-deb (currently gzip) seems to be the best
place for this.


Scott Ritchie

More information about the Ubuntu-devel-discuss mailing list