Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1020330: pipewire-pulse: Conflict with pulseaudio is badly resolved by apt full-upgrade

119 views
Skip to first unread message

Raphaël Hertzog

unread,
Sep 20, 2022, 4:30:04 AM9/20/22
to
Package: pipewire-pulse
Version: 0.3.58-1
Severity: important
X-Debbugs-Cc: rap...@freexian.com, seb...@debian.org, de...@lists.debian.org

APT will not let me upgrade pipewire-pulse to the latest version because
I have gnome-core installed. It will prefer to deinstall pipewire-pulse:

$ sudo apt full-upgrade
[...]
The following packages were automatically installed and are no longer required:
libappstream-glib8 libatk1.0-data libmalcontent-ui-0-0 libnautilus-extension1a libqpdf28
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
nautilus-extension-brasero pipewire-pulse
The following packages have been kept back:
python3-twisted-bin tryton-client
The following packages will be upgraded:
gstreamer1.0-pipewire libpipewire-0.3-0 libpipewire-0.3-modules libspa-0.2-modules nautilus
nautilus-data pipewire pipewire-bin
8 upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
Need to get 3958 kB of archives.
After this operation, 938 kB disk space will be freed.
Do you want to continue? [Y/n] n

If I try to force install pipewire-pulse, it will propose to remove
gnome-core:
$ LANG=C sudo apt install pipewire-pulse
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
hyphen-en-us libappstream-glib8 libatk1.0-data libbox2d2 libfreehand-0.1-1 libgsf-bin
libmalcontent-ui-0-0 libmspub-0.1-1 libpagemaker-0.0-0 libproxy1-plugin-gsettings
libproxy1-plugin-networkmanager libproxy1-plugin-webkit libqpdf28 libqxp-0.0-0 libreoffice-draw
libreoffice-gnome libreoffice-impress libzmf-0.0-0 mythes-en-us
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gstreamer1.0-pipewire libldacbt-abr2 libpipewire-0.3-0 libpipewire-0.3-modules libspa-0.2-bluetooth
libspa-0.2-modules pipewire pipewire-bin
The following packages will be REMOVED:
gnome gnome-core pulseaudio pulseaudio-module-bluetooth task-gnome-desktop
The following NEW packages will be installed:
libldacbt-abr2 libspa-0.2-bluetooth
The following packages will be upgraded:
gstreamer1.0-pipewire libpipewire-0.3-0 libpipewire-0.3-modules libspa-0.2-modules pipewire
pipewire-bin pipewire-pulse
7 upgraded, 2 newly installed, 5 to remove and 4 not upgraded.
Need to get 1993 kB of archives.
After this operation, 5930 kB disk space will be freed.
Do you want to continue? [Y/n] n

The only way to get the latest version is to manually provide the working
solution by indicating that we also need libspa-0.2-bluetooth (to satisfy
gnome-core's "pulseaudio-module-bluetooth | libspa-0.2-bluetooth" together
with its "pulseaudio | pipewire-pulse").

$ LANG=C sudo apt install pipewire-pulse libspa-0.2-bluetooth
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libappstream-glib8 libatk1.0-data libmalcontent-ui-0-0 libqpdf28
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gstreamer1.0-pipewire libldacbt-abr2 libpipewire-0.3-0 libpipewire-0.3-modules libspa-0.2-modules
pipewire pipewire-bin
The following packages will be REMOVED:
pulseaudio pulseaudio-module-bluetooth
The following NEW packages will be installed:
libldacbt-abr2 libspa-0.2-bluetooth
The following packages will be upgraded:
gstreamer1.0-pipewire libpipewire-0.3-0 libpipewire-0.3-modules libspa-0.2-modules pipewire
pipewire-bin pipewire-pulse
7 upgraded, 2 newly installed, 2 to remove and 4 not upgraded.
Need to get 1993 kB of archives.
After this operation, 5848 kB disk space will be freed.
Do you want to continue? [Y/n]

That looks like it will be a disaster for users doing a dist upgrade.
But I'm not sure what we can do about it.

-- System Information:
Debian Release: bookworm/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pipewire-pulse depends on:
ii init-system-helpers 1.65.2
ii pipewire 0.3.57-1

pipewire-pulse recommends no packages.

Versions of packages pipewire-pulse suggests:
pn libspa-0.2-bluetooth <none>
ii pulseaudio-utils 15.0+dfsg1-4+b1

-- no debconf information

Julian Andres Klode

unread,
Sep 20, 2022, 6:50:04 AM9/20/22
to
Yeah this seems a bad depends situation, it likely should be:


pulseaudio | pipewire-pulse, pulseaudio-module-bluetooth | pipewire-pulse, libspa-0.2-bluetooth | pulseaudio

Then the choice of pulseaudio vs pipewire-pulse should be respected
by the choice of bluetooth plugins.

Go hack it intou your Packages file and try out :D

--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en

Dylan Aïssi

unread,
Sep 20, 2022, 7:30:03 AM9/20/22
to
Le mar. 20 sept. 2022 à 12:45, Julian Andres Klode <j...@debian.org> a écrit :
>
> On Tue, Sep 20, 2022 at 10:18:21AM +0200, Raphaël Hertzog wrote:
>>
> > APT will not let me upgrade pipewire-pulse to the latest version because
> > I have gnome-core installed. It will prefer to deinstall pipewire-pulse:
> >
>
> Yeah this seems a bad depends situation, it likely should be:
>
>
> pulseaudio | pipewire-pulse, pulseaudio-module-bluetooth | pipewire-pulse, libspa-0.2-bluetooth | pulseaudio
>
> Then the choice of pulseaudio vs pipewire-pulse should be respected
> by the choice of bluetooth plugins.
>
> Go hack it intou your Packages file and try out :D
>

Thanks both!

gnome-core is switching from pulseaudio to pipewire [1] without an alternative
otherwise upgraders will stay with pulseaudio.
It would be nice to have the possibility to stay with the alternative
pulseaudio, but I think there is no easy way?

I suppose [1] is enough to fix this issue at least for gnome-core, others DE
will probably have a similar issue requiring this hack.

Best,
Dylan

[1] https://salsa.debian.org/gnome-team/meta-gnome3/-/commit/710d8e618101ae20eba7713fa7245ddfac19e7b3

Amr Ibrahim

unread,
Sep 28, 2022, 11:40:04 AM9/28/22
to
Package: pipewire-pulse
Version: 0.3.57-1
Followup-For: Bug #1020330

Hello,

I'm on Debian testing, and I think I have to wait to first upgrade gnome-core
to 1:42+8 in testing before upgrading pipewire to 0.3.58-2 in testing,
otherwise pipewire-pulse will get removed. I don't mind having pulseaudio
removed though.

pipewire 0.3.58-1 should probably have not been uploaded in unstable before
gnome-core 1:42+8, but meh! It is what it is!

Best,
Amr


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pipewire-pulse depends on:
ii init-system-helpers 1.65.2
ii pipewire 0.3.57-1

pipewire-pulse recommends no packages.

Versions of packages pipewire-pulse suggests:
ii libspa-0.2-bluetooth 0.3.57-1
ii pulseaudio-utils 16.1+dfsg1-2

-- no debconf information
0 new messages