Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One of the codec commands doesn't work #20

Open
da3dsoul1 opened this issue Aug 25, 2024 · 15 comments
Open

One of the codec commands doesn't work #20

da3dsoul1 opened this issue Aug 25, 2024 · 15 comments

Comments

@da3dsoul1
Copy link

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.

@devangshekhawat
Copy link
Owner

Did you install the rpm fusion repos?

Try running
sudo dnf group install 'Sound and Video'

@sudo-wanderingsoul
Copy link

sudo-wanderingsoul commented Aug 31, 2024

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
Copy link

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
Copy link

sudo-wanderingsoul commented Sep 1, 2024

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
Copy link

sudo-wanderingsoul commented Sep 1, 2024

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.

@ConEstArthur
Copy link

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

@sudo-wanderingsoul
Copy link

sudo-wanderingsoul commented Sep 4, 2024

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' ?

@ConEstArthur
Copy link

ConEstArthur commented Sep 4, 2024

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.

@devangshekhawat
Copy link
Owner

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.

@ConEstArthur
Copy link

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.

@devangshekhawat
Copy link
Owner

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.

@ConEstArthur
Copy link

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.

@devangshekhawat
Copy link
Owner

Made the changes, thanks for your contribution.

@JerodBurnett
Copy link

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!

@devangshekhawat
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants