Metalink md5sum check fails due to change in format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CD Images |
New
|
Undecided
|
Unassigned | ||
Wubi |
New
|
Medium
|
Unassigned |
Bug Description
When Wubi downloads or checks an ISO, it first downloads the metalink file and the associated MD5SUMS (and .gpg file). The format of this file has changed since 12.10 and this means Wubi cannot validate it anymore. I guess the difference is that the MD5SUM is generated with the -b option (which adds the *) and Wubi fails to extract the correct md5sum from the file now. Since the metalink file is not a binary file, the bug might not be in Wubi, but rather in the generation of the MD5SUMS itself.
For example, in 12.04 it looks like this:
642624ef99acfc3
018a6e8d27af131
3dd7fc6bd982b0b
dbf554af89362d4
2b9e106f1fd2f37
eb79491af8c4ff3
But in 12.10 it looks like this:
1fdde0057923dc6
091d4adafcfe4ee
940ab0bf8287943
9e0ad0a15414df4
4672b67404c84ba
a8d35d8579f1157
fb6219893d9f4f3
12fbf5ccf3aedfd
e1a7672decc21eb
894437367bf791c
57a58f151b50e21
11e206f0d5e147f
fc37a124ca1957d
35afee005d732a9
68adfc9d71d5b36
c4fd126394cf2e1
The actual code in /home/bcbc/
md5sums = dict([reversed(
md5sum = md5sums.
The first line creates the md5sums dictionary:
{... '*ubuntu-
And the second reads the entry with key: ubuntu-
This is not a breaking bug. It just believes the file is corrupted, but continues to run.
description: | updated |
Changed in wubi: | |
importance: | Undecided → Medium |