Fedora-43-Post-Install-Guide icon indicating copy to clipboard operation
Fedora-43-Post-Install-Guide copied to clipboard

One of the codec commands doesn't work

Open da3dsoul1 opened this issue 1 year ago • 8 comments

sudo dnf update @sound-and-video # Installs useful Sound and Video complement packages.

This commands shows an error in the console: Module or Group 'sound-and-video' is not installed. Error: No group marked for upgrade.

da3dsoul1 avatar Aug 25 '24 11:08 da3dsoul1

Did you install the rpm fusion repos?

Try running sudo dnf group install 'Sound and Video'

devangshekhawat avatar Aug 29 '24 16:08 devangshekhawat

I have tried this previously and run into nothing being installed, I tried this today and got the same results:

$ sudo dnf group install 'Sound and Video'
[sudo] password for <user>: 
Last metadata expiration check: 1:10:07 ago on Sat 31 Aug 2024 06:42:38 PM EDT.
Dependencies resolved.
================================================================================
 Package           Architecture     Version             Repository         Size
================================================================================
Installing Groups:
 Sound and Video                                                               

Transaction Summary
================================================================================

Is this ok [y/N]: y
Complete!

I've tried a little experiment and it says it's installed but nothing is removed when I uninstall the group

$ sudo dnf group install 'Sound and Video'
Last metadata expiration check: 1:13:11 ago on Sat 31 Aug 2024 06:42:38 PM EDT.
Dependencies resolved.
====================================================================================================
 Package                Architecture          Version                  Repository              Size
====================================================================================================
Installing Groups:
 Sound and Video                                                                                   

Transaction Summary
====================================================================================================

Is this ok [y/N]: y
Complete!
$ sudo dnf group list
Last metadata expiration check: 1:13:16 ago on Sat 31 Aug 2024 06:42:38 PM EDT.
Available Environment Groups:
   Fedora Custom Operating System
   Minimal Install
   Fedora Server Edition
   Fedora Workstation
   Fedora Cloud Server
   KDE Plasma Workspaces
   Phosh Desktop
   LXDE Desktop
   LXQt Desktop
   Cinnamon Desktop
   MATE Desktop
   Sugar Desktop Environment
   Deepin Desktop
   Budgie Desktop
   Development and Creative Workstation
   Web Server
   Infrastructure Server
   Basic Desktop
   i3 desktop
   Sway Desktop
Installed Environment Groups:
   Xfce Desktop
Installed Groups:
   Administration Tools
   Desktop accessibility
   Fonts
   Hardware Support
   Sound and Video
Available Groups:
   3D Printing
   Audio Production
   Authoring and Publishing
   Budgie
   Budgie Desktop Applications
   C Development Tools and Libraries
   Cloud Infrastructure
   Cloud Management Tools
   Compiz
   Container Management
   D Development Tools and Libraries
   Design Suite
   Development Tools
   Domain Membership
   Editors
   Educational Software
   Electronic Lab
   Engineering and Scientific
   FreeIPA Server
   Headless Management
   KDE Frameworks 6 Software Development
   LibreOffice
   MATE Applications
   Milkymist
   Network Servers
   Neuron Modelling Simulators
   Office/Productivity
   Python Classroom
   Python Science
   Robotics
   RPM Development Tools
   Security Lab
   Sway Window Manager (supplemental packages)
   Text-based Internet
   VideoLAN Client
   Window Managers
   GNOME Desktop Environment
   Graphical Internet
   KDE (K Desktop Environment)
   Games and Entertainment
   System Tools
$ sudo dnf group erase 'Sound and Video'
Dependencies resolved.
====================================================================================================
 Package                Architecture          Version                  Repository              Size
====================================================================================================
Removing Groups:
 Sound and Video                                                                                   

Transaction Summary
====================================================================================================

Is this ok [y/N]: y
Complete!

sudo-wanderingsoul avatar Aug 31 '24 23:08 sudo-wanderingsoul

The 'Fonts' and 'Multimedia' groups seem to work as expected when I try to uninstall them (Multimedia results below):

$ sudo dnf group erase Multimedia
Dependencies resolved.
====================================================================================================
 Package                       Arch   Version                         Repository               Size
====================================================================================================
Removing:
 PackageKit-gstreamer-plugin   x86_64 1.2.8-5.fc40                    @updates                 24 k
 gstreamer1-plugin-libav       x86_64 1.24.7-1.fc40                   @updates                423 k
 gstreamer1-plugin-openh264    x86_64 1.24.7-1.fc40                   @updates                 72 k
 gstreamer1-plugins-bad-freeworld
                               x86_64 1:1.24.6-1.fc40                 @rpmfusion-free-updates 546 k
 gstreamer1-plugins-ugly       x86_64 1:1.24.6-1.fc40                 @rpmfusion-free-updates 222 k
 gstreamer1-plugins-ugly-free  x86_64 1.24.7-1.fc40                   @updates                676 k
 libva-intel-media-driver      x86_64 24.2.5-1.fc40                   @updates                7.6 M
 pipewire-gstreamer            x86_64 1.0.7-2.fc40                    @updates                133 k
 pipewire-utils                x86_64 1.0.7-2.fc40                    @updates                1.0 M
