Corrupt Windows executables - K-Lite setup programs only
Benjamin R. Haskell
rsync at benizi.com
Sun Feb 7 08:15:25 MST 2010
On Fri, 5 Feb 2010, Jeff Stelzner wrote:
> Hi: I'm running rsync-3.0.7 from a freebsd-7.2 x32 box and a
> freebsd-8.0-x64 box. All files seem to replicate fine except the setup
> programs for K-Lite Codec Pack e.g.
> [10667732 bytes]
> [3072373 bytes]
> The command options used to transfer are:
> rsync -v -4 -t -e ssh
> After transfer, I try to execute the program and get a pop-up error
> 'The setup files are corrupted. Please obtain a new copy of the
> program'. If I simply download the file directly to the target
> freebsd box via the URL above it executes fine [i.e. the original
> binary is not corrupt].
> The problem occurs *consistently* with *any* version of the K-Lite
> setup/upgrade programs. And apparently only with these.
> The byte sizes, mod times, and md5 signatures are identical on both sides:
> 10667732 Feb 3 15:33 K-Lite_Codec_Pack_570_Standard.exe
> MD5 (K-Lite_Codec_Pack_570_Standard.exe) =
> 3072373 Feb 3 15:28 klcp_update_570_20100203.exe
> MD5 (klcp_update_570_20100203.exe) = 703c7ea4b11666fc4c37039528c0d905
If the MD5 sums are the same on both sides, the files' contents are the
same. It's likely something to do with permissions or some other
metadata. Probably permissions. (which a naïve installer might report
as 'corrupted', if it doesn't check explicitly for permissions first.)
Kinda curious how you're running a Win32 .exe on FreeBSD, but maybe that
adds another point of failure.
More information about the rsync