tags 327867 +patch thanks Hello, I've finally got a clue what's wrong with 'apt-get sync' not retrieving source packages. Problem is that lowest version available in repositories is preferred, so if you have two repositories (like network and local cdrom, or two networks, one updated and one not) then binary packages are mirrored from newest one, while sources from oldest one. Which is not quite what one would expect.
This simple one-liner fixes problem for me - once I patched apt-move, it happilly downloaded 490MB of sources it was ignoring for last half of year... Best regards, Petr Vandrovec diff -urN apt-move-4.2.24/apt-move apt-move-4.2.24/apt-move --- apt-move-4.2.24/apt-move 2005-10-24 17:35:26.000000000 +0200 +++ apt-move-4.2.24/apt-move 2005-10-24 17:35:09.000000000 +0200 @@ -475,7 +475,8 @@ [ -f $dir/local ] || > $dir/local [ -f $dir/debian ] || > $dir/debian - sort -k 1,1 -sum $dir/local $dir/debian | + < $dir/debian $GET2 | + sort -k 1,1 -sum $dir/local - | awk '{ printf "%-30s\t%-9s\t%-15s\t%s\n", $1, $2, $3, $4 diff -urN apt-move-4.2.24/debian/changelog apt-move-4.2.24/debian/changelog --- apt-move-4.2.24/debian/changelog 2005-10-24 17:35:26.000000000 +0200 +++ apt-move-4.2.24/debian/changelog 2005-10-21 03:19:24.000000000 +0200 @@ -1,3 +1,9 @@ +apt-move (4.2.24-1.1) unstable; urgency=low + + * Retrieve source packages correctly (closes: #327867). + + -- Petr Vandrovec <[EMAIL PROTECTED]> Mon, 24 Oct 2005 17:40:00 +0200 + apt-move (4.2.24-1) unstable; urgency=low * New upstream version (closes: #310391) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]