postinst fails: /proc/asound/cardconfigure/id doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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 --configure -a
Setting up alsa-utils (1.0.23-2ubuntu3.3) ...
+ S=/etc/
+ [ -f /etc/modprobe.
+ dpkg --compare-versions 1.0.23-2ubuntu3.2 le 1.0.23-2ubuntu3.3
+ cat /proc/asound/
+ 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/
stat: cannot stat `/proc/
#
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
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Fri Oct 22 05:22:30 2010
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=de_DE.utf8
SHELL=/bin/bash
SourcePackage: alsa-utils
duplicate 664645