Public bug reported:

Binary package hint: alsa-utils

upgrade of alsa-utils expects exactly one asound device, described by
/proc/asound/cardconfigure/id

But I have two ...
$ grep ^ /proc/asound/card?/id
/proc/asound/card0/id:IXP
/proc/asound/card1/id:Modem

I'm not an Alsa guru, don't know whether the card%d/id is replacing 
cardconfigure/id, or the other way around.
Where the postinst script says
   configure)
   ...
        id=`cat /proc/asound/card$1/id 2>/dev/null`
        if [ "$id" = "Panda" -o "$id" = "SDP4430" ]; then
            alsactl init
        fi
it should probably
1/ don't cat card$1/id here - that expands to cardconfigure/id which is not 
what's needed
2/ cope with missing id file(s) by `cat ... || true`
3/ cycle thru any/all cards by
    for id in `cat /proc/asound/card*/id 2>/dev/null`
    do case "$id" in (Panda|SDP4430) alsactl init;; esac
    done    

This is in 10.10 incrementally upgraded since ~8.04, so the problem may
not exist in fresh 10.10 installs

ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: alsa-utils 1.0.23-2ubuntu3.3
ProcVersionSignature: Ubuntu 2.6.35-22.35-server 2.6.35.4
Uname: Linux 2.6.35-22-server x86_64
Architecture: amd64
Date: Thu Oct 21 13:28:34 2010
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
SourcePackage: alsa-utils
Title: package alsa-utils 1.0.23-2ubuntu3.3 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1

** Affects: alsa-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package maverick

-- 
package alsa-utils 1.0.23-2ubuntu3.3 failed to install/upgrade: postinst 
expects /proc/asound/cardconfigure/id
https://bugs.launchpad.net/bugs/664804
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to