[SRU] Hard-Dependency on pipewire-pulse preventing audio config switch without packaging issues

Bug #2018695 reported by Erich Eickmeyer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntustudio-meta (Ubuntu)
Fix Released
High
Erich Eickmeyer
Lunar
Fix Released
High
Erich Eickmeyer
Mantic
Fix Released
High
Erich Eickmeyer

Bug Description

[Impact]

Ubuntu Studio introduced a way to switch between the new PipeWire-based audio configuration and the older JACK/PulseAudio-based audio configuration in the 23.04 release cycle. This was not without complications throughout the entire process as PulseAudio had become so deeply embedded that even the germinate seed had some assumptions that PulseAudio would never go away.

As such, in order to prevent PulseAudio dependencies from automatically installing where equivalent PipeWire alternatives exist via `pipewire-pulse`, `pipewire-pulse` had to be seeded as a pre-seed for the `ubuntustudio-audio` and `ubuntustudio-video` seeds in order to prevent image build failures.

However, since pipewire-pulse was seeded as a hard dependency and not as a recommends, when one went to switch to the pulseaudio configuration via the `ubuntstudio-pulseaudio-config` package, it would uninstall the ubuntustudio-audio and ubuntustudio-video metapackages. Upon attempting to reinstall those metapackages, it would reinstall pipewire-pulse, which would break the ubuntustudio-pulseaudio-config package.

A fix is to this would be as simple as demoting the pre-seed of pipewire-pulse to recommends.

[Test Case]

 * Install Ubuntu Studio 23.04

 * Install ubutustudio-pulseaudio-config
   - Notice ubuntustudio-audio and ubuntustudio-video would be REMOVED. This is not desired.

 * Further testing can continue from here, but removal of those two metapackages is proof enough of the breakage.

[Regression Potential]

The biggest regression potential in this would be that seeds in Mantic would have trouble building as a result of this change. I don't see this as happening as the entire point is to simply get it in before pulseaudio, and that happens regardless of depends or recommends.

[Other Information]

This issue was not caught as a seed update was done after beta freeze to fix an image build failure. A meta update was done just prior to final freeze by Steve Langasek and this issue was not tested. This issue was found by a user and brought up in IRC chat.

Changed in ubuntustudio-meta (Ubuntu Lunar):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Erich Eickmeyer (eeickmeyer)
Changed in ubuntustudio-meta (Ubuntu Mantic):
status: In Progress → Fix Committed
description: updated
summary: [SRU] Hard-Dependency on pipewire-pulse preventing audio config switch
+ without packaging issues
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntustudio-meta - 0.294

---------------
ubuntustudio-meta (0.294) mantic; urgency=medium

  * Refreshed dependencies
  * Moved pipewire-pulse to audio-recommends, video-recommends (LP: #2018695)

 -- Erich Eickmeyer <email address hidden> Sun, 07 May 2023 10:48:34 -0700

Changed in ubuntustudio-meta (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Erich, or anyone else affected,

Accepted ubuntustudio-meta into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntustudio-meta/0.293.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntustudio-meta (Ubuntu Lunar):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-lunar
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Installed all metapackages (0.293.1).

$ sudo apt install ubuntustudio-pulseaudio-config

[snip]

The following additional packages will be installed:
  libasound2-plugins libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-module-jack pulseaudio-utils python3-alsaaudio python3-cffi python3-jack-client python3-pycparser studio-controls zita-njbridge
The following packages will be REMOVED:
  pipewire-jack pipewire-pulse ubuntustudio-pipewire-config wireplumber

[snip]

This is expected as no metapackages are removed.

Furthermore, the regression did not occur as Mantic images have been building without issues.

tags: added: verification-done verification-done-lunar
removed: verification-needed verification-needed-lunar
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntustudio-meta - 0.293.1

---------------
ubuntustudio-meta (0.293.1) lunar; urgency=medium

  * Refreshed dependencies
  * Moved pipewire-pulse to audio-recommends, video-recommends (LP: #2018695)

 -- Erich Eickmeyer <email address hidden> Sun, 07 May 2023 09:46:19 -0700

Changed in ubuntustudio-meta (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for ubuntustudio-meta has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.