Package: apt-move Version: 4.2.27-1+b2 Severity: normal Tags: patch When using the GPGKEY option, aptitude don't trust the repository and apt-get simply ignore the repo. Sounds that because the master Release doesn't contain the md5 for uncompressed "Packages" file. The following patch make apt* happy:
--- /usr/bin/apt-move 2006-01-14 05:05:23.000000000 +0100 +++ apt-move 2007-08-24 11:07:33.000000000 +0200 @@ -1246,13 +1246,24 @@ } get_checksum() { + local cont for l; do - [ -f $l ] || continue - size=$(perl -le 'print ((stat($ARGV[0]))[7]);' $l) + if [ -f $l ]; then + cont='cat '$l + else + if [ -f $l'.gz' ]; then + cont='zcat '$l'.gz' + elif [ -f $1'.bz' ]; then + cont='bzcat '$1'.bz' + else + continue + fi + fi + size=$($cont | wc -c) printf ' %32s%.s %16d %s\n' \ - $(md5sum $l) $size $j/$k/$l + $($cont|md5sum) $size $j/$k/$l printf ' %40s%.s %16d %s\n' \ - $(sha1sum $l) $size $j/$k/$l >&3 + $($cont|sha1sum) $size $j/$k/$l >&3 done } -- System Information: Debian Release: lenny/sid Architecture: i386 (x86_64) Kernel: Linux 2.6.21-2-amd64 (SMP w/1 CPU core) Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages apt-move depends on: ii apt [libapt-pkg-libc6.5-6-4.4 0.7.3 Advanced front-end for dpkg ii bc 1.06-20 The GNU bc arbitrary precision cal ii dash 0.5.3-7 The Debian Almquist Shell ii libc6 2.6.1-1 GNU C Library: Shared libraries ii libgcc1 1:4.2.1-4 GCC support library ii libstdc++6 4.2.1-4 The GNU Standard C++ Library v3 Versions of packages apt-move recommends: ii apt 0.7.3 Advanced front-end for dpkg -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]