Public bug reported:

Binary package hint: alsa-utils

The alsa-utils post installation script fails for me.

After adding "set -x" to the 4th line of /var/lib/dpkg/info/alsa-
utils.postinst I get:

# dpkg --configure -a
Setting up alsa-utils (1.0.23-2ubuntu3.3) ...
+ S=/etc/modprobe.d/sound
+ [ -f /etc/modprobe.d/sound ]
+ dpkg --compare-versions 1.0.23-2ubuntu3.2 le 1.0.23-2ubuntu3.3
+ cat /proc/asound/cardconfigure/id
+ id=
dpkg: error processing alsa-utils (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 alsa-utils
#

As to be expected:
# stat /proc/asound/cardconfigure/id
stat: cannot stat `/proc/asound/cardconfigure/id': No such file or directory
#

Assuming that $1 would contain the ALSA card ID here seems wrong, since
this $1 is cleary the "configure" argument to the postinst script in
this context. Instead the thing to do here is, I assume, for each ALSA
card, to check whether it is a "Panda" or "SDP4430" and (only) for every
one that is, to execute "alsactl init <card ID>". Patch attached.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: alsa-utils 1.0.23-2ubuntu3.3
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Fri Oct 22 05:22:30 2010
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=(custom, user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: alsa-utils

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


** Tags: amd64 apport-bug maverick

-- 
postinst fails: /proc/asound/cardconfigure/id doesn't exist
https://bugs.launchpad.net/bugs/664922
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