Compressing packages with bzip2 instead gzip?

Paul Sladen ubuntu at
Wed Jan 18 15:20:21 GMT 2006

On Mon, 16 Jan 2006, Phillip Susi wrote:
> I believe it already does do gzip -9.  How would this make "tricks like 
> debdiff" easier?

dpkg-deb uses zlib directly; it can end up passing different blocks than
gzip would produce;  therefore creating a different output stream, even if
the uncompressed data is indentical.

This is like using 'pkzip' or 'gzip';  The low-level internal algorithm is
the same and the end result indentical, but the encoding may differ.

This country is covered in white fluffy snow.  Helsinki, FI

More information about the ubuntu-devel mailing list