EB> Is there any known workaround?

Replying to myself:

Don't ask me why, but when any of these apps are launched from a strace context, they just work (!?)

So here is an ugly but simple workaround (run as root, or use sudo)

# Move apps in trouble into another dir
cd /usr/lib/apt/
mkdir /usr/lib/apt/methods.orig/
mv methods/* methods.orig/

# Create a wrapper script
cat > /usr/lib/apt/methods/any
#!/bin/sh
prog=`basename $0`
orig='/usr/lib/apt/methods.orig'
strace "$orig/$prog" $* 2> /dev/null
# end of "any" script, it Ctrl+D

# Make it executable
chmod +x /usr/lib/apt/methods/any

# Hard-link wrapper to the fake apps
for f in bzip2 cdrom copy file ftp gpgv gzip http lzma rred rsh ssh; do sudo ln any $f; done

# That's it, now aptitude update should work as expected
# Anyway, this is NOT a fix, I hope this issue to be solved ASAP.
# Do not leave this script on your system...




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to