Compressing packages with bzip2 instead gzip?

Matt Zimmerman mdz at
Wed Jan 4 03:42:00 GMT 2006

On Fri, Dec 09, 2005 at 03:36:06PM -0200, Carlos Ribeiro wrote:
> An idea: the compression tests could be done automatically by a 'repacking'
> script on the central repository. It's a computationally intensive task, but
> it could be done in the background. The script would do the following:
> -- get the original .deb
> -- repack the components with a number of different tools
> -- select the smallest ones
> -- generate a new deb file

It's not feasible to replace .debs once they've been published in the
archive.  The way to do this would be to perform the test during the package
build, choose the best compression method, and then cache the result for
future builds.

 - mdz

More information about the ubuntu-devel mailing list