[Pkg-alsa-devel] Re: alsa-base break !

Ludovic watteaux lebaronlibre@free.fr
Tue, 25 Jan 2005 12:06:03 +0000


> Please do the following.  Edit the first line
> of /var/lib/dpkg/info/alsa-base.postinst to make it:
>
>     #!/bin/bash -x
>
> and then, as root, run:
>
>     /var/lib/dpkg/info/alsa-base.postinst configure
>
> and send the output.


 /var/lib/dpkg/info/alsa-base.postinst configure
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/alsa-base.postinst 
configure
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ db_version 2.0
+ _db_cmd 'VERSION 2.0'
+ echo 'VERSION 2.0'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=2.0
+ return 0
+ case "$1" in
+ conf_file=
+ '[' -f /etc/default/alsa ']'
+ conf_file=/etc/default/alsa
++ . /etc/default/alsa
++ echo '[2-5]'
+ runlevels_save='[2-5]'
++ . /etc/default/alsa
++ '[' '' ']'
++ echo ''
+ force_unload_modules_before_suspend=
+ db_get alsa-base/alsactl_store_on_shutdown
+ _db_cmd 'GET alsa-base/alsactl_store_on_shutdown'
+ echo 'GET alsa-base/alsactl_store_on_shutdown'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET='always autosave'
+ return 0
+ case "$RET" in
+ alsactl_store_on_shutdown='always autosave'
+ cat /usr/share/alsa-base/alsa.default
+ sed -e 's/alsactl_store_on_shutdown=.*/alsactl_store_on_shutdown="always 
autos
ave"/' -e 's/runlevels_save=.*/runlevels_save="[2-5]"/' -e 
's/force_unload_modul
es_before_suspend=.*/force_unload_modules_before_suspend=""/'
+ rm -f /etc/alsa/alsa-base.conf /etc/alsa-base.conf
+ '[' '!' -c /dev/audio ']'
+ '[' '!' -c /dev/dsp ']'
+ '[' '!' -c /dev/amixer ']'
+ devfs_is_active
+ test -e /dev/.devfsd
+ udev_is_active
+ test -e /dev/.udev.tdb
+ kernel_is_2_6_or_above
+ case "$(uname -r)" in
++ uname -r
+ return 0
+ return 0
+ for N in 0 1 2 3 4 5 6 7
+ D=/etc/dev.d/snd/controlC0
+ '[' -d /etc/dev.d/snd/controlC0 ']'
+ L=/etc/dev.d/snd/controlC0/alsa-base.dev
+ rm -f /etc/dev.d/snd/controlC0/alsa-base.dev
+ ln -s /lib/alsa/dev /etc/dev.d/snd/controlC0/alsa-base.dev
+ for N in 0 1 2 3 4 5 6 7
+ D=/etc/dev.d/snd/controlC1
+ '[' -d /etc/dev.d/snd/controlC1 ']'
+ L=/etc/dev.d/snd/controlC1/alsa-base.dev
+ rm -f /etc/dev.d/snd/controlC1/alsa-base.dev
+ ln -s /lib/alsa/dev /etc/dev.d/snd/controlC1/alsa-base.dev
+ for N in 0 1 2 3 4 5 6 7
+ D=/etc/dev.d/snd/controlC2
+ '[' -d /etc/dev.d/snd/controlC2 ']'
+ L=/etc/dev.d/snd/controlC2/alsa-base.dev
+ rm -f /etc/dev.d/snd/controlC2/alsa-base.dev
+ ln -s /lib/alsa/dev /etc/dev.d/snd/controlC2/alsa-base.dev
+ for N in 0 1 2 3 4 5 6 7
+ D=/etc/dev.d/snd/controlC3
+ '[' -d /etc/dev.d/snd/controlC3 ']'
+ L=/etc/dev.d/snd/controlC3/alsa-base.dev
+ rm -f /etc/dev.d/snd/controlC3/alsa-base.dev
+ ln -s /lib/alsa/dev /etc/dev.d/snd/controlC3/alsa-base.dev
+ for N in 0 1 2 3 4 5 6 7
+ D=/etc/dev.d/snd/controlC4
+ '[' -d /etc/dev.d/snd/controlC4 ']'
+ L=/etc/dev.d/snd/controlC4/alsa-base.dev
+ rm -f /etc/dev.d/snd/controlC4/alsa-base.dev
+ ln -s /lib/alsa/dev /etc/dev.d/snd/controlC4/alsa-base.dev
+ for N in 0 1 2 3 4 5 6 7
+ D=/etc/dev.d/snd/controlC5
+ '[' -d /etc/dev.d/snd/controlC5 ']'
+ L=/etc/dev.d/snd/controlC5/alsa-base.dev
+ rm -f /etc/dev.d/snd/controlC5/alsa-base.dev
+ ln -s /lib/alsa/dev /etc/dev.d/snd/controlC5/alsa-base.dev
+ for N in 0 1 2 3 4 5 6 7
+ D=/etc/dev.d/snd/controlC6
+ '[' -d /etc/dev.d/snd/controlC6 ']'
+ L=/etc/dev.d/snd/controlC6/alsa-base.dev
+ rm -f /etc/dev.d/snd/controlC6/alsa-base.dev
+ ln -s /lib/alsa/dev /etc/dev.d/snd/controlC6/alsa-base.dev
+ for N in 0 1 2 3 4 5 6 7
+ D=/etc/dev.d/snd/controlC7
+ '[' -d /etc/dev.d/snd/controlC7 ']'
+ L=/etc/dev.d/snd/controlC7/alsa-base.dev
+ rm -f /etc/dev.d/snd/controlC7/alsa-base.dev
+ ln -s /lib/alsa/dev /etc/dev.d/snd/controlC7/alsa-base.dev
+ rm -f /etc/alsa/dev.d/alsa-base.dev
+ ALREADY_LINKED=no
+ for F in '/etc/apm/suspend.d/??alsa'
+ already_linked_to_alsa /etc/apm/suspend.d/80alsa
+ '[' /etc/apm/suspend.d/80alsa ']'
+ '[' -L /etc/apm/suspend.d/80alsa ']'
+++ readlink /etc/apm/suspend.d/80alsa
++ basename ../scripts.d/alsa
+ '[' alsa = alsa ']'
+ return 0
+ ALREADY_LINKED=yes
+ break
+ '[' yes = yes ']'
+ ALREADY_LINKED=no
+ for F in '/etc/apm/resume.d/??alsa'
+ already_linked_to_alsa /etc/apm/resume.d/20alsa
+ '[' /etc/apm/resume.d/20alsa ']'
+ '[' -L /etc/apm/resume.d/20alsa ']'
+++ readlink /etc/apm/resume.d/20alsa
++ basename ../scripts.d/alsa
+ '[' alsa = alsa ']'
+ return 0
+ ALREADY_LINKED=yes
+ break
+ '[' yes = yes ']'
+ '[' -f /etc/apm/event.d/alsa ']'
+ for F in /etc/modutils/alsa /etc/modprobe.d/alsa
+ '[' -L /etc/modutils/alsa ']'
+ for F in /etc/modutils/alsa /etc/modprobe.d/alsa
+ '[' -L /etc/modprobe.d/alsa ']'
+ for D in modutils modprobe.d
+ F=/etc/modutils/sound
+ '[' -f /etc/modutils/sound ']'
+ continue
+ for D in modutils modprobe.d
+ F=/etc/modprobe.d/sound
+ '[' -f /etc/modprobe.d/sound ']'
+ F2=/etc/modprobe.d/sound.dpkg-new
+ cat /etc/modprobe.d/sound
+ grep -v -e '^install .* /usr/lib/alsa/modprobe-post-install' -e 
'^#.*Generated
 by ALSACONF' -e '^#.*ALSACONF verion'
+ grep -Fv -f /etc/modprobe.d/alsa-base