Package: apt-utils Version: 0.6.42.3 Severity: important Hello,
Let me try to explain, what happens: Trying to run apt-ftparchive via cron results in a bunch of error messages, like the following: /path/to/binary-i386/: E: Sub-process gzip returned an error code (100) E: Errors apply to file '/path/to/package.deb' I made a strace of the cron-job (complete strace output is attached) and found the following: > ./debarchiver_cron.9879:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9879:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars > */]) = 0 now have a look here: > ./debarchiver_cron.9880:52:execve("/usr/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9880:53:execve("/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars > */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9881:52:execve("/usr/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9881:53:execve("/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars > */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9882:52:execve("/usr/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9882:53:execve("/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars > */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9885:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9885:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars > */]) = 0 > ./debarchiver_cron.9886:52:execve("/usr/bin/gzgzg4é^P^A", > ["n/gzgzg4\351\20\1", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or > directory) > ./debarchiver_cron.9886:53:execve("/bin/gzgzg4é^P^A", ["n/gzgzg4\351\20\1", > "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory) I have no idea, where apt-ftparchive gets the "gzgzg" binary name. The last entry seems completely corrupted. > ./debarchiver_cron.9889:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9889:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars > */]) = 0 > ./debarchiver_cron.9892:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9892:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars > */]) = 0 > ./debarchiver_cron.9895:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9895:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars > */]) = 0 > ./debarchiver_cron.9898:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9898:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars > */]) = 0 > ./debarchiver_cron.9900:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 > vars */]) = -1 ENOENT (No such file or directory) > ./debarchiver_cron.9900:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars > */]) = 0 I've attached the whole strace-ouput as gzipped tarball to this mail. I hope, it can help to locate the bug. If you need more info, please let me know. This bug currently affects debarchiver cron-jobs. If the same command as used for the cron-job is run from a console, it works without problems. So only the cron-job shows the bug. Regards, Daniel -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (500, 'oldstable'), (110, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14.04051127 Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages apt-utils depends on: ii apt [libapt-pkg-libc6.3-6-3.1 0.6.42.3 Advanced front-end for dpkg ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-20 Berkeley v4.2 Database Libraries [ ii libgcc1 1:4.0.2-4 GCC support library ii libstdc++6 4.0.2-4 The GNU Standard C++ Library v3 apt-utils recommends no packages. -- no debconf information