Re: some dnf dependency quirks in rawhide?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 6, 2022 at 10:34 PM Marius Schwarz <fedoradev@xxxxxxxxxxxx> wrote:
>
> Hi,
>
> deinstalling the rpmfusion package
> "pulseaudio-module-bluetooth-freeworld", which should not be required by
> anything:
>
> [root@fedorapine ~]# rpm -q --whatrequires
> pulseaudio-module-bluetooth-freeworld
> Kein Paket benötigt pulseaudio-module-bluetooth-freeworld
> (no package needs ... )

Looks like you fell into the trap of not considering "virtual provides".
The rpm query you pasted above only queries for exact matches, but not
for dependencies on virtual provides provided by the package of the
same name.

If you run this query in dnf, it will resolve those virtual provides,
and give you the expected results (on my F35 system):
$ sudo dnf repoquery --whatrequires pulseaudio-module-bluetooth-freeworld
bluedevil-0:5.22.5-1.fc35.i686
bluedevil-0:5.22.5-1.fc35.x86_64
bluedevil-0:5.23.5-1.fc35.i686
bluedevil-0:5.23.5-1.fc35.x86_64
blueman-1:2.2.2-1.fc35.x86_64
blueman-1:2.2.3-1.fc35.x86_64
gnome-bluetooth-1:3.34.5-2.fc35.i686
gnome-bluetooth-1:3.34.5-2.fc35.x86_64

To check what the package actually provides, you can use (results from
F35 as well):
$ sudo dnf repoquery --provides pulseaudio-module-bluetooth-freeworld
libbluez5-util.so()(64bit)
pulseaudio-module-bluetooth = 15.0-100
pulseaudio-module-bluetooth-freeworld = 1.4-8.fc35
pulseaudio-module-bluetooth-freeworld(x86-64) = 1.4-8.fc35

So the while bunch of packages that get removed are caused by GNOME
depending on gnome-bluetooth, which depends on
pulseaudio-module-bluetooth, which is provided by
pulseaudio-module-bluetooth-freeworld on your system.

If you really want to get rid of the -freeworld package from
RPMFusion, you'll need to swap it out with one of the packages that
provides pulseaudio-module-bluetooth:

$ sudo dnf repoquery --whatprovides pulseaudio-module-bluetooth
pipewire-pulseaudio-0:0.3.38-1.fc35.x86_64
pipewire-pulseaudio-0:0.3.45-1.fc35.x86_64
pulseaudio-module-bluetooth-0:15.0-2.fc35.x86_64
pulseaudio-module-bluetooth-freeworld-0:1.4-8.fc35.x86_64

So, assuming you want the plugin for PipeWire, that would be:
$ sudo dnf swap pulseaudio-module-bluetooth-freeworld pipewire-pulseaudio

Hope that helps.

Fabio
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux