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 removed: verification-needed verification-needed-lunar
** Tags added: verification-done verification-done-lunar

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

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

Status in ubuntustudio-meta package in Ubuntu:
  Fix Released
Status in ubuntustudio-meta source package in Lunar:
  Fix Committed
Status in ubuntustudio-meta source package in Mantic:
  Fix Released

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.

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


-- 
Mailing list: https://launchpad.net/~ubuntustudio-bugs
Post to     : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to