severity 339024 grave
tags 339024 + patch
thanks

apt-move is useless without either fixing coreutils to be backwards
compatable or changing apt-move (and requiring the new coreutils).

The coreutils changelog has:

coreutils (5.93-4) unstable; urgency=low

  * Conflict with apt-move expecting particular stat syntax (Closes: #339136)
    I need to think more about what to do with upstream changes to stat -c 
  * For now, add upstream patch so that stat -c "%whatever\n" actually works



coreutils does not conflict with apt-move however.


Applying the following patch and puting a versioned dependancy on
coreutils >= 5.93-4 fixes the problem:

--- /tmp/apt-move       2005-11-15 23:11:40.000000000 -0800
+++ /usr/bin/apt-move   2005-11-15 22:36:45.000000000 -0800
@@ -778,7 +778,7 @@
        mkdir $pf/deb $pf/dsc
 
        if [ $GET_BINARY ]; then
-               < $pf-deb xargs -r stat -L -c %s > $pf-fifo1&
+               < $pf-deb xargs -r stat -L -c '%s\n' > $pf-fifo1&
                < $pf-deb xargs -r md5sum |
                        $MOVE4 $pf/deb $pf-fifo1 $pf-skip1 $pf-pkg $CONTENTS
                waitall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to