Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
Related (but not a duplicate): How to identify and replace broken files in a corrupted Ubuntu ISO? –  Eliah Kagan Mar 27 at 6:48
add comment

2 Answers 2

up vote 13 down vote accepted

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.

share|improve this answer
add comment

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.

share|improve this answer
1  
zsync replaces your old ISO with the new one. (It does back up the old ISO... but when you run it again, the newer backup replaces the old.) So by default it assumes the old file is located where you're telling it to download. You can use the -i flag to specify the old file (you can even use it more than once and source from multiple files) or, assuming you want to replace the old file, you can simply make sure you're in the directory that contains it (cd /path/to/old/trusty-desktop-amd64.iso) or move it to the current directory where you wish to download. –  Eliah Kagan Mar 27 at 6:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.