md5sum command calculate different code for the same file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coreutils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm using Ubuntu 11.10
When I execute md5sum command its calculate different code for the same file
birol@trax:
Linux trax 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
birol@trax:
-rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img
birol@trax:
e8a2c652770a2da
birol@trax:
d692965aa21d43b
birol@trax:
baa9389d2ecfecf
birol@trax:
e683b1e5bba99de
birol@trax:
ee0d31564b0a050
birol@trax:
0c821ea3600f13c
birol@trax:
-rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img
tags: | added: md5sum |
tags: | added: coreutils |
Birol Bora wrote: ~/Downloads$ uname -a ~/Downloads$ ls -l v1.img ~/Downloads$ md5sum v1.img 0fd93c981a79a8b a1 v1.img ~/Downloads$ md5sum -b v1.img 40e7c6e821f7211 59 *v1.img ~/Downloads$ md5sum v1.img 8d405a22565d156 5b v1.img ~/Downloads$ md5sum v1.img e3ecd35765f0fc3 68 v1.img ~/Downloads$ md5sum v1.img 8e83766c31fc182 36 v1.img ~/Downloads$ md5sum v1.img 5b9d14fc12f3297 73 v1.img ~/Downloads$ ls -l v1.img
> Public bug reported:
>
> I'm using Ubuntu 11.10
> When I execute md5sum command its calculate different code for the same file
>
> birol@trax:
> Linux trax 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> birol@trax:
> -rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img
>
> birol@trax:
> e8a2c652770a2da
> birol@trax:
> d692965aa21d43b
> birol@trax:
> baa9389d2ecfecf
> birol@trax:
> e683b1e5bba99de
> birol@trax:
> ee0d31564b0a050
> birol@trax:
> 0c821ea3600f13c
>
> birol@trax:
> -rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img
Thanks for the report.
I've seen this sort of problem a couple of times.
So far, every time it has been due to faulty hardware.
To cross-check try running the openssl command:
openssl md5 v1.img