debdelta integration / zsync support

Bug #21837 reported by andrewpmk on 2005-09-17
138
This bug affects 22 people
Affects Status Importance Assigned to Milestone
APT
Fix Released
Unknown
apt (Baltix)
Undecided
Unassigned
apt (Ubuntu)
Wishlist
Unassigned
Declined for Intrepid by Brian Murray

Bug Description

Ubuntu should, like Mandrake 10.2, Firefox 1.5 and Windows, update packages
using binary patches instead of by re-downloading entire packages. This would be
especially helpful when running beta versions of software which change daily.

Matt Zimmerman (mdz) on 2006-01-19
Changed in apt:
assignee: mdz → mvo
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

There are various way to do this discussed currently. The most promissing approaches currently are using https://wiki.ubuntu.com/APTPackageDeltas and zsync. I personally think zsync is the way forward, but it needs to be able to deal with deb packages first.

Daniel Hahler (blueyed) on 2007-12-13
Changed in apt:
status: New → Triaged
Stéphane Maniaci (stephh) wrote :

This "bug" is still present in Hardy. Made a fresh install of Hardy yesterday : had to download 180Mo of update. How much would binary update decrease size ? Lowering the update size to ~10 Mo ? This is a __very__ interesting feature.

Stéphane Maniaci (stephh) wrote :

Apt-sync should do the trick : https://wiki.ubuntu.com/apt-sync

kojot (kojot350-tlen) wrote :

Can anyone tell me why this is still unimplemented? It's 2 years now... :F

Adam Porter (alphapapa) wrote :

It's really a shame that Ubuntu still doesn't have this feature. Debian at least has apt indexes, which saves a lot of time updating the package lists. Just think about the poor users all over the world on low-bandwidth connections. Please make this a higher priority and get it implemented soon.

Jean-Paul (jeanpaul145) wrote :

It would fit well with the "goals" already set for Jaunty (that is, fast boot times, faster system performance, blurring of the line between off- and online apps).

Only, I don't think that a binary diff will work (especially not for people like me who don't have all the hard disk space in the world, and consequently remove all the cached packages. I'd rather redownload 100 MB than filling up my hdd).

Jan Niklas Hasse (jhasse) wrote :

I thought that the binary patches are for the actually installed files in /usr, so that the cache isn't needed at all.

Jairaj (ursjai) wrote :

fedora is working on a similar project https://hosted.fedoraproject.org/presto
This doesn't require you to have a cache of the downloaded rpms but just the installed files.

Jean-Paul (jeanpaul145) wrote :

If the diffs are for the installed files, then I don't see why that wouldn't work.
However, it seems that Fedora's Presto utilizes an rpm utility, which is making me doubt if it is flexible enough to adapt it to deb without rewriting major parts of the code.
If it isn't flexible enough, there might as well be a new project, one that perhaps *is* flexible enough to work with multiple package management systems.

Michael Vogt (mvo) on 2009-06-09
Changed in apt (Ubuntu):
assignee: Michael Vogt (mvo) → nobody
status: Triaged → Confirmed
LoonyPhoenix (loonyphoenix) wrote :

Could Google's Courgette be used here?

http://blog.chromium.org/2009/07/smaller-is-faster-and-safer-too.html

As far as I understand, it would be applicable here, no?

Doesn't debdelta[1] just do that?

[1] http://packages.ubuntu.com/lucid/debdelta

Julian Andres Klode (juliank) wrote :

Retitled, so it can be found when searching for the common keywords.

summary: - Binary patch updating
+ debdelta integration / zsync support
Gabe Gorelick (gabegorelick) wrote :

https://wiki.ubuntu.com/SmallerUpdates gives a lot of (outdated?) information on this.

This problem is even more serious now that Ubuntu is pushing paid apps like games through the Software Store. Downloading a 4 GB game for a simple bug fix is not pleasant.

Changed in apt:
status: Unknown → Fix Released
Changed in apt (Baltix):
status: New → Invalid
Changed in apt (Baltix):
status: Invalid → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.