You are not logged in.

#1 2025-07-12 12:35

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,422

Q4OS 6 Trixie winehq - fix for gotcha with libasound2-plugins error

This probably won't affect too many people here but I'll mention it just in case.
Testing Q4O6 6 Alpha 8 Plasma
Basic install in Virtualbox VM
Configure to taste via settings
Add Firefox-ESR and mc
Snapshot.

I want to be able to use Wine with WINEARCH=wow64 and this comes out of wine-hq.
So, set up wine-hq sources etc via the info https://gitlab.winehq.org/wine/wine/-/w … ian-Ubuntu
Nothing dramatic here just follow the dots.

Go to install winehq-devel and things go a bit wrong:-

unpacking libasound2-plugins:amd64 (1.2.12-2+b1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-P9PAQu/206-libasound2-plugins_1.2.12-2+b1_amd64.deb (--unpack):
 trying to overwrite shared '/etc/alsa/conf.d/99-pulseaudio-default.conf.example', which is different from other instances of package libasound2-plugins:amd64

followed by:-

Unpacking winehq-devel (10.12~trixie-1) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-P9PAQu/206-libasound2-plugins_1.2.12-2+b1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Puzzling and seemingly irreversible no matter what you do with the package.

Go back to earlier Snapshot.

robin@plasma:~$ sudo apt search libasound2-plugins
libasound2-plugins/testing,now 1.2.12-2+b1 amd64 [residual-config]
  ALSA library additional plugins

So, it was there to start with (in part). Odd.

robin@plasma:/etc/alsa/conf.d$ ls
50-pipewire.conf > /usr/share/alsa/alsa.conf.d/50-pipewire.conf
99-pipewire-default.conf > /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
99-pulseaudio-default.conf.example > no symlink target

As this is the previous snapshot re-run the winehq-devel install and it fails as expected.
The install includes both amd64 and i386 versions of libasound2-plugins
The i386 version unpacks OK 4 packages before the amd64
The amd64 fails to unpack correctly
Look in package data for both debs and sure enough they both include 99-pulseaudio-default.conf.example with no symlink.

Have a look at what files have been added:-

robin@plasma:/etc/alsa/conf.d$ ls
10-rate-lav.conf      50-jack.conf        60-a52-encoder.conf  98-usb-stream.conf
10-samplerate.conf    50-oss.conf         60-speex.conf        99-pipewire-default.conf
10-speexrate.conf     50-pipewire.conf    60-upmix.conf        99-pulseaudio-default.conf.example
50-arcam-av-ctl.conf  50-pulseaudio.conf  60-vdownmix.conf

All are symlinked apart from the .example file

Delete 99-pulseaudio-default.conf.example (which isn't pointing to anything anyway)

robin@plasma:/etc/alsa/conf.d$ sudo apt install -f
Correcting dependencies... Done 
Installing dependencies:
  libasound2-plugins

All good.

I am not sure why or how how this is happening - presumably some sort of clash when the different arch files are unpacking the same items - possibly.

Anyhoo - this is just for info and possible help to someone.

Offline

Board footer

Powered by FluxBB