Your message dated Mon, 11 Aug 2025 20:27:03 +0200
with message-id <[email protected]>
and subject line Re: cpio: Checksum-errors in copy-in mode on AMD64
has caused the Debian Bug report #575267,
regarding cpio: Checksum-errors in copy-in mode on AMD64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
575267: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575267
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cpio
Version: 2.11-1
Severity: important
When extracting files from a cpio-archive of type "crc", cpio complains about
checksum errors for some files, however the files are extracted correctly.
This happens also when using cpio version 2.11-1 to extract files from archives
created with an older cpio-version (2.10-1) (With cpio 2.10-1, the old archive
could be extraced without CRC-errors; that's why I assume the problem to be in
copy-in mode).
The errors also appears when only verifying the checksum with "cpio -i
--only-verify-crc".
An example-file triggering the bug is the GoOo-release-file for Win32:
go-oo.mirrorbrain.org/stable/win32/3.2/GoOo-3.2-13.exe
The bug can be triggered e.g by
aff@zeus:~# echo GoOo-3.2-13.exe | cpio -o -H crc > test.cpio
383402 blocks
abf@zeus:~# cpio -i --only-verify-crc < test.cpio
cpio: GoOo-3.2-13.exe: checksum error (0x5d90c3303, should be 0xd90c3303)
383402 blocks
However, the file is correctly stored in the archive and can be extracted
correctly:
abf@zeus:~# md5sum GoOo-3.2-13.exe
238c3a70223cb33036617fed3c7440c9 GoOo-3.2-13.exe
abf@zeus:~$ rm GoOo-3.2-13.exe
abf@zeus:~$ cpio -i < test.cpio
cpio: GoOo-3.2-13.exe: checksum error (0x5d90c3303, should be 0xd90c3303)
383402 blocks
abf@zeus:~$ md5sum GoOo-3.2-13.exe
238c3a70223cb33036617fed3c7440c9 GoOo-3.2-13.exe
I tried also a 32bit system (squeeze; Linux 2.6.32-3-686; cpio 2.11-1; libc6
2.10.2-6; dpkg 1.15.5.6). There, cpio works correctly with this file (but maybe
a similar problem appears for other files?).
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cpio depends on:
ii dpkg 1.15.5.6 Debian package management system
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
cpio recommends no packages.
cpio suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.12+dfsg-1
This was fixed by upstream in version 2.12.
--- End Message ---