aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn
blob: 112f0c2d76144baf2ebf3b6b06f2c74aaed5a83c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
I'm in the process of installing ikiwiki on my home page (hooray), and wants to have the newest stable version available. I suppose that's the one on the `pristine-tar` branch.

> You can check out the latest released version with:
>
>     git tag                    # outputs a list of tags
>     git checkout 3.20110124    # or use the latest one, if different
>
> If you're using git already, there's no need to use pristine-tar,
> unless you particularly want a tarball for some reason.
>
> Downloading the tarball from Debian is the other recommended way to
> [[download]] the source code. --[[smcv]]

But I'm unable to recreate the newest `.tar` file, in fact there's errors in all these `.tar.gz` files on that branch:

* `ikiwiki_2.20.tar.gz`
* `ikiwiki_2.30.tar.gz`
* `ikiwiki_2.31.1.tar.gz`
* `ikiwiki_2.46.tar.gz`
* `ikiwiki_2.47.tar.gz`
* `ikiwiki_2.48.tar.gz`
* `ikiwiki_2.49.tar.gz`
* `ikiwiki_2.50.tar.gz`
* `ikiwiki_2.51.tar.gz`
* `ikiwiki_2.62.1.tar.gz`
* `ikiwiki_2.62.tar.gz`
* `ikiwiki_3.20101129.tar.gz`
* `ikiwiki_3.20101201.tar.gz`
* `ikiwiki_3.20101231.tar.gz`
* `ikiwiki_3.20110105.tar.gz`
* `ikiwiki_3.20110122.tar.gz`
* `ikiwiki_3.20110123.tar.gz`
* `ikiwiki_3.20110124.tar.gz`

The operation fails on these files with a "Checksum validation failed" error from `xdelta`(1). The `pristine-tar`(1) version is 1.00, installed with `apt-get` on Ubuntu 10.04.2 LTS. Is this version too old, or are there some errors on this branch?

> I get similar errors on Debian unstable, but not on all of the same versions;
> for instance, my `ikiwiki_3.20110124.tar.gz` is OK. In some cases, xdelta
> complains, but the tarball is produced successfully. However, I do see actual
> failures for 2.62 and 2.62.1, for instance. --[[smcv]]

A complete output of the "pristine-tar checkout" of all files is stored on <https://gist.github.com/836720> .

For now, I'll download the `.tar.gz` from <http://packages.debian.org/unstable/source/ikiwiki>, or maybe install `ikiwiki_3.20110124_all.deb`. Would you recommend using that `.deb` file on Ubuntu 10.04.2 LTS, or is it Debian-specific? -- sunny256 2011-02-21 08:42+0100

> The .deb from Debian unstable is likely to work on Ubuntu; I've
> generally been able to compile snapshots on Debian unstable and
> install them onto Debian lenny (older than that Ubuntu release)
> without modification. If in doubt, build it from source. --[[smcv]]