jigdo: files missing on archive http://archive.ubuntu.com/ubuntu/ - cannot assemble, e.g. ubuntu-16.04.3-server-amd64.iso
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jigdo (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Of the 1474 files specified in
http://
needed to assemble ubuntu-
210 of those files are missing from
http://
It would appear this type of issue has existed or come up
before, e.g.:
ubuntu 10.04.1 jigdo images on mirrors are missing files
https:/
Michael Paoli (michael-paoli) wrote : | #1 |
Ubuntu Foundations Team Bug Bot (crichton) wrote : | #2 |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/
To change the source package that this bug is filed about visit https:/
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]
tags: | added: bot-comment |
Michael Paoli (michael-paoli) wrote : | #3 |
The bug isn't in jigdo itself, but Ubuntu really wants/prefers bugs be filed against package, so, ... since it's at least related ...
Also, don't know about Ubuntu, but Debian has effectively pseudo-packages for filing bugs against things that are bugs, but aren't specific to package(s), e.g. such as an issue with data on a Debian repository or web/FTP server (e.g. missing, outdated, or incorrect information, typo, ...) - and being filed againt appropriate pseudo-package, it gets routed to relevant developer(
Feel free to update the Package this bug is filed against if there's more suitable Package (or pseudo-Package, or suitable way to tag or whatever) so it gets to the relevant person(s)/team(s).
affects: | ubuntu → jigdo (Ubuntu) |
Brian Murray (brian-murray) wrote : | #4 |
How could I reproduce this issue? I'm not familiar with jigdo.
Brian Murray (brian-murray) wrote : | #5 |
Ah, I was able to recreate it.
--2017-11-13 10:20:57-- http://
Reusing existing connection to archive.
HTTP request sent, awaiting response... 404 Not Found
2017-11-13 10:20:57 ERROR 404: Not Found.
FINISHED --2017-11-13 10:20:57--
Total wall clock time: 1.0s
Downloaded: 2 files, 890K in 0.6s (1.41 MB/s)
Found 2 of the 212 files required by the template
Copied input files to temporary file `ubuntu-
-------
Aaargh - 210 files could not be downloaded. This should not
happen! Depending on the problem, it may help to retry downloading
the missing files.
Also, you could try changing to another Ubuntu server,
in case the one you used is out of sync.
However, if all the files downloaded without errors and you
still get this message, it means that the files changed on the
server, so the image cannot be generated.
As a last resort, you could try to complete the CD image download
by fetching the remaining data with rsync.
Press Return to retry downloading the missing files.
Press Ctrl-C to abort. (If you re-run jigdo-lite later, it will
resume from here, the downloaded data is not lost if you press
Ctrl-C now.)
Brian Murray (brian-murray) wrote : | #6 |
My suspicion is that the jigdo file is a snapshot of the .deb files that appear on the iso and that because this is a point a release the jigdo file points to .deb files which used to exist in -updates or -security that have been superseded by newer versions. If that's correct a .jigdo file for point releases (16.04.3) is only useful for a very short period of time.
Michael Paoli (michael-paoli) wrote : | #7 |
Also, similar from earlier:
https:/
https:/
https:/
Also, a search, e.g. on Google, for, e.g.:
ubuntu jigdo "Aaargh -" "files could not be downloaded"
also shows a fair number of folks occasionally bump into this general type of
bug with Ubuntu, jigdo, and files missing from archive/repository.
Michael Paoli (michael-paoli) wrote : | #8 |
recreate/show bug ... okay, I'm a bit late to the party on that (didn't see the
earlier comment about having recreated it 'till now), anyway, here's another
example recreating/
Ubuntu archive / jigdo file, not jigdo/jigdo-lite itself):
This was captured with script(1), then processed through:
col -b
Then edited down a bit to remove lots of redundancy (left to show first and last of
the 210 consecutive failures), and I added some comments with lines starting with:
//
for some additional clarity. Essentially I was using older (ubuntu-
images as base to attempt to create newer ubuntu-
jigdo-lite(1) and http://
$ mkdir Ubuntu_bug_1731762
$ cd Ubuntu_bug_1731762
$ mkdir ubuntu-
$ sudo mount -o loop,ro,
$ jigdo-lite http://
Jigsaw Download "lite"
Copyright (C) 2001-2005 | jigdo@
Richard Atterer | atterer.net
Loading settings from `/home/
Downloading .jigdo file
converted 'http://
--2017-11-14 03:53:48-- http://
Resolving releases.ubuntu.com (releases.
Connecting to releases.ubuntu.com (releases.
HTTP request sent, awaiting response... 200 OK
Length: 137794 (135K)
Saving to: 'ubuntu-
ubuntu-16.04.3-serv 100%[==
2017-11-14 03:53:49 (143 KB/s) - 'ubuntu-
-------
Images offered by `http://
1: 'Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64' (ubuntu-
Further information about `ubuntu-
Generated on Tue, 01 Aug 2017 11:30:42 +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: ubuntu-
Downloading .template file
converted 'http://
--2017-11-14 03:54:14-- http://
Resolving releases.ubuntu.com (releases.
Con...
Michael Paoli (michael-paoli) wrote : | #9 |
I'd certainly "argue" :-) / advocate, that the .jigdo files and
archive(
jigdo-lite(1) (and/or other Jigdo clients) can successfully create the
relevant target .iso files. Even though there may have been
updates (patches / security fixes) since ubuntu-
ubuntu-
the most current ISO for that flavor/variant (Ubuntu-Server LTS amd64),
and ought not only be downloadable (as it is), but ought be able to
reassemble it via Jigdo (saving both clients, networks, and servers,
much bandwidth and time compared to entirely downloading the full
ISO file, which is in substantial part redundant with the earlier
ubuntu-
E.g. after otherwise managing to assemble/download, and then "seed" it
to BitTorrent - still quite popular (folks have already downloaded a
fair chunk of it from me in relatively little time) - so there's
certainly no lack of interest in obtaining the iso ... that's also
typically what folks would boot from if that's what they want to
install.
------
| Filename Size Download Upload |
...
| ubuntu-
| ^--- download succeeded! 0.0 M 234.8 M |
...
------
As noted much earlier on:
https:/
Ubuntu may still have the individual files downloadable elsewhere,
... that's a start ... but things need to properly line up between
what's in the .jigdo files, and where and how things are downloaded.
E.g. with Debian :-) one can still use jigdo to assemble iso images
back to or nearly to 3.0_r0 (Woody), which was released 2002-07-19,
by using the relevant .jigdo file(s) from:
http://
Ubuntu ought maintain its archives and .jigdo files so the .iso files
can be assembled with Jigdo clients (e.g. jigdo-lite). Failure to do so
just causes lots of repeat problems for various folks, and much losses
in efficiency (of downloads, bandwidth, people's time, etc.). This
really needs to be fixed systemicly and in the process/procedures, so
they're properly maintained and validated. Shouldn't keep having this
problem over and over and over again.
Michael Paoli (michael-paoli) wrote : | #10 |
- workaround (see full comment for how to use) Edit (445 bytes, text/plain)
Here's an UGLY 8-O ... but effective :-/ workaround:
After the original attempt(s), which still gets many of the files,
but also fails to get many of the files (210 in our slightly earlier
example - presuming that's still the case or similarly/nearly so),
proceed as follows:
First of all, those attempts note above should be made, as there are
some files that can be downloaded from the regular repositories/
that aren't available with the workaround - so use the workaround just
to complete the process of constructing the image.
From that earlier attempt, we should already have the .jigdo and
.template files - if we don't for any reason, then download them.
Once we have those files, we'll create a modified version of the
.jigdo file, most notably we'll take advantage of the earlier
information from:
https:/
regarding:
https:/
... except jigo-lite doesn't want https URLs, but will work
fine with http URLs - which is fine in this case, as URLs starting with:
http://
redirect where we need them to anyway (and even URLs starting with
https:/
do redirects).
So ... how do we modify the file specifically?
We change the pathname components, and the Server URL(s) ...
at least for the file types (extensions) that can be obtained via
http://
based URLs ... which fortunately covers all the file types we
need (at least at the present time, anyway).
So, how to do the modification? Best done by program/script:
(also attached):
$ expand -t 2 < workaround
#!/bin/sh
# Don't misinterpret our sed(1) character classes/ranges:
LC_ALL=C; export LC_ALL
sed -e '
: Top
/^\[Parts\]$/b Parts
/^\[Servers\]$/b Servers
n
b Top
: Parts
s/^\(
/^\[/{
/^\[Parts\]$/!b Top
}
n
b Parts
: Servers
s/^Debian=
/^\[/{
/^\
}
n
b Servers
'
rename our original .jigdo file, note also that .jigdo files may be
optionally gzip compressed - if so save it in uncompressed form - whether
or not it's compressed can be checked with the file(1) command:
$ file ubuntu-
ubuntu-
$ mv ubuntu-
if we instead got something like:
ubuntu-
We would instead do:
$ gzip -d < ubuntu-
$
Now apply our workaround to create new modified .jigdo file:
$ ./workaround < ubuntu-
Now use our new .jigdo file to get the missing file and complete
building the image:
$ jigdo-lite ./ubuntu-
...
When prompted for mirror, be sure to use:
https:/
e.g.:
Debian mirror [http://
some more details can be found here: /lists. ubuntu. com/archives/ ubuntu- us-ca/2017- November/ 002826. html /lists. ubuntu. com/archives/ ubuntu- us-ca/2017- November/ 002827. html
https:/
https:/