Binary diffs for deb files

Matt Zimmerman mdz at ubuntu.com
Tue May 2 04:15:50 BST 2006


On Tue, May 02, 2006 at 03:53:30AM +0100, James Hall wrote:
> On Mon, 2006-05-01 at 19:45 -0700, Matt Zimmerman wrote:
> 
> > zsync seems to be the most promising solution to this class of problems.
> 
> The deb file needs to be decompressed then put together again since
> doing binary diffs on gzip'ed files make very large diffs. Usually as
> large as the file itself - making the diff completely pointless. Zsync
> on compressed deb's would save no bandwidth.
> 
> I wonder if there is a way of making the checksums match...

Take a look at zsync; it is supposed to work with compressed files by
calculating its delta based on the uncompressed contents.

-- 
 - mdz



More information about the ubuntu-devel mailing list