devangshekhawat / Fedora-40-Post-Install-Guide

Things to do after installing Fedora 40
787 stars 76 forks source link

One of the codec commands doesn't work #20

Open da3dsoul1 opened 3 months ago

da3dsoul1 commented 3 months ago

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 commented 3 months ago

Did you install the rpm fusion repos?

Try running sudo dnf group install 'Sound and Video'

sudo-wanderingsoul commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

sudo-wanderingsoul commented 2 months ago

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 commented 2 months ago

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.