Raphaël Hertzog: Download ISO images of Debian CD/DVD at light speed with Jigdo
Debian CD/DVD ISO images are huge files (4.7 GB for a DVD). It can take a long time to download if your connection with the server is not very fast. Jigdo can help you download them much more quickly if you have a high-speed connection to a normal Debian mirror.
If your download rate from your usual Debian mirror is not better than the download rate from the closest Debian CD mirror, then you should download your images straight from the Debian CD mirror. Otherwise read on and learn how you can save lots of time.
Jigdo is based on a simple idea: the CD images contain mainly thousands of .deb files (and source files too) that are already available on all Debian mirrors. So instead of downloading the ISO image in its entirety, you could reconstruct it with all the files that it contains, that you would download from your usual Debian mirror.
Thus when you download a .jigdo file, you only download a little text file (compressed with gzip) that contains enough information to reconstruct the complete image:
- it contains a list of the individual files that are needed to rebuild the image;
- it indicates a mirror where those files can be downloaded (it s mainly a fallback URL in case our preferred mirror doesn t have them anymore);
- it contains an URL to a .template file which describes the layout of all files within the ISO image. It also contains the data which can t be downloaded from the mirror.
--noask to avoid the prompts.
$ jigdo-lite http://cdimage.debian.org/cdimage/release/6.0.1/multi-arch/jigdo-dvd/debian-6.0.1-i386-amd64-source-DVD-1.jigdo Jigsaw Download "lite" Copyright (C) 2001-2005 jigdo@ Richard Atterer atterer.net Getting mirror information from /etc/apt/sources.list Downloading .jigdo file --2011-03-22 09:08:11-- http://[2001:6b0:e:2018::163]/cdimage/release/6.0.1/multi-arch/jigdo-dvd/debian-6.0.1-i386-amd64-source-DVD-1.jigdo [...] ----------------------------------------------------------------- Images offered by http://cdimage.debian.org/cdimage/release/6.0.1/multi-arch/jigdo-dvd/debian-6.0.1-i386-amd64-source-DVD-1.jigdo': 1: 'Debian GNU/Linux 6.0.1 "Squeeze" - Official Multi-architecture i386/amd64/source DVD #1 20110319-14:55 (20110319)' (debian-6.0.1-i386-amd64-source-DVD-1.iso) Further information about debian-6.0.1-i386-amd64-source-DVD-1.iso': Generated on Sat, 19 Mar 2011 15:11:27 +0000 ----------------------------------------------------------------- If you already have a previous version of the CD you are downloading, jigdo can re-use files on the old CD that are also present in the new image, and you do not need to download them again. Mount the old CD ROM and enter the path it is mounted under (e.g. /mnt/cdrom'). Alternatively, just press enter if you want to start downloading the remaining files. Files to scan: ----------------------------------------------------------------- The jigdo file refers to files stored on Debian mirrors. Please choose a Debian mirror as follows: Either enter a complete URL pointing to a mirror (in the form ftp://ftp.debian.org/debian/'), or enter any regular expression for searching through the list of mirrors: Try a two-letter country code such as de', or a country name like United States', or a server name like sunsite'. Debian mirror [http://ftp.fr.debian.org/debian]: Downloading .template file --2011-03-22 09:12:41-- http://cdimage.debian.org/cdimage/release/6.0.1/multi-arch/jigdo-dvd/debian-6.0.1-i386-amd64-source-DVD-1.template [...] Successfully created debian-6.0.1-i386-amd64-source-DVD-1.iso' ----------------------------------------------------------------- Finished! The fact that you got this far is a strong indication that debian-6.0.1-i386-amd64-source-DVD-1.iso' was generated correctly. I will perform an additional, final check, which you can interrupt safely with Ctrl-C if you do not want to wait. OK: Checksums match, image is good!And you re done, you have successfully downloaded an official Debian DVD with jigdo-lite. You can head over to the Debian CD page and find out the URL of the .jigdo files for the latest stable release. One last thing, Bluray images are only available with Jigdo because they are so huge that keeping complete ISO images would be a waste of disk resources of the CD images server (and its mirrors). Of course, if downloading ISO images and burning CD/DVD is not for you, you can always order some professionally printed CD/DVD. You will even help Debian by doing this.
If you want to read more articles like this one, click here to subscribe to my free newsletter. You can also follow me on Identi.ca, Twitter and Facebook.
6 comments Liked this article? Click here. My blog is Flattr-enabled.
I, and maybe some others, wondered why people would (have to) send new lenses back claiming that they got a bad copy so often. I couldn't imagine quality control being so bad that two out of three (at least that's the impression I got from reading the occasional foto discussion forum) lenses are bad.
It turns out that it is not only people needing to be pampered and having the impression that their second (identical) copy of the expensive new lens is better. Nor is it bad QA by the manufacturers alone. Fact is that todays high megapixel cameras are at the limit of the manufacturing precision that can be achieved at a reasonable price. Roger Cicala (
This seems an active time for conference planning in two of the projects I like:



I have been working in the last weeks in the removal of the last pieces of KDE 3 from the Debian archive and I have found there are a lot of packages that is sad having to remove.
If you are looking for a good idea/excuse to learn and improve your KDE 4 / C++ /Qt4 skills, have to do a small application for school or you just feel like some useful coding, here is the list:
Now that I sent an update about my running activities, I have to
report about what I'm doing these weeks in Debian to try keeping a
fair balance for those of you who read this blog through Planet Debian.
Most January was spent in preparing the release of squeeze. Of course,
I didn't work directly on the release, not being involved in the
release team. However, last bits of preparation for Debian Installer
as well as rushing out the last remaining bits of localization work
took most of my time.
After the release of squeeze, time came to resume back some
activities.
First of all, on the l10n front, I resumed the work on "l10n NMUs",
trying to get
I posted a brief snippet of code on Friday which was my initial stab at a reverse HTTP proxy in Javascript (using node.js).
Over the past couple of days I've tidied it up, added a command line parser, and made it flexible enough that it works for me.
My
Will drive to

If you d like to find out more about Debian CUT, I suggest you read
Since I
As Paul Wise
A few weeks ago, at work, we were looking for a solution to a tricky printing problem: how to manage, in a centralized infrastructure, a large number of locations, worstations and printers?
One of the consultants working for us came up with a great idea. With only a 20-line patch to CUPS, workstations would be able to find which printers are on the same location. 20 lines of code, instead of a complex virtualisation solution? This is exactly the kind of reasons why we use free software: when there s something wrong, you can fix it. When you need something more, you can code it.
Now, many others could benefit of such an improvement, and we don t want to maintain a forked version of CUPS, so we forwarded it upstream, who looked interested. But upstream now being Apple, they requested a stupid