The offending code was introduced in 1.15.3ubuntu1 and is in the
kill_bad_alternatives code. This means the function is probably running
into some sort of issue when going through /var/lib/dpkg/alternatives
but due to lack of help via debug output (it's utterly useless except
for locating the script) I can't narrow it down any more than this:
kill_bad_alternatives () {
local IFS=""
ALTDIR="/var/lib/dpkg/alternatives"
for alt in $ALTDIR/*; do
if [ ! -e $alt ]; then
# In case it's been removed by the code below
continue
fi
{
read mode
read mainlink
while true; do
read slave
if [ "$slave" = "" ]; then
break
fi
if [ -e "$ALTDIR/$slave" ]; then
echo "Removing conflicting master alternative $slave (it is
slave of $(basename $alt))..."
rm -f "$ALTDIR/$slave"
fi
read slavelink
done
} <$alt
done
}
--
package dpkg 1.14.24ubuntu2 failed to install/upgrade:
https://bugs.launchpad.net/bugs/397498
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs