[Bug 955624] [NEW] md5sum command calculate different code for the same file

Jim Meyering jim at meyering.net
Thu Mar 15 11:01:33 UTC 2012


Birol Bora wrote:
> Public bug reported:
>
> I'm using Ubuntu 11.10
> When I execute md5sum command its calculate different code for the same file
>
> birol at trax:~/Downloads$ uname -a
> 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 at trax:~/Downloads$ ls -l v1.img
> -rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img
>
> birol at trax:~/Downloads$ md5sum v1.img
> e8a2c652770a2da0fd93c981a79a8ba1  v1.img
> birol at trax:~/Downloads$ md5sum -b v1.img
> d692965aa21d43b40e7c6e821f721159 *v1.img
> birol at trax:~/Downloads$ md5sum v1.img
> baa9389d2ecfecf8d405a22565d1565b  v1.img
> birol at trax:~/Downloads$ md5sum v1.img
> e683b1e5bba99dee3ecd35765f0fc368  v1.img
> birol at trax:~/Downloads$ md5sum v1.img
> ee0d31564b0a0508e83766c31fc18236  v1.img
> birol at trax:~/Downloads$ md5sum v1.img
> 0c821ea3600f13c5b9d14fc12f329773  v1.img
>
> birol at trax:~/Downloads$ ls -l v1.img
> -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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/955624

Title:
  md5sum command calculate different code for the same file

Status in “coreutils” package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 11.10  
  When I execute md5sum command its calculate different code for the same file

  birol at trax:~/Downloads$ uname -a
  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 at trax:~/Downloads$ ls -l v1.img
  -rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img

  birol at trax:~/Downloads$ md5sum v1.img
  e8a2c652770a2da0fd93c981a79a8ba1  v1.img
  birol at trax:~/Downloads$ md5sum -b v1.img
  d692965aa21d43b40e7c6e821f721159 *v1.img
  birol at trax:~/Downloads$ md5sum v1.img
  baa9389d2ecfecf8d405a22565d1565b  v1.img
  birol at trax:~/Downloads$ md5sum v1.img
  e683b1e5bba99dee3ecd35765f0fc368  v1.img
  birol at trax:~/Downloads$ md5sum v1.img
  ee0d31564b0a0508e83766c31fc18236  v1.img
  birol at trax:~/Downloads$ md5sum v1.img
  0c821ea3600f13c5b9d14fc12f329773  v1.img

  birol at trax:~/Downloads$ ls -l v1.img
  -rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/955624/+subscriptions




More information about the foundations-bugs mailing list