Skip to contentSkip to conversation

conflict between alsa-lib and libasound2-data regarding alsa.conf file:

DISCUSSION arne 3 participants 3 messages Oct 23, 2017 – Oct 24, 2017

lore
Share & tools
lore

arne

author
#0 lore raw

Hi,

Debian conflicts between alsa-lib_1.1.4 and libasound2-data 1.1.3:

in the source tree of alsa-lib I do:

./configure && make && sudo checkinstall

and the result is:

Unpacking alsa-lib (1.1.4.1-1) ...
dpkg: error processing
archive /home/temp/alsa-lib-1.1.4.1/alsa-lib_1.1.4.1-1_amd64.deb (--install): trying to overwrite '/usr/share/alsa/alsa.conf', which is also in package libasound2-data 1.1.3-5

This is on a Debian amd64 stable computer

Thanks!

#1 lore raw
Quoted 8 lines · arne

Hi,

Debian conflicts between alsa-lib_1.1.4 and libasound2-data 1.1.3:

in the source tree of alsa-lib I do:

./configure && make && sudo checkinstall

Quoted 7 lines

and the result is:

Unpacking alsa-lib (1.1.4.1-1) ...
dpkg: error processing
archive /home/temp/alsa-lib-1.1.4.1/alsa-lib_1.1.4.1-1_amd64.deb (--install): trying to overwrite '/usr/share/alsa/alsa.conf', which is also in package libasound2-data 1.1.3-5

This is a Debian packaging issue. It's better to contact the Debian alsa-lib package maintainer(s) directly.

Signature · 3 lines
Tanu

https://www.patreon.com/tanuk
#2 lore raw

Hi,

Quoted 11 lines · Tanu Kaskinen
Quoted 10 lines · arne

Hi,

Debian conflicts between alsa-lib_1.1.4 and libasound2-data 1.1.3:

in the source tree of alsa-lib I do:

./configure && make && sudo checkinstall

and the result is:

Quoted 8 lines
Quoted 5 lines

Unpacking alsa-lib (1.1.4.1-1) ...
dpkg: error processing
archive /home/temp/alsa-lib-1.1.4.1/alsa-lib_1.1.4.1-1_amd64.deb (--install): trying to overwrite '/usr/share/alsa/alsa.conf', which is also in package libasound2-data 1.1.3-5

This is a Debian packaging issue. It's better to contact the Debian alsa-lib package maintainer(s) directly.

In debian upstream, libasound2 package based on alsa-lib v1.1.4 is not released yet[1]. I think you tried packaging by yourself.

As long as I know, for the 'alsa.conf' file itself, alsa-lib doesn't get any change. Furthermore, as long as I generate libasound2 package based on alsa-lib v1.1.4.1 release with handy-modified debian stuffs from v1.1.3 package, I cannot reproduce the bug.

$ dpkg-deb -c ../libasound2_1.1.4-1_amd64.deb
drwxr-xr-x root/root         0 2017-02-14 04:12 ./
drwxr-xr-x root/root         0 2017-02-14 04:12 ./usr/
drwxr-xr-x root/root         0 2017-02-14 04:12 ./usr/lib/
drwxr-xr-x root/root         0 2017-02-14 04:12 ./usr/lib/x86_64-linux-gnu/
-rw-r--r-- root/root   1087656 2017-02-14 04:12
./usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
drwxr-xr-x root/root         0 2017-02-14 04:12 ./usr/share/
drwxr-xr-x root/root         0 2017-02-14 04:12 ./usr/share/doc/
drwxr-xr-x root/root         0 2017-02-14 04:12 ./usr/share/doc/libasound2/
-rw-r--r-- root/root       841 2017-02-14 04:12
./usr/share/doc/libasound2/NEWS.Debian.gz
-rw-r--r-- root/root     18612 2017-02-14 04:12
./usr/share/doc/libasound2/changelog.Debian.gz
-rw-r--r-- root/root    119241 2017-02-14 04:12
./usr/share/doc/libasound2/changelog.gz
-rw-r--r-- root/root      1560 2017-02-14 04:12
./usr/share/doc/libasound2/copyright
drwxr-xr-x root/root         0 2017-02-14 04:12
./usr/share/doc/libasound2/examples/
-rw-r--r-- root/root      2879 2017-02-14 04:12
./usr/share/doc/libasound2/examples/asoundrc.txt.gz
lrwxrwxrwx root/root         0 2017-02-14 04:12
./usr/lib/x86_64-linux-gnu/libasound.so.2 -> libasound.so.2.0.0

I doubt that you have some mistakes in your procedure to packaging for it. Anyway, this doesn't matter to ALSA upstream. Please have conversation in any debian community activity.

[1] https://packages.debian.org/search?keywords=libasound2

Regards

Takashi Sakamoto