*** This bug is a duplicate of bug 664645 ***
    https://bugs.launchpad.net/bugs/664645

This alsa-utils update contains broken code in the postinst script which
will cause it to always fail.

    if dpkg --compare-versions "$2" le "1.0.23-2ubuntu3.3"; then
        # we need to call alsactl init once to activate the cards
        # on later boots the state file handles this
        id=`cat /proc/asound/card$1/id 2>/dev/null`
        if [ "$id" = "Panda" -o "$id" = "SDP4430" ]; then
            alsactl init
        fi
    fi

Specifically, note the path /proc/asound/card$1/id - $1 is always the
literal string "configure" at this point in the script. The path
/proc/asound/cardconfigure/id is always incorrect, causing cat to return
an error. Since the script is executing with "set -e" in force, it
immediately exits with an error status at this point.

** Tags added: regression-proposed

-- 
package alsa-utils 1.0.23-2ubuntu3.3 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/664821
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

Reply via email to