Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1925706 - Installing `pipewire-pulseaudio` removes bash-completions for pulseaudio-utils
Summary: Installing `pipewire-pulseaudio` removes bash-completions for pulseaudio-utils
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1906086
TreeView+ depends on / blocked
 
Reported: 2021-02-05 22:24 UTC by ojab
Modified: 2021-06-12 05:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-06 15:33:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description ojab 2021-02-05 22:24:46 UTC
Description of problem:

bash-completions for all utils are in `pulseaudio` package and are symlinks to `pulseaudio` completion file

```
$ ls -larth /usr/share/bash-completion/completions/pactl
lrwxrwxrwx. 1 root root 10 Nov 24 18:50 /usr/share/bash-completion/completions/pactl -> pulseaudio
```

Version-Release number of selected component (if applicable):
pipewire-pulseaudio-0.3.21-2.fc33.x86_64

How reproducible:
Always


Steps to Reproduce:
1. `sudo dnf install pipewire-pulseaudio --allowerasing`
 
Actual results:
`pactl [Tab][Tab]` does not complete anything


Expected results:
`pactl [Tab][Tab]` provides completions


Additional info:

Comment 1 Neal Gompa 2021-02-06 14:18:06 UTC
This is a PulseAudio packaging bug.

Comment 2 Rex Dieter 2021-02-06 15:31:17 UTC
I'll take a look

Comment 3 Rex Dieter 2021-02-06 15:33:21 UTC
fixed in rawhide,

 %changelog
+* Sat Feb 06 2021 Rex Dieter <rdieter> - 14.2-3
+- -utils: move appropriate bash completions here (#1925706)

will likely not do a f33 update just for this, but will be rolled into any future update.

Comment 4 ojab 2021-06-12 05:53:09 UTC
Sorry for late reopen, but completions itself (not symlinks) are still in `/usr/share/bash-completion/completions/pulseaudio` file and `pulseaudio` package:
```
$ ls -larth /usr/share/bash-completion/completions/pactl 
lrwxrwxrwx. 1 root root 10 Feb  6 18:52 /usr/share/bash-completion/completions/pactl -> pulseaudio
$ dnf provides /usr/share/bash-completion/completions/pulseaudio
pulseaudio-14.2-3.fc34.x86_64 : Improved Linux Sound Server
Repo        : fedora
Matched from:
Filename    : /usr/share/bash-completion/completions/pulseaudio

$ sudo dnf install pulseaudio-14.2-3.fc34.x86_64
Error: 
 Problem: problem with installed package pipewire-pulseaudio-0.3.30-2.fc34.x86_64
  - package pipewire-pulseaudio-0.3.30-2.fc34.x86_64 conflicts with pulseaudio provided by pulseaudio-14.2-3.fc34.x86_64
  - package pipewire-pulseaudio-0.3.30-2.fc34.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-14.2-3.fc34.x86_64
  - package pulseaudio-14.2-3.fc34.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.30-2.fc34.x86_64
  - package pipewire-pulseaudio-0.3.25-1.fc34.x86_64 conflicts with pulseaudio provided by pulseaudio-14.2-3.fc34.x86_64
  - package pipewire-pulseaudio-0.3.25-1.fc34.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-14.2-3.fc34.x86_64
  - package pulseaudio-14.2-3.fc34.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.25-1.fc34.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
```
thus it still not possible to use `pactl [Tab][Tab]` on the system using pipewire.


Note You need to log in before you can comment on or make changes to this bug.