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.

I thought I'd start having a look at 12.04. Since the image is going to change a lot in the near future, I thought it would be wise to use jigit. As I recall, it only downloads things that have changed since the last time?

I installed the package "jigit". Now what? It doesn't provide a jigit command.

share|improve this question
add comment

3 Answers 3

up vote 7 down vote accepted

This isn't an answer how to use jigit, but I think you're using the wrong tool for the job here.

jigdo (and it's associated tools like jigit) is useful to people who have an Ubuntu mirror handy and want to assemble an ISO out of that archive. I've done this and it's kind of annoying, it's more a tool for people who run archives and want to make it available to jigdo users.

It sounds like you want to save bandwidth and so you don't have to redownload things in the ISO. The end user tool you want to use for that is zsync. In the ISO directory of ubuntu releases (and mirrors) you will find a .zsync file that you can use to keep your ISO up to date. You use it like this:

zsync http://cdimages.ubuntu.com/daily/current/precise-alternate-amd64.iso.zsync

Will keep an up to date ISO of the alternate installer for precise for you. The next day you just run that again and it will sync just the differences between the 2 ISOs.

The testing tool testdrive is a convenient tool for testing development releases in a VM; it has built in support for zsync downloading. You can use testdrive to make getting the ISOs easier.

It has downloading functionality built in, which will ask you which ISO you want and then keep an updated copy for you in ~/.cache/testdrive/iso, and the GTK gui will automatically notify you when new ISOs are available or you can just use the command line version.

share|improve this answer
1  
In the daily image page I see both .jigdo and .zsync files, so I guess you can use any of them if you like. This answer can be useful for further information about both tools. –  jcollado Nov 28 '11 at 23:30
    
Your answer was very much correct. It was my answer that was wrong. Thanks. :) –  Jo-Erlend Schinstad Nov 29 '11 at 0:05
    
@Jo-ErlendSchinstad Perhaps reword your title to be something more like what you want just in case someone really wants to know how to actually use jigit and wants to ask that question. (That will make it easier for people to find in the future too) –  Jorge Castro Nov 29 '11 at 0:09
add comment

If you install the jigit package, it should provide the jigit command, which you can use in accordance with the instructions on the jigit manpage. This is a reasonable way to create an Ubuntu .iso image when you already have many of the package files that go into it, which would ordinarily only be the case (starting out) if you were running the same release that you're trying to make an .iso for.

You should probably not use jigit for testing Precise, for two reasons:

  1. Part of what's valuable about testing is to test is the specific, official daily-live .iso images that have been created. These eventually lead to the numbered alpha and beta images and ultimately to the release image, so testing them specifically is good.

  2. There is already a mechanism in place for avoiding excessive downloading of duplicate data. The daily-live .iso images support zsync. For example, if you want the Precise i386 daily-live .iso image, you can run:

    zsync http://cdimage.ubuntu.com/daily-live/current/precise-desktop-i386.iso.zsync

    The first time you run that, it will just download the whole thing. Subsequent runs will download only what is necessary to bring the .iso image you have up to the latest .iso image that has been released.

    You should be aware that while the daily-live is the latest Precise image most of the time, it is not the latest all of the time. When a numbered alpha or beta release has just come out, it is the latest, and daily-lives are often suspended for several days following such a release, so it is important to use the numbered alpha or beta whenever there is no daily-live that is more recent. If the numbered alpha or beta image has a .zsync file of its own then you could rename the daily-live .iso you have so its name is the same as the numbered alpha or beta .iso, then zync up to the numbered alpha or beta .iso. Otherwise (or if you want to even further reduce load on Ubuntu servers), you could just get the numbered alpha or beta image by torrent.

share|improve this answer
add comment

I have only been able to find just slight documentation on the use of jigit. Jigit Section of Ubuntu 11.04 Guidebook. There's also a little community documentation on jigdo found here. It might not be exactly what you're looking for, but might be enough to get you started in the right direction.

share|improve this answer
    
In summary, you need to install jigdo-file package and use jigdo-lite command (jigit package seems to contain tools to create the images, not to download them). –  jcollado Nov 28 '11 at 23:18
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.