[Bug 2018695] [NEW] [SRU] Hard-Dependency on pipewire-pulse preventing audio config switch

Erich Eickmeyer 2018695 at bugs.launchpad.net
Sun May 7 17:37:37 UTC 2023


Public bug reported:

[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.

** Affects: ubuntustudio-meta (Ubuntu)
     Importance: High
     Assignee: Erich Eickmeyer (eeickmeyer)
         Status: In Progress

** Affects: ubuntustudio-meta (Ubuntu Lunar)
     Importance: High
     Assignee: Erich Eickmeyer (eeickmeyer)
         Status: In Progress

** Affects: ubuntustudio-meta (Ubuntu Mantic)
     Importance: High
     Assignee: Erich Eickmeyer (eeickmeyer)
         Status: In Progress

** Also affects: ubuntustudio-meta (Ubuntu Mantic)
   Importance: High
     Assignee: Erich Eickmeyer (eeickmeyer)
       Status: In Progress

** Also affects: ubuntustudio-meta (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Changed in: ubuntustudio-meta (Ubuntu Lunar)
       Status: New => In Progress

** Changed in: ubuntustudio-meta (Ubuntu Lunar)
   Importance: Undecided => High

** Changed in: ubuntustudio-meta (Ubuntu Lunar)
     Assignee: (unassigned) => Erich Eickmeyer (eeickmeyer)

-- 
You received this bug notification because you are a member of Ubuntu
Studio Development, which is subscribed to ubuntustudio-meta in Ubuntu.
https://bugs.launchpad.net/bugs/2018695

Title:
  [SRU] Hard-Dependency on pipewire-pulse preventing audio config switch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntustudio-meta/+bug/2018695/+subscriptions




More information about the Ubuntu-reviews mailing list