Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #6865: Use binary patches for updates.

bug This idea is a duplicate of Idea #13: Delta (patch based) updates.
Written by ethana2 the 11 Apr 08 at 23:05. Category: System. Related project: Nothing/Others. Status: New
Rationale
I am aware that diff is not built to handle binary code. It can be left alone, but a binary diff calculation system also needs to be created. We could call it 'bindiff'. Here's how updates should work.
Let's say you have whatever-1ubuntu1, and the newest version in repos is whatever-1ubuntu2. For any single step, a binary differential should be calculated and a patch should be available. It may also be a good idea to have patches than span two iterations.
..So, to upgrade from whatever-1ubuntu1 to 2, I should only have to download whatever-1diff2.deb, not whatever-1ubuntu2.deb

All currently installed packages have .deb files on the local machine-- upon downloading a diff deb, the files should be replicated, patched, and checksummed. If the checksum matches the next version, the packages have been successfully patched, the version is set correctly, and the package is upgraded using it.

Right now, one has to download fractions of a GB right after installing to get machines up to date, and this is atrocious. And those poor people with ISP's that give them data limits of x GB in a month? What's that, everyone in the UK? I think they just might appreciate this.

"If you want to get the most out of your internet connection, you'd better use Ubuntu!"

6
votes
closed
Solution #1: Auto-generated solution of idea #6865
Written by ethana2 the 11 Apr 08 at 23:05.
Ubuntu Brainstorm was updated in January 2009. Since the idea #6865 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Auzy wrote on the 12 Apr 08 at 02:58
Dupe http://brainstorm.ubuntu.com/idea/13/

vexorian wrote on the 12 Apr 08 at 03:21
You could just... order a CD for the newest release and do an update with it. No bandwidth spent.


vexorian wrote on the 12 Apr 08 at 03:22
ah +0 btw.

Auzy wrote on the 12 Apr 08 at 09:30
I think this is good, because it saves bandwidth for the ubuntu mirrors, and here in aus, we are generally capped by total downloads per month. I shouldn't have to download 25mb worth of openoffice when only 1 or do minor changes were made to file filters in it for instance (so the delta may only be 5mb).

And the code to do it I think has already probably been written.


ethana2 wrote on the 12 Apr 08 at 20:56
Why didn't it see that other idea when it looked for duplicates? Well, no matter.

Wow. Idea #13. Sorry about that folks.
my +1 to 846 for idea 13.


Post your comment