md5sum broken?
Robert P. J. Day
rpjday at crashcourse.ca
Sat May 29 12:50:35 UTC 2010
On Sat, 29 May 2010, Chuck Kuecker wrote:
> Hello,
>
> I am developing an embedded Linux project using Ubuntu 9.10 as a
> workstation. I need to produce an md5 checksum file of a patch I need to
> modify to make the build run. The command is:
>
> ckuecker at ckenterprises:/opt/Freescale/ltib$ md5sum
> /opt/freescale/pkgs/mtd-utils-20060302-cf-byteswap_h-1.patch >
> /opt/freescale/pkgs/mtd-utils-20060302-cf-byteswap_h-1.patch.md5
>
> Up until last week, this worked fine. Now, I get this error when I run
> my build script:
>
> Processing: mtd-utils
> =======================
> Error: corrupt md5 file:
> /opt/freescale/pkgs/mtd-utils-20060302-cf-byteswap_h-1.patch.md5,
> renamed to
> /opt/freescale/pkgs/mtd-utils-20060302-cf-byteswap_h-1.patch.md5.bad
>
> Ubuntu did an update since the last time I ran md5sum successfully.
> md5sum --v shows 7.4, and is dated in 2009.
>
> Anyone seen anything similar? I am wondering if the build script is
> accessing a different version of md5sum, and the Ubuntu version got
> updated. The build script has its' own paths, which I need to trace out.
what *is* the contents of that md5 file? really, an md5 file has a
pretty simple internal structure, something like:
076a49bab813ccefac44d5727e840536 /etc/passwd
it's just a text file that you can examine, so it should be easy to
tell if it still matches the original file.
what's in that file?
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
More information about the ubuntu-users
mailing list