[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sha512sum-error at debian-live-11.5.0-amd64-gnome.iso



Hi,

Gerd Mühlenbruch wrote:
> While copying the logfile I remembered that I used wget twice with "-c"
> option.
> [...]
>    cmp debian-live-11.5.0-amd64-gnome.iso
> Err-debian-live-11.5.0-amd64-gnome.iso
>    cmp: EOF on debian-live-11.5.0-amd64-gnome.iso after byte 2910683136,
> [...]
> -rw-r--r-- 1 ghdm ghdm 2911003302 Sep 10 13:49 Err-debian-live-11.5.0-amd64-gnome.iso
> -rw-r--r-- 1 ghdm ghdm 2910683136 Sep 10 13:49 debian-live-11.5.0-amd64-gnome.iso

That's really strange. Looks like wget -c added 320166 bytes to the
2910683136 bytes of the original ISO.
This collides with the urge to use wget -c rather than a web browser:
  https://www.debian.org/CD/http-ftp/

I fail to reproduce the problem with a netinst CD image (which has only
400 MB):

  $ wget -c https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.5.0-amd64-netinst.iso
  [...]
  ^C
  $ ls -l debian-11.5.0-amd64-netinst.iso
  [...] 6727900 Oct  3 21:53 debian-11.5.0-amd64-netinst.iso
  $ wget -c https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.5.0-amd64-netinst.iso
  [...]
  HTTP request sent, awaiting response... 206 Partial Content
  Length: 400556032 (382M), 393828132 (376M) remaining [application/x-iso9660-image]
  [...]
  $ ls -l debian-11.5.0-amd64-netinst.iso
  [...]  400556032 Sep 10 14:40 debian-11.5.0-amd64-netinst.iso

In my experiment the correct size was downloaded and sh512sum confirms
that the content is as announced in .../amd64/iso-cd/SHA512SUMS .

It would be interesting to learn under which circumstances wget yields
the result which you observe.


Have a nice day :)

Thomas


Reply to: