:: Re: [devuan-dev] Can't match checks…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ralph Ronnquist
Date:  
À: devuan-dev
Sujet: Re: [devuan-dev] Can't match checksum for daedalus/testing iso
On Wed, Feb 22, 2023 at 06:23:38AM +0100, devuan.ax3dv@??? wrote:
> Hello
>
> I downloaded "devuan_daedalus_5.0.preview-20230220_i386_server.iso"
> and the accompanying
> "devuan_daedalus_5.0.preview-20230220_i386_server.iso.shasum"
>
> When I tried it failed checksum verification:
>
> $ sha256sum --ignore-missing -c devuan_daedalus_5.0.preview-20230220_i386_server.iso.shasum
> devuan_daedalus_5.0.preview-20230220_i386_server.iso: FAILED
> sha256sum: WARNING: 1 computed checksum did NOT match
> sha256sum: devuan_daedalus_5.0.preview-20230220_i386_server.iso.shasum: no file was verified
> $ shasum --ignore-missing -c devuan_daedalus_5.0.preview-20230220_i386_server.iso.shasum
> devuan_daedalus_5.0.preview-20230220_i386_server.iso: FAILED
> shasum: WARNING: 1 computed checksum did NOT match
> shasum: devuan_daedalus_5.0.preview-20230220_i386_server.iso.shasum: no file was verified
> $ cat devuan_daedalus_5.0.preview-20230220_i386_server.iso.shasum
> 0783fb0c7a29f9c9ebf4950c7580d0a823135d0fcbd0f19b24a046677bbaf7a0  devuan_daedalus_5.0.preview-20230220_i386_server.iso
> $ shasum devuan_daedalus_5.0.preview-20230220_i386_server.iso
> ddc39f1c149d6c16930f04ed372f93ada2575d73  devuan_daedalus_5.0.preview-20230220_i386_server.iso
> $ sha256sum devuan_daedalus_5.0.preview-20230220_i386_server.iso
> d30aba5b3a9ce6d645d39e0876829221bc83400a5d783cb7922cb672568661ca  devuan_daedalus_5.0.preview-20230220_i386_server.iso
> $ du devuan_daedalus_5.0.preview-20230220_i386_server.iso
> 791552    devuan_daedalus_5.0.preview-20230220_i386_server.iso

>
> I used http://mirrors.dotsrc.org/ mirror.
>
> Should I be worried? Or did I do something wrong?



I haven't seen it before but the file is exactly 4096 bytes smaller
than the number of blocks it has.

$ stat $file
... Size: 810549248 Blocks: 1583112 ...
( and 810549248/512 = 1583104 = 1583112 + 8 )

For me, "du" reports from the blocks count 1583112/2 = 791556, while
"du --apparent-size" reports from the byte size 791552 = 810549248/1024

files.devuan.org (which is the ultimate source) has an ext4 file
system, if that's att all relevant.

The sha256sum should still be as per the .shasum file, and my download
from http://mirrors.dotsrc.org/ does offer that sha256sum

you may need to download again.

Ralph.