<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Delta (patch based) updates]]></title>
    <link>http://brainstorm.ubuntu.com/item/13/</link>
    <description><![CDATA[Summary:<br />Ability to download only changed bits of files and use much less bandwidth.<br />Scope and Use Cases:<br />Ann has slow internet connection. She sees that there are 150MB of updates and decides not to update at all leaving her with vulnerable and buggy system.<br />Implementation Plan:<br />Adopt it from Debian?<br /><br />Previously discussed here, but still not implemented: http://ubuntuforums.org/showthread.php?t=409916<br />
<br />


<b>[1766 votes] Solution #1: Auto-generated solution of idea #13</b>
<br />

<br />
<br />



<b>[85 votes] Solution #2: develop DEBs similar to deltaRPMs</b>
<br />

<br />
<br />



<b>[2 votes] Solution #3: 'dar' archives in deb packages</b>
<br />

<br />
<br />



<b>[2 votes] Solution #4: Download a diff and apply it to an old package file.</b>
<br />

<br />
<br />



<b>[1 votes] Solution #5: Copy/adapt the update method from Foresight</b>
<br />

<br />
<br />



<b>[2 votes] Solution #6: Use rsync to transport update-files</b>
<br />

<br />
<br />



]]></description>

    <language>en-us</language>
    <pubDate>Thu, 28 Feb 2008 14:31:54 +0000</pubDate>
    <lastBuildDate>Sat, 09 Jul 2011 02:34:12 +0000</lastBuildDate>
    <generator>QAPoll module</generator>
    <guid isPermaLink="true">http://brainstorm.ubuntu.com/idea/13/</guid>
        <item>
  <title>Comment from ravirdv</title>
  <description><![CDATA[its not my idea just i've submitted]]></description>
  <pubDate>Thu, 28 Feb 2008 14:32:55 +0000</pubDate>
</item>
        <item>
  <title>Comment from exosyst</title>
  <description><![CDATA[I think one of the Debian guys was working on this system a few years back. It would be a fantastic addition. I think most of the other OS players use something similar.]]></description>
  <pubDate>Thu, 28 Feb 2008 17:59:44 +0000</pubDate>
</item>
        <item>
  <title>Comment from llevering</title>
  <description><![CDATA[It's not just download time, but a lot of pepole around the globe still have a download limit. Currently a lot of South African providers have limit between 2gb to 6gb. If more 10% of your download goes to updates, you really think about skipping them.]]></description>
  <pubDate>Thu, 28 Feb 2008 19:12:11 +0000</pubDate>
</item>
        <item>
  <title>Comment from blindvic</title>
  <description><![CDATA[Sure, and it would be very good to have an intuitive and easy way for offline update. Sometimes you don't have Internet at all, and you cannot even make a package database update...<br />I think of this: Synaptic generates a Python script. Running the script on other machine with Internet access (Windows with  OpenOffice with built-in Python; or other Linux machine with Python installed) would download all needed packages into a singles direcotry. Than you just show this directory to Synaptic and it installs the packages, and also updates the package database information.]]></description>
  <pubDate>Thu, 28 Feb 2008 20:12:17 +0000</pubDate>
</item>
        <item>
  <title>Comment from lifeless85</title>
  <description><![CDATA[i think this is really usefull for everyone, and i also think that there should be an option to use p2p tecnlogy (like kadmelia or whatelse) to get those delta updates.]]></description>
  <pubDate>Fri, 29 Feb 2008 00:32:43 +0000</pubDate>
</item>
        <item>
  <title>Comment from lil_kreen</title>
  <description><![CDATA[Perhaps rather than a diff between version X and version Y this would be a better use for Par2 which can use any repair block to fill in any other block of changed data. (And par3 whenever it comes out)<br /><br />If disk space on the server isn't too much an issue it could work like so:<br />1) make a 100% par2 set on the patch server (this is faster in an extreme fashion with par3 (100x), par2 also has a limitation of 32767 blocks where par3 would have one much higher. Given patches I see tend to top-end at the hundreds of MB this probably wouldn't be a concern in block-size.)<br /><br />2) Retrieve .par2 from patch server  <br /><br />3) Run .par2 against a script-given directory (directories would need to be implemented)<br /><br />4) request as many blocks as are needed to repair all blocks of 'damage' (this process of repair would be faster with par3 in some situations)<br /><br />As long as the tool being patched isn't intolerant of being reset completely to default any version could be reverted to any other version currently stored on the patch server. I imagine it wouldn't be terribly impossible to script something to handle the reverse direction if necessary to revert something everywhere at once in userland.<br /><br />It's worth noting that tampering with the par2 data breaks the math function and will fail the repair. I suppose one could alter the par2 data entirely but it would require re-paring the entire set as no one repair block has any direct bearing on a particular section of data. though it's not exactly hard to find a hash that would work if the security folks want to be paranoid. (Which they probably would to detect tampering before the parity process. heh)<br /><br />I'm no OS coder but that's my two cents on the matter of improved choice of patch algorithm.]]></description>
  <pubDate>Fri, 29 Feb 2008 02:46:23 +0000</pubDate>
</item>
        <item>
  <title>Comment from carlinuxlearner</title>
  <description><![CDATA[This is an EXCELLENT idea!]]></description>
  <pubDate>Fri, 29 Feb 2008 02:57:41 +0000</pubDate>
</item>
        <item>
  <title>Comment from panda84</title>
  <description><![CDATA[Also discussed in this bug report:<br />https://bugs.launchpad.net/ubuntu/+bug/190926]]></description>
  <pubDate>Fri, 29 Feb 2008 09:50:49 +0000</pubDate>
</item>
        <item>
  <title>Comment from Agafonov</title>
  <description><![CDATA[If implemented, it will be great boost for Ubuntu success over the many counties around.<br />Russia is one of examples: we still have very limited access to the Internet over the country. Slow and expensive.<br /><br />Delta updates will save money, time and server resources.]]></description>
  <pubDate>Fri, 29 Feb 2008 11:00:57 +0000</pubDate>
</item>
        <item>
  <title>Comment from Agafonov</title>
  <description><![CDATA[I was testing...<br />Unpacking previous and updated debs and performing bsdiff on files show differences about 1% of package size or less for larger ones!!!<br />One of previous minor updates of OOo (~100 MiB or such), turns in 10-20 KiB of binary diff. This could be fantastic savings...]]></description>
  <pubDate>Fri, 29 Feb 2008 11:11:57 +0000</pubDate>
</item>
        <item>
  <title>Comment from deepclutch</title>
  <description><![CDATA[Hrmm..the idea is excellent many(most?) of the Linux users comes from India and other places where Internet speed and BW is a big reason reg apt updates.<br /><br />BTW,Ubuntu got these vast resources,then why cant they use conary package manager used in Foresight Linux etc?AFAIK Conary can update using the changed file portions etc :)]]></description>
  <pubDate>Fri, 29 Feb 2008 13:51:25 +0000</pubDate>
</item>
        <item>
  <title>Comment from Wouter.de.Groot</title>
  <description><![CDATA[One thing I will NOT tolerate is Windows-style annoyances like having to update a particular program 3 times in seperate sessions, instead of handing me the most up-to-date version at once. (Bonus irritation points for forcing reboot between these 'old' patches, too)]]></description>
  <pubDate>Fri, 29 Feb 2008 14:05:41 +0000</pubDate>
</item>
        <item>
  <title>Comment from brettalton</title>
  <description><![CDATA[Geez, I actually told people that this was a benefit of Ubuntu, thinking it was already implemented. I thought APT/.deb would read a patch file between it's current install and the new download and then only download those lines.<br /><br />Ex: OpenOffice doesn't re-download it's 100MB install, rather only the changed code.<br /><br />+1]]></description>
  <pubDate>Fri, 29 Feb 2008 16:10:05 +0000</pubDate>
</item>
        <item>
  <title>Comment from luna-tick</title>
  <description><![CDATA[See https://wiki.ubuntu.com/apt-sync]]></description>
  <pubDate>Sat, 01 Mar 2008 03:30:18 +0000</pubDate>
</item>
        <item>
  <title>Comment from agnathan</title>
  <description><![CDATA[In addition to the cool factor, there is a strong business case to implement delta updates.<br /><br />Firstly, one of Linux's best growth opportunities has been in 3rd world countries, many of which have much less access to the Internet or it's more costly.  Automatic delta based updates would drive adoption in these areas.<br />I already saw South Africa and Russia mentioned in the comments above.<br /><br />Secondly and most obviously, it cuts down on bandwidth at Canonical.<br /><br />Thirdly, it cuts down on bandwidth chez moi.<br /><br />Fourthly, since delta base updates require the end user to store file on their side, it makes it more practical if Canonical or end users wanted to distribute updates over P2P.<br /><br />You could imagine other senarios also, such as bandwidth savings for corporate install servers.<br /><br />etc...  <br />]]></description>
  <pubDate>Sat, 01 Mar 2008 07:19:14 +0000</pubDate>
</item>
        <item>
  <title>Comment from Yorick</title>
  <description><![CDATA[I thought there were some interesting legal issues around some kinds of delta patching.<br /><br />I remember an MMORPG project I was involved with a while back that decided to do it regardless because of the efficiency, but someone (Microsoft, I think) had the idea patented with the Windows Update jazz.<br /><br />I'm not really sure if this is the case/has changed, but it's worth double checking. Software patents are a pain.]]></description>
  <pubDate>Sat, 01 Mar 2008 13:42:32 +0000</pubDate>
</item>
        <item>
  <title>Comment from Jadd</title>
  <description><![CDATA[Yes! I'm fed up of downloading 70MB for minor changes.]]></description>
  <pubDate>Sat, 01 Mar 2008 15:24:15 +0000</pubDate>
</item>
        <item>
  <title>Comment from sniffy</title>
  <description><![CDATA[That's what i miss in ubuntu too. Sometimes i can only use a dialup modem connections to get into the net. Delta patches would be the best solution for me to keep my system up to date.<br /><br />By the way: the fact that SuSE had this feature and ubuntu hasn't was the reason why i waited so long to switch to ubuntu. But now i'm very happy with it...]]></description>
  <pubDate>Sat, 01 Mar 2008 15:40:25 +0000</pubDate>
</item>
        <item>
  <title>Comment from marcelhb</title>
  <description><![CDATA[The best idea on brainstorm. It'll affect everybody saving bandwith, and will be a life-changing for users from South America, Africa, and so on...<br />I can't even imagine a single reason to reject this idea.]]></description>
  <pubDate>Sat, 01 Mar 2008 17:53:20 +0000</pubDate>
</item>
        <item>
  <title>Comment from jacobuserasmus</title>
  <description><![CDATA[Great idea and actually not that hard to implement.<br /><br />Did some testing on my own on packages like wine where there is currently a lot of development you only save a about 50% bandwidth.<br /><br />But on packages like the Linux kernel and libc updates I was able to update from the original release to the current release in about 10seconds for libc and 12s for the kernel using standard ASL line.]]></description>
  <pubDate>Mon, 03 Mar 2008 07:13:13 +0000</pubDate>
</item>
        <item>
  <title>Comment from Treviño</title>
  <description><![CDATA[I had this idea too years ago, but I never searched for it... <br />I'm happy to read and vote for this!]]></description>
  <pubDate>Mon, 03 Mar 2008 14:24:23 +0000</pubDate>
</item>
        <item>
  <title>Comment from masterpi</title>
  <description><![CDATA[On my system it takes longer to install the updates than to download them, since I'm at college and have a local high-speed mirror available.  I think a lot of the files are just being overwritten with copies of themselves, however so Delta installation as well as downloading would be nice.]]></description>
  <pubDate>Mon, 10 Mar 2008 15:40:15 +0000</pubDate>
</item>
        <item>
  <title>Comment from ravirdv</title>
  <description><![CDATA[in India we have 2mbps connections but bandwidth is limited so if this idea is implemented then it would be gr8 :)]]></description>
  <pubDate>Thu, 13 Mar 2008 12:33:17 +0000</pubDate>
</item>
        <item>
  <title>Comment from vijaym</title>
  <description><![CDATA[I like the idea of incremental updates. We have a cap on bandwidth and installing a totally new version of for instance openoffice just for a minor update seems a bit of a waste.<br />]]></description>
  <pubDate>Wed, 02 Apr 2008 16:05:56 +0000</pubDate>
</item>
        <item>
  <title>Comment from Phyrexicaid</title>
  <description><![CDATA[Perfect for South Africa, we have very restricted internet in terms of bandwidth.  It is expensive.  One of the features that openSUSE has (delta RPM's) that I wish ubuntu had.]]></description>
  <pubDate>Thu, 24 Apr 2008 08:07:19 +0000</pubDate>
</item>
        <item>
  <title>Comment from fordplay</title>
  <description><![CDATA[Could the updates be downloaded through bittorent and http at the same time in a similar way to 'world of warcrafts' updater?]]></description>
  <pubDate>Tue, 06 May 2008 15:14:25 +0000</pubDate>
</item>
        <item>
  <title>Comment from Auzy</title>
  <description><![CDATA[This is an excellent idea, and fixes the core problem of many recent ideas, as well as lessening the impact of some problems (such as servers being slow during upgrade time)<br /><br />People complaining that their internet is slow whilst downloading updates for instance, would be a lot happier automatically if they only had to download 3MB instead of 50MB<br /><br /><br />+1. <br /><br /><br />]]></description>
  <pubDate>Sun, 08 Jun 2008 14:48:22 +0000</pubDate>
</item>
        <item>
  <title>Comment from slashdotaccount</title>
  <description><![CDATA[debdelta exists in Debian and works for years.]]></description>
  <pubDate>Wed, 18 Jun 2008 18:38:54 +0000</pubDate>
</item>
        <item>
  <title>Comment from wes.turner</title>
  <description><![CDATA[Cross-posting from the https://wiki.ubuntu.com/apt-sync page..<br /><br />http://samba.anu.edu.au/rsync/rsync-and-debian/rsync-and-debian.html<br /><br />What about precomputing file-grained checksums in the build farm?]]></description>
  <pubDate>Mon, 23 Jun 2008 10:14:19 +0000</pubDate>
</item>
        <item>
  <title>Comment from chipbennett</title>
  <description><![CDATA[Today's 89MB update download seems to be a perfect example of the opportunity this idea represents...]]></description>
  <pubDate>Wed, 02 Jul 2008 16:59:57 +0000</pubDate>
</item>
        <item>
  <title>Comment from pbhj</title>
  <description><![CDATA[Personally I think their are 2 separate issues here.<br /><br />1) updates for features that are not relevant<br />2) minor updates for features that are relevant (eg developer versions being tested)<br /><br />In the case of (1) the problem could also be addressed by doing greater system profiling and only updating for systems that will benefit. eg in the linked #11000 idea the complaint is that "* Fix broadcom Makefile" produces a large download and the user doesn't have any broadcom stuff. So if the package management system were cleverer it would know not to download that upgrade because the system has no broadcom hardware. <br /><br />This is a substantially larger alteration than that needed for (2), namely the previously widely touted binary diff/patch.]]></description>
  <pubDate>Mon, 04 Aug 2008 15:18:22 +0000</pubDate>
</item>
        <item>
  <title>Comment from Kojot 350</title>
  <description><![CDATA[I don't understand why this is still unimplemented?! Are we being ignored? It's on launchpad and ubuntu forum for like 2 years now?! I don't believe it's so hard to implement.<br /><br />Any ideas, how to make it happen?]]></description>
  <pubDate>Sat, 13 Sep 2008 11:59:31 +0000</pubDate>
</item>
        <item>
  <title>Comment from Kojot 350</title>
  <description><![CDATA[DIGG! <br />http://digg.com/linux_unix/Ubuntu_Delta_patch_based_updates?OTC-fft-4]]></description>
  <pubDate>Sat, 13 Sep 2008 12:01:30 +0000</pubDate>
</item>
        <item>
  <title>Comment from Auzy</title>
  <description><![CDATA[Digging it wont add credence to the idea. At 1000 votes here, it should be accepted or denied anyway. <br /><br />]]></description>
  <pubDate>Sat, 13 Sep 2008 12:19:17 +0000</pubDate>
</item>
        <item>
  <title>Comment from jeanpaul145</title>
  <description><![CDATA[Even though I like this idea, I think that getting it to work will be tricky since it would have to be changed upstream as well (as in, with Debian and other Debian-based distro's). And getting that through will take time, patience, blood, sweat, a sore throat (interpret that however you like ;) and coding skills.]]></description>
  <pubDate>Wed, 08 Oct 2008 12:59:03 +0000</pubDate>
</item>
        <item>
  <title>Comment from Auzy</title>
  <description><![CDATA[I dont think so Jeanpaul. <br /><br />Someone designed a delta system for Gentoo that worked automatically. You'd use a special server set up that would mirror the updates, it would work out the diff and only submit the changes between the cached copy of it on your own machine (it only worked when you had a previous downloaded copy). And it would cache the diff. <br /><br />With Ubuntu its even easier, because updates get released on gentoo faster then you can compile the last version. ]]></description>
  <pubDate>Wed, 08 Oct 2008 13:08:08 +0000</pubDate>
</item>
        <item>
  <title>Comment from HaydenMicallef</title>
  <description><![CDATA[I know a guy that's working on it now. He tells me that it's hard work trying to get it working.<br /><br />With a bit of patience, we'll get this idea implemented.<br />(In the meantime, vote +1 on this idea)]]></description>
  <pubDate>Sat, 11 Oct 2008 08:25:42 +0000</pubDate>
</item>
        <item>
  <title>Comment from Auzy</title>
  <description><![CDATA[Hayden, apparently there already is one that exists anyway (debdelta)]]></description>
  <pubDate>Sat, 11 Oct 2008 08:56:35 +0000</pubDate>
</item>
        <item>
  <title>Comment from Endolith</title>
  <description><![CDATA[Why hasn't this been implemented yet?  It would save Canonical so much money on servers...]]></description>
  <pubDate>Fri, 17 Oct 2008 02:15:26 +0000</pubDate>
</item>
        <item>
  <title>Comment from neomenlo</title>
  <description><![CDATA[A friend recently pointed out to me that there are pretty much only 2 kinds of people: those that update their computers regularly/daily, and those who never update. <br /><br />Patches would be great for those who update regularly, but full package updates can be used if the user is more than 1-3 version updates behind.<br /><br />4 consecutive patches is less bandwidth effective.]]></description>
  <pubDate>Wed, 12 Nov 2008 15:04:37 +0000</pubDate>
</item>
        <item>
  <title>Comment from lifestream</title>
  <description><![CDATA[$ date<br />Mon Nov 17 21:44:05 EST 2008<br /><br /><br />$ sudo apt-get install gnome-backgrounds <br />The following NEW packages will be installed:<br />  gnome-backgrounds<br />0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />Need to get 9782kB of archives.<br />.........................................<br />Setting up gnome-backgrounds (2.24.0-0ubuntu1) ...<br /><br /><br />$ date<br />Mon Nov 17 22:31:48 EST 2008<br /><br /><br /><br />Enough said.<br />]]></description>
  <pubDate>Tue, 18 Nov 2008 03:33:44 +0000</pubDate>
</item>
        <item>
  <title>Comment from ravirdv</title>
  <description><![CDATA[we need this!!]]></description>
  <pubDate>Tue, 09 Dec 2008 09:49:17 +0000</pubDate>
</item>
        <item>
  <title>Comment from shirish</title>
  <description><![CDATA[put it up as a blog post at http://flossexperiences.wordpress.com/2008/12/19/better-package-management/]]></description>
  <pubDate>Fri, 19 Dec 2008 05:56:02 +0000</pubDate>
</item>
        <item>
  <title>Comment from pHzero</title>
  <description><![CDATA[The benefits would be negligible. DPKG distributes binaries. You cant write a patch for binaries.]]></description>
  <pubDate>Sun, 28 Dec 2008 18:38:39 +0000</pubDate>
</item>
        <item>
  <title>Comment from borsook</title>
  <description><![CDATA[@pHzero "You cant write a patch for binaries." - were did you get this? Of course you can, in the old days all the game patches were done like this.]]></description>
  <pubDate>Sun, 28 Dec 2008 19:41:10 +0000</pubDate>
</item>
        <item>
  <title>Comment from Endolith</title>
  <description><![CDATA[<i>You cant write a patch for binaries. </i><br /><br />Of course you can.  <br /><br />Besides, the packages are not binaries; they are a <i>collection</i> of many binary files.  In most upgrades, many of these files are not changed, so even a diff that includes only the changed files would be an improvement.]]></description>
  <pubDate>Mon, 29 Dec 2008 21:46:53 +0000</pubDate>
</item>
        <item>
  <title>Comment from andrewpmk</title>
  <description><![CDATA[This is even more important now that Fedora 11 is getting this feature.]]></description>
  <pubDate>Wed, 14 Jan 2009 23:16:32 +0000</pubDate>
</item>
        <item>
  <title>Comment from Agafonov</title>
  <description><![CDATA[This feature must be definitely implemented in mainstream as default behavior of update system and not as third-party solution.]]></description>
  <pubDate>Thu, 02 Apr 2009 09:11:22 +0000</pubDate>
</item>
        <item>
  <title>Comment from Oli</title>
  <description><![CDATA[I want this so much. <br /><br />I've got about 900 megs of games installed from Synaptic. I'd love the updates to be patch-based so I'm not downloading 600megs of duplicate fluff every release cycle!!<br /><br />And just think how much easier it would be on the mirrors.]]></description>
  <pubDate>Fri, 12 Jun 2009 18:31:39 +0000</pubDate>
</item>
        <item>
  <title>Comment from Endolith</title>
  <description><![CDATA[Hey, I know!  We should create ANOTHER package distribution format for distributing delta updates.  Having two competing formats just isn't enough.  Linux is about choice, right?]]></description>
  <pubDate>Fri, 12 Jun 2009 21:13:35 +0000</pubDate>
</item>
        <item>
  <title>Comment from DoDoENT</title>
  <description><![CDATA[I'm using both Fedora and Kubuntu and have just updated my Fedora while using presto yum plugin. It downloaded 1.9 MiB of deltas instead of 49 MiB of full updates which is a 96% bandwidth saving. This was the biggest saving I've ever encoutered - ususally it's about 80-85%.<br /><br />It would be great if I could update my Kubuntu in the same way I upgraded my Fedora, especially because my Kubuntu is behind a slower connection to the Internet with the monthly bandwith limit of 1 GiB.]]></description>
  <pubDate>Sun, 09 Aug 2009 11:24:46 +0000</pubDate>
</item>
        <item>
  <title>Comment from shirish</title>
  <description><![CDATA[Hi all, <br /> There has/had been some discussion on this topic sometime back. Please refer to thread https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2009-August/009201.html as well as a blog entry written sometime earlier by yours truly on the same subject. <br /><br />http://flossexperiences.wordpress.com/2008/12/19/better-package-management/]]></description>
  <pubDate>Fri, 23 Oct 2009 19:32:44 +0000</pubDate>
</item>
        <item>
  <title>Comment from aeroncastle</title>
  <description><![CDATA[I can't even imagine a single reason to reject this idea.]]></description>
  <pubDate>Sat, 24 Oct 2009 09:49:47 +0000</pubDate>
</item>
        <item>
  <title>Comment from esdaniel</title>
  <description><![CDATA[Check out Presto on Fedora if you want to study other code doing this, albeit with rpms and Yum.]]></description>
  <pubDate>Mon, 21 Dec 2009 21:28:54 +0000</pubDate>
</item>
        <item>
  <title>Comment from cheesehead</title>
  <description><![CDATA[In Progress for 11.10: https://blueprints.launchpad.net/ubuntu/+spec/foundations-o-debdelta<br />Status: http://status.ubuntu.com/ubuntu-oneiric/u/mvo.html]]></description>
  <pubDate>Sat, 09 Jul 2011 02:34:12 +0000</pubDate>
</item>
      </channel>
</rss>

