[Pkg-alsa-devel] Bug#340883: alsa-base: Wrong install scripts?

Robert Gomułka rgom at o2.pl
Sat Nov 26 17:48:46 UTC 2005


Package: alsa-base
Version: 1.0.10-1
Severity: normal

It happened while installing new version of alsa-base:

Preparing to replace alsa-base 1.0.9b-4 (using
..../alsa-base_1.0.10-1_all.deb) ...
Unpacking replacement alsa-base ...

Setting up alsa-base (1.0.10-1) ...
Installing new version of config file /etc/init.d/alsa ...

Setting up alsa-base (1.0.10-1) ...
Installing new version of config file /etc/init.d/alsa ...

Configuration file `/etc/modutils/alsa-base'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** alsa-base (Y/I/N/O/D/Z) [default=N] ? d

I gave d key to see the differences. They were visible for me.

Configuration file `/etc/modutils/alsa-base'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** alsa-base (Y/I/N/O/D/Z) [default=N] ?

Then I pressed enter key (by mistake, I wanted to install a new version).
But pressing enter (default = N) caused following message to be seen:

Installing new version of config file /etc/modprobe.d/alsa-base ...

Well, I thought to myself that I will try to compare and edit the  previous
config file manually.
But ... I couldn't find old file!
Only new one was present:

[~]$ ls -la /etc/modutils/alsa-base*
-rw-r--r-- 1 root root 8715 Nov 21 22:55
/etc/modutils/alsa-base.dpkg-dist

So I mv'ed it manually:

[~]$ mv /etc/modutils/alsa-base.dpkg-dist /etc/modutils/alsa-base

But:
- did I have this config file previously?
- what happened to it?
- why after selecting 'N' a new config was tried to be installed?
- why after installation I had no proper configuration file?

-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
| uppercase=bad)
|
||/ Name                      Version                   Description

+++-=========================-=========================-=====================
============================================= ii  libasound2               
 1.0.9-3                   ALSA library --- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.10rc1 (Mon Sep 12
 08:13:09 2005 UTC). --- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
0 [Live           ]: EMU10K1 - SB Live 5.1 [SB0220]
                     SB Live 5.1 [SB0220] (rev.10, serial:0x80651102) at
 0xa400, irq 21 --- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
crw-rw---- 1 root audio 116,  0 2005-11-23 19:30 controlC0
crw-rw---- 1 root audio 116,  4 2005-11-23 19:30 hwC0D0
crw-rw---- 1 root audio 116,  6 2005-11-23 19:30 hwC0D2
crw-rw---- 1 root audio 116,  8 2005-11-23 19:30 midiC0D0
crw-rw---- 1 root audio 116,  9 2005-11-23 19:30 midiC0D1
crw-rw---- 1 root audio 116, 10 2005-11-23 19:30 midiC0D2
crw-rw---- 1 root audio 116, 24 2005-11-23 19:30 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2005-11-23 19:30 pcmC0D0p
crw-rw---- 1 root audio 116, 25 2005-11-23 19:30 pcmC0D1c
crw-rw---- 1 root audio 116, 26 2005-11-23 19:30 pcmC0D2c
crw-rw---- 1 root audio 116, 18 2005-11-23 19:30 pcmC0D2p
crw-rw---- 1 root audio 116, 19 2005-11-23 19:30 pcmC0D3p
crw-rw---- 1 root audio 116,  1 2005-11-23 19:30 seq
crw-rw---- 1 root audio 116, 33 2005-11-23 19:30 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14rg
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.10-1      base package for ALSA and OSS
 soun ii  lsof                       4.76.dfsg.1-1 List open files.
ii  module-init-tools          3.2-pre9-4    tools for managing Linux kernel
 mo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.9a-4   ALSA utilities

Versions of packages libasound2 depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries
 an

-- debconf information:
  alsa-common/card-list:
* alsa-base/alsactl_store_on_shutdown: always autosave




More information about the Pkg-alsa-devel mailing list