Removing unused dependencies:
 faad2-libs                    x86_64 1:2.11.1-2.fc40                 @rpmfusion-free         588 k
 intel-gmmlib                  x86_64 22.3.20-1.fc40                  @updates                631 k
 liba52                        x86_64 0.7.4-48.fc40                   @anaconda                86 k
 libmpeg2                      x86_64 0.5.1-29.fc40                   @anaconda               179 k
 librtmp                       x86_64 2.4-24.20210219.gitf1b83c1.fc40 @rpmfusion-free         161 k
 mjpegtools-libs               x86_64 2.2.1-5.fc40                    @rpmfusion-free         421 k
 svt-hevc-libs                 x86_64 1.5.1-6.fc40                    @rpmfusion-free         2.1 M
Removing Groups:
 Multimedia                                                                                        

Transaction Summary
====================================================================================================
Remove  16 Packages

Freed space: 15 M
Is this ok [y/N]: n
Operation aborted.

sudo-wanderingsoul avatar Sep 01 '24 00:09 sudo-wanderingsoul

I think I found something but I'm not sure if this is by design or not:

sudo dnf -v group info 'Sound and Video' lists out the packages that are part of the group, but the only packages listed are optional or conditional

So based on that I ran sudo dnf group install --with-optional 'Sound and Video' and ran into this:

$ sudo dnf group install --with-optional 'Sound and Video'
Last metadata expiration check: 1:38:16 ago on Sat 31 Aug 2024 06:42:38 PM EDT.
Error: 
 Problem: conflicting requests
  - package audacity-freeworld-3.4.2-2.fc40.x86_64 from rpmfusion-free conflicts with audacity provided by audacity-3.4.2-1.fc40.x86_64 from fedora
  - package audacity-freeworld-3.6.1-1.fc40.x86_64 from rpmfusion-free-updates conflicts with audacity provided by audacity-3.4.2-1.fc40.x86_64 from fedora
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

sudo-wanderingsoul avatar Sep 01 '24 00:09 sudo-wanderingsoul

Ah.

$ sudo dnf group install --with-optional --skip-broken 'Sound and Video'

looks to work as expected.

--allowerasing and --best don't do anything different (in this particular case). When installing, the 'audacity-freeworld' package is skipped in favor of the non-freeworld package.

sudo-wanderingsoul avatar Sep 01 '24 00:09 sudo-wanderingsoul

I'm facing the same issue on a fresh install.

ConEstArthur avatar Sep 04 '24 17:09 ConEstArthur

I'm facing the same issue on a fresh install.

Have you tried running sudo dnf group install --with-optional --skip-broken 'Sound and Video' ?

sudo-wanderingsoul avatar Sep 04 '24 19:09 sudo-wanderingsoul

I'm facing the same issue on a fresh install.

Have you tried running sudo dnf group install --with-optional --skip-broken 'Sound and Video' ?

Yes, as I'm trying it right now I can see there are so many packages left to install. 1.9gb download size.

And I got two conflicts first being audacity-freeworld and second being pipewire-jack-audio-connection-kit.

Edit:- Actually these are just redundant packages. This command basically installs every package in that group which is not ideal. Hoping for a better solution.

ConEstArthur avatar Sep 04 '24 21:09 ConEstArthur

I've tried my fair share of tweaks and cannot come up with the original cause of whats causing this issue for now. It seems to "just work" on some devices and on some it does not. When I come across a relevant solution I will make sure to incorporate it into the guide, meanwhile if anyone reading this also has some leads do let me know.

devangshekhawat avatar Dec 08 '24 10:12 devangshekhawat

I've tried my fair share of tweaks and cannot come up with the original cause of whats causing this issue for now.

Just for the heads-up, in Fedora 41, using small 'm' in multimedia group command yields more useful packages.

ConEstArthur avatar Dec 08 '24 10:12 ConEstArthur

Just for the heads-up, in Fedora 41, using small 'm' in multimedia group command yields more useful packages.

Interesting, can you please tell me more about it? like the source and anything else that would be relevant for example.

devangshekhawat avatar Dec 08 '24 10:12 devangshekhawat

Interesting, can you please tell me more about it? like the source and anything else that would be relevant for example.

https://www.reddit.com/r/Fedora/comments/1ft8ri4/are_there_any_other_media_codecs_i_need_to_install/

I've seen it here and some other thread as well. You would have to use mix of dnf4 and dnf5 to get every relevant package installed I think. During my last install I had to use sudo dnf4 group update core Since 'update' is not recognisable term for dnf5 anymore as to how it handle groups.

ConEstArthur avatar Dec 08 '24 10:12 ConEstArthur

Made the changes, thanks for your contribution.

devangshekhawat avatar Dec 09 '24 13:12 devangshekhawat

Hey thanks for making this guide, I believe sudo dnf config-manager --set-enabled fedora-cisco-openh264 Should be updated to: sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1

The former was giving me an error regarding --set-enabled not being valid.

Thank you for making this again!

JerodBurnett avatar Dec 12 '24 02:12 JerodBurnett

Hey thanks for making this guide, I believe sudo dnf config-manager --set-enabled fedora-cisco-openh264 Should be updated to: sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1

The former was giving me an error regarding --set-enabled not being valid.

Thank you for making this again!

Made the necessary changes in the guide. Thank you for your input!

devangshekhawat avatar Dec 12 '24 08:12 devangshekhawat

Fixed

devangshekhawat avatar Feb 05 '25 15:02 devangshekhawat