24

The context here is the Oneric development ISO. I don't want to have to re-download this every time something changes. I notice that there's a .zsync file in the download directory. From what I know, this should let me update only the chunks that have changed, saving a ton of bandwidth.

The only problem is, I don't have a clue what I'm doing :) Could somebody push me in the right direction to keep oneiric-desktop-amd64.iso up to date?

Oli
  • 299,380

2 Answers2

23

Turns out I was being dense. A correct Googling and I found my answer on the Ubuntu Wiki. All I need to run is:

zsync http://cdimage.ubuntu.com/daily-live/current/oneiric-desktop-amd64.iso.zsync

I should point out that my previously-downloaded ISO is in the same path as this.

It downloaded the zsync file, checked it against my ISO and updated it to the latest version, 162MB spent. Bargain.

Oli
  • 299,380
4

Testing daily builds with bandwidth caps, I started trying to figure out how to go about this. Oli's posted technique led a response of "No relevent local data found - I will be downloading the whole file."

This is what I had to do to tell zsync to look for the right iso to build off of.

zsync -i /path/to/old/trusty-desktop-amd64.iso  http://cdimage.ubuntu.com/ubuntu-gnome/daily-live/current/trusty-desktop-amd64.iso.zsync

I hope this helps someone else.