Opened 13 years ago
Closed 13 years ago
#9569 closed defect (fixed)
use --binary option to create checksum files, as with text mode they fail on Windows
Reported by: | maddes.b | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.1.2 |
Keywords: | checksums md5 sha256sum | Cc: | |
Guest type: | other | Host type: | other |
Description
MD5SUM and SHA256SUM default to text mode on Linux, but as Virtualbox downloads are binaries the option "--binary" should be used. Binary checksums are marked with a star inside the checksum file. This avoids problems on other platforms, e.g. Windows, with different EOL settings (text mode).
GNU MD5SUM taken from http://gnuwin32.sourceforge.net/packages/coreutils.htm GNU SHASUM taken from http://www.perl.org/
Example:
E:\Install\Virtual\VirtualBox>dir Datenträger in Laufwerk E: ist WORK Volumeseriennummer: C299-E8FF Verzeichnis von E:\Install\Virtual\VirtualBox 07.09.2011 21:55 <DIR> . 07.09.2011 21:55 <DIR> .. 28.08.2011 01:42 9.531.572 Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack 07.09.2011 21:54 160 VirtualBox-4.1.2-73507-MD5SUMS.fail 07.09.2011 21:55 160 VirtualBox-4.1.2-73507-MD5SUMS.work 07.09.2011 21:54 224 VirtualBox-4.1.2-73507-SHA256SUMS.fail 07.09.2011 21:55 224 VirtualBox-4.1.2-73507-SHA256SUMS.work 25.08.2011 17:20 91.779.376 VirtualBox-4.1.2-73507-Win.exe 6 Datei(en), 101.311.716 Bytes 2 Verzeichnis(se), 67.828.355.072 Bytes frei
E:\Install\Virtual\VirtualBox>md5sum --version md5sum (GNU coreutils) 5.3.0 Written by Ulrich Drepper and Scott Miller. Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. E:\Install\Virtual\VirtualBox>type VirtualBox-4.1.2-73507-MD5SUMS.fail 2fed85dc3e41dc4898bb2a60d79b40f0 Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack 703fcb2737e31742b4cf085cd4dbd654 VirtualBox-4.1.2-73507-Win.exe E:\Install\Virtual\VirtualBox>md5sum --check VirtualBox-4.1.2-73507-MD5SUMS.fail Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack: FAILED VirtualBox-4.1.2-73507-Win.exe: FAILED md5sum: WARNING: 2 of 2 computed checksums did NOT match E:\Install\Virtual\VirtualBox>type VirtualBox-4.1.2-73507-MD5SUMS.work 2fed85dc3e41dc4898bb2a60d79b40f0 *Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack 703fcb2737e31742b4cf085cd4dbd654 *VirtualBox-4.1.2-73507-Win.exe E:\Install\Virtual\VirtualBox>md5sum --check VirtualBox-4.1.2-73507-MD5SUMS.work Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack: OK VirtualBox-4.1.2-73507-Win.exe: OK
E:\Install\Virtual\VirtualBox>shasum --version 5.50 E:\Install\Virtual\VirtualBox>type VirtualBox-4.1.2-73507-SHA256SUMS.fail 3bc5ad8d7082b6debeec24c40a86629bf0ad6313343532d0ad0fee4131e8f9fc Oracle_VM_VirualBox_Extension_Pack-4.1.2-73507.vbox-extpack dc0987219692f2d9fee90ab06ce2d2413fb620e5a00733628935be974d42c11d VirtualBox-4..2-73507-Win.exe E:\Install\Virtual\VirtualBox>shasum --check VirtualBox-4.1.2-73507-SHA256SUMS.fail Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack: FAILED VirtualBox-4.1.2-73507-Win.exe: FAILED shasum: WARNING: 2 computed checksums did NOT match E:\Install\Virtual\VirtualBox>type VirtualBox-4.1.2-73507-SHA256SUMS.work 3bc5ad8d7082b6debeec24c40a86629bf0ad6313343532d0ad0fee4131e8f9fc *Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack dc0987219692f2d9fee90ab06ce2d2413fb620e5a00733628935be974d42c11d *VirtualBox-4.1.2-73507-Win.exe E:\Install\Virtual\VirtualBox>shasum --check VirtualBox-4.1.2-73507-SHA256SUMS.work Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack: OK VirtualBox-4.1.2-73507-Win.exe: OK
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed with the VBox 4.1.4 release.
Note:
See TracTickets
for help on using tickets.
Thanks for the suggestion.