Hi all,

Just thought of posting this (in case someone might be interested).

Debian has a neat package/mechanism called debdelta where upgrades are
handled by downloading only the differences between versions. This
provides major bandwidth savings. Just to make it clear, I am giving
below the figures for one such session of upgrade.

This has been done my machine running debian testing+unstable. Not sure
if it is available on lenny. Anyway, what is there to upgrade in a
stable as rock version (other than security)? :-)

The process of using it is quite simple :

* Install debdelta

* run apt-get update

* run debdelta-upgrade
    This downloads the deltas, patches the old ones and keeps them in
    /var/cache/apt/archives

* run apt-get upgrade

Here are the savings I mentioned:

* apt-get update

* apt-get upgrade
    ....
    Need to get 118MB of archives.
    ...

* debdelta-upgrade -v
    ...
    Delta-upgrade statistics:
     download deltas size 15.9M time 291sec speed 54.5k/sec
     patching to debs size 107M time 236sec speed 452k/sec
     download debs size 911k time 18sec speed 48.4k/sec
     total resulting debs size 108M time 317sec virtual speed: 340k/sec

  Some deltas were not available so

* apt-get upgrade
    ...
    Need to get 18.3MB/118MB of archives
    ...

So, in all I had download just 15.9+18.3=34.2 M of stuff. That is a
massive 72% savings on my bandwidth, time, money whatever :-)

Those running debian testing/unstable, can give it a try.

BTW, ubuntu has debdelta package in its repo, but does not provide
deltas for download. Correct me if I am wrong.

HAND,

Regards,

--
Sridhar M.A.

-- 
You received this message because you are subscribed to the Google Groups 
"MyLUG" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mylug?hl=en.

Reply via email to