I added "set -x" to /usr/bin/apt-move, output attached. Since the error appears to happen in an awk script I attempted changing the awk alternative from gawk to mawk, and the same error happend (different temp file names and pids only).
Script started on Wed Oct 5 02:00:51 2005 ]0;[EMAIL PROTECTED]: /play/debianmunge:/play/debian# aptm -move packages + type exp + type dash + exec dash /usr/bin/apt-move packages + type exp + [ ] + [ ] + export LC_CTYPE=C + export LC_COLLATE=C + export LC_NUMERIC=C + dpkg --print-installation-architecture + ARCH=i386 + LOCALDIR=/mirrors/debian + DIST=stable + PKGTYPE=binary + APTSITES= + FILECACHE=/var/cache/apt/archives + LISTSTATE=/var/lib/apt/lists + DELETE=no + MAXDELETE=20 + COPYONLY=no + PKGCOMP=gzip + CONTENTS=no + SIGNINGKEY= + LISTALL= + ORIGDIR=/play/debian + TEST= + FORCE= + QUIET= + GET_BINARY= + GET_SOURCE= + VERSION=0 + FETCH=/usr/lib/apt-move/fetch + SCRIPTS= + : /usr/share/apt-move + awk=awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f + awk=awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f + MOVE3=/usr/share/apt-move/move3 + MOVE4=awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/move4 + MOVE5=awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/move5 + MOVE6=awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/move6 + MOVE7=awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/move7 + GET2=awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/get2 + GET3=awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/get3 + DEL1=/usr/share/apt-move/del1 + PKG1=/usr/share/apt-move/pkg1 + unset awk + umask 022 + CONFFILE=/etc/apt-move.conf + unset dist + getopts ac:d:fqt flag + shift 0 + [ 1 -eq 0 ] + [ -f /etc/apt-move.conf ] + trap getout apt-move 33 EXIT + . /etc/apt-move.conf + APTSITES=debian.oregonstate.edu http.us.debian.org ftp.us.debian.org security.debian.org + ARCHS=i386 sparc + LOCALDIR=/play/debian + DIST=unstable + PKGTYPE=binary + FILECACHE=/play/p + LISTSTATE=/var/lib/apt/lists + DELETE=no + MAXDELETE=30 + STRICTMOVE=no + COPYONLY=no + PKGCOMP=none gzip + CONTENTS=yes + trap - EXIT + [ ] + checkconf + local i + [ -z unstable ] + GET_BINARY=yes + set -f + set +f none gzip + CONTENTS=yes + [ -d /play/debian ] + cd /play/debian + [ -d .apt-move ] + [ packages != fsck ] + [ -f .apt-move/version ] + cat .apt-move/version + [ 0 = 0 ] + trap SIG=INT; getout apt-move 20 INT + trap SIG=TERM; getout apt-move 21 TERM + trap SIG=HUP; getout apt-move 22 HUP + trap err=$? set +e CHILDREN="$CHILDREN${!:+ $!}" [ -n "$CHILDREN" ] && kill $CHILDREN 2> /dev/null wait rm -rf $TMPHOME if [ $SIG ]; then trap - $SIG kill -$SIG $$ else getout ${PROGNAME:-apt-move} $err fi EXIT + mktemp -u /tmp/MOVE_XXXXXX + d=/tmp/MOVE_QTNBlB + mkdir -m 700 /tmp/MOVE_QTNBlB + echo /tmp/MOVE_QTNBlB + TMPHOME=/tmp/MOVE_QTNBlB + [ ] + exec + [ -d dists ] + find dists -maxdepth 1 -type l -printf %f %l\n + sort + [ -h unstable ] + FUNCT=dopackages + [ -n dopackages ] + [ 1 -gt 1 ] + dopackages + checklist + [ -d .apt-move ] + [ yes ] + [ -f .apt-move/binary ] + [ ] + local i dogz dobz donone + dogz= + dobz= + donone= + donone=yes + dogz=yes + info + printf %b\n
+ [ yes ] + make_pkg_files Packages + local pf i dist sect suffix rel compo arch type lbl odist conj norel contents + pf=/tmp/MOVE_QTNBlB/make_pkg_files + rm -f /tmp/MOVE_QTNBlB/make_pkg_files-fifo1 /tmp/MOVE_QTNBlB/make_pkg_files-fifo2 /tmp/MOVE_QTNBlB/make_pkg_files-fifogz /tmp/MOVE_QTNBlB/make_pkg_files-fifobz + mkfifo /tmp/MOVE_QTNBlB/make_pkg_files-fifo1 /tmp/MOVE_QTNBlB/make_pkg_files-fifo2 /tmp/MOVE_QTNBlB/make_pkg_files-fifogz /tmp/MOVE_QTNBlB/make_pkg_files-fifobz + type=Packages + info Creating Packages files... + printf %b\n Creating Packages files... Creating Packages files... + cd .apt-move/dists + [ Packages = Packages ] + nice find . -type d -name binary-* ! -name binary-all + set -- ./sid/contrib/binary-i386 ./sid/main/binary-i386 ./sid/non-US/main/binary-i386 ./sid/non-free/binary-i386 ./unstable/contrib/binary-i386 ./unstable/contrib/binary-sparc ./unstable/main/binary-i386 ./unstable/main/binary-sparc ./unstable/non-US/main/binary-i386 ./unstable/non-free/binary-i386 ./unstable/non-free/binary-sparc ./testing/contrib/binary-sparc ./testing/main/binary-sparc ./testing/non-free/binary-sparc ./stable/main/binary-i386 ./stable/contrib/binary-i386 ./stable/non-free/binary-i386 ./stable-updates/main/binary-i386 ./stable-updates/main/binary-sparc + i=sid/contrib/binary-i386 + odist=sid + compo=contrib/binary-i386 + compo=contrib + lbl=APT-Move + arch=binary-i386 + conj= + norel= + contents= + dist=sid + sect=dists/sid/contrib/binary-i386 + [ Packages = Packages ] + [ yes != no ] + contents=/tmp/MOVE_QTNBlB/make_pkg_files-contents/sid/contrib/binary-i386 + mkdir -p /tmp/MOVE_QTNBlB/make_pkg_files-contents/sid/contrib + + [ -h dists/sid ] + continue + i=sid/main/binary-i386 + odist=sid + compo=main/binary-i386 + compo=main + lbl=APT-Move + arch=binary-i386 + conj= + norel= + contents= + dist=sid + sect=dists/sid/main/binary-i386 + [ Packages = Packages ] + [ yes != no ] + contents=/tmp/MOVE_QTNBlB/make_pkg_files-contents/sid/main/binary-i386 + mkdir -p /tmp/MOVE_QTNBlB/make_pkg_files-contents/sid/main + + [ -h dists/sid ] + continue + i=sid/non-US/main/binary-i386 + odist=sid + compo=non-US/main/binary-i386 + compo=non-US/main + lbl=APT-Move + arch=binary-i386 + conj= + norel= + contents= + dist=sid + sect=dists/sid/non-US/main/binary-i386 + [ Packages = Packages ] + [ yes != no ] + contents=/tmp/MOVE_QTNBlB/make_pkg_files-contents/sid/non-US/main/binary-i386 + mkdir -p /tmp/MOVE_QTNBlB/make_pkg_files-contents/sid/non-US/main + + [ -h dists/sid ] + continue + i=sid/non-free/binary-i386 + odist=sid + compo=non-free/binary-i386 + compo=non-free + lbl=APT-Move + arch=binary-i386 + conj= + norel= + contents= + dist=sid + sect=dists/sid/non-free/binary-i386 + [ Packages = Packages ] + [ yes != no ] + contents=/tmp/MOVE_QTNBlB/make_pkg_files-contents/sid/non-free/binary-i386 + mkdir -p /tmp/MOVE_QTNBlB/make_pkg_files-contents/sid/non-free + + [ -h dists/sid ] + continue + i=unstable/contrib/binary-i386 + odist=unstable + compo=contrib/binary-i386 + compo=contrib + lbl=APT-Move + arch=binary-i386 + conj= + norel= + contents= + dist=unstable + sect=dists/unstable/contrib/binary-i386 + [ Packages = Packages ] + [ yes != no ] + contents=/tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/contrib/binary-i386 + mkdir -p /tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/contrib + + [ -h dists/unstable ] + info Building: unstable dists/unstable/contrib/binary-i386 Packages + printf %b\n Building: unstable dists/unstable/contrib/binary-i386 Packages Building: unstable dists/unstable/contrib/binary-i386 Packages + [ ] + mkdir -p dists/unstable/contrib/binary-i386 + rm -f dists/unstable/contrib/binary-i386/Packages dists/unstable/contrib/binary-i386/Packages.gz + [ -n ] + [ Packages = Packages ] + sed s%^[^[:blank:]]*_%% .apt-move/unstable.binary + sort + CHILDREN=3997 + find .apt-move/dists/unstable/contrib/binary-i386/.index -type l -printf %f %h/%l\n + [ -n ] + sort + [ yes ] + CHILDREN=3997 4000 + [ ] + tee dists/unstable/contrib/binary-i386/Packages /tmp/MOVE_QTNBlB/make_pkg_files-fifogz + /usr/share/apt-move/pkg1 /tmp/MOVE_QTNBlB/make_pkg_files-fifo1 /tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/contrib/binary-i386 + gzip + awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/get2 + waitall + set +e + wait 3997 + status=0 + set -e + set +e + wait 4000 + status=0 + set -e + set +e + wait 4001 + status=0 + set -e + unset CHILDREN + [ ] + echo Archive: unstable + echo Component: contrib + echo Origin: APT-Move + echo Label: APT-Move + echo Architecture: i386 + i=unstable/contrib/binary-sparc + odist=unstable + compo=contrib/binary-sparc + compo=contrib + lbl=APT-Move + arch=binary-sparc + conj= + norel= + contents= + dist=unstable + sect=dists/unstable/contrib/binary-sparc + [ Packages = Packages ] + [ yes != no ] + contents=/tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/contrib/binary-sparc + mkdir -p /tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/contrib + + [ -h dists/unstable ] + info Building: unstable dists/unstable/contrib/binary-sparc Packages + printf %b\n Building: unstable dists/unstable/contrib/binary-sparc Packages Building: unstable dists/unstable/contrib/binary-sparc Packages + [ ] + mkdir -p dists/unstable/contrib/binary-sparc + rm -f dists/unstable/contrib/binary-sparc/Packages dists/unstable/contrib/binary-sparc/Packages.gz + [ -n ] + [ Packages = Packages ] + sed s%^[^[:blank:]]*_%% .apt-move/unstable.binary + sort + CHILDREN=4008 + find .apt-move/dists/unstable/contrib/binary-sparc/.index -type l -printf %f %h/%l\n + [ -n ] + sort + [ yes ] + CHILDREN=4008 4011 + [ ] + /usr/share/apt-move/pkg1 /tmp/MOVE_QTNBlB/make_pkg_files-fifo1 /tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/contrib/binary-sparc + tee dists/unstable/contrib/binary-sparc/Packages /tmp/MOVE_QTNBlB/make_pkg_files-fifogz + gzip + awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/get2 + waitall + set +e + wait 4008 + status=141 + set -e + set +e + wait 4011 + status=0 + set -e + set +e + wait 4012 + status=0 + set -e + unset CHILDREN + [ ] + echo Archive: unstable + echo Component: contrib + echo Origin: APT-Move + echo Label: APT-Move + echo Architecture: sparc + i=unstable/main/binary-i386 + odist=unstable + compo=main/binary-i386 + compo=main + lbl=APT-Move + arch=binary-i386 + conj= + norel= + contents= + dist=unstable + sect=dists/unstable/main/binary-i386 + [ Packages = Packages ] + [ yes != no ] + contents=/tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/main/binary-i386 + mkdir -p /tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/main + + [ -h dists/unstable ] + info Building: unstable dists/unstable/main/binary-i386 Packages + printf %b\n Building: unstable dists/unstable/main/binary-i386 Packages Building: unstable dists/unstable/main/binary-i386 Packages + [ ] + mkdir -p dists/unstable/main/binary-i386 + rm -f dists/unstable/main/binary-i386/Packages dists/unstable/main/binary-i386/Packages.gz + [ -n ] + [ Packages = Packages ] + sed s%^[^[:blank:]]*_%% .apt-move/unstable.binary + sort + CHILDREN=4019 + find .apt-move/dists/unstable/main/binary-i386/.index -type l -printf %f %h/%l\n + [ -n ] + sort + [ yes ] + CHILDREN=4019 4022 + [ ] + /usr/share/apt-move/pkg1 /tmp/MOVE_QTNBlB/make_pkg_files-fifo1 /tmp/MOVE_QTNBlB/make_pkg_files-contents/unstable/main/binary-i386 + awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/get2 + tee dists/unstable/main/binary-i386/Packages /tmp/MOVE_QTNBlB/make_pkg_files-fifogz + gzip getline failed on .apt-move/dists/unstable/main/binary-i386/.index/../../../../../pool/main/x/xfce4-syst + waitall + set +e + wait 4019 + status=0 + set -e + set +e + wait 4022 + status=1 + set -e + exit 1 + err=1 + set +e + CHILDREN=4019 4022 4023 + [ -n 4019 4022 4023 ] + kill 4019 4022 4023 + wait + rm -rf /tmp/MOVE_QTNBlB + [ ] + getout dopackages 1 + [ ] + printerr dopackages 1 + echo Unknown error: dopackages: 1. Unknown error: dopackages: 1. + GETOUT=yes + exit 1 ]0;[EMAIL PROTECTED]: /play/debianmunge:/play/debian# Script done on Wed Oct 5 02:02:20 2005