Why dnf autoremove removing these codecs

I have recently installed Fedora 40 , updated it , followed rpm fusion guide for multimedia codecs installation then when at last i did sudo dnf autoremove to remove unnecessary stuff , its asking to remove these dependencies , can anyone explain and how to check if my system still has aptx support after performing dnf autoremove

You can mark the packages as user-installed, for example

sudo dnf mark install pipewire-codec-aptx

Whether or not you need that package, I don’t know. If you remove the packages and some functionality doesn’t work anymore, you will know, and you can install that package again. This time it will then be marked as user-installed, and immune to autoremove.

1 Like

Thanks for replying , I have performed the autoremove command , is there a way check what bluetooth codecs are still there in the system , this way i can figure out if that package was necessary or unnecessary

If everything works as it did before, then you probably didn’t need it.

1 Like

It looks like they are stored at /usr/lib64/spa-0.2/bluez5

$ ls -1 /usr/lib64/spa-0.2/bluez5
libspa-bluez5.so
libspa-codec-bluez5-aac.so
libspa-codec-bluez5-aptx.so
libspa-codec-bluez5-faststream.so
libspa-codec-bluez5-lc3.so
libspa-codec-bluez5-ldac.so
libspa-codec-bluez5-opus.so
libspa-codec-bluez5-sbc.so
1 Like

Thanks , much appreciated , libspa-codec-bluez5-aptx.so is missing , seems like it was a part of pipewire-codec-aptx , as i dont have any bluetooth headphone that support aptx , so i dont need it anymore , i will install it later when required

1 Like

On F40 I could get a loop of reinstalling and uninstalling some media packages (aptx sounds familiar) with RPM Fusion by doing dnf autoremove followed by dnf update on a multimedia-related group.

Probably worth a bug report, but I didn’t notice anything with the dnf autoremove packages being removed.