No package changes when running `group install 'Sound and Video'`

sudo dnf -v group install ‘Sound and Video’

Running the above gives a nil transaction summary but allows the operation. The same is true for the reverse. History shows one altered. This is all the logs show:

2021-08-18T03:15:34-0400 DEBUG → Starting dependency resolution
2021-08-18T03:15:34-0400 DEBUG → Finished dependency resolution
2021-08-18T03:15:34-0400 DDEBUG timer: depsolve: 29 ms
2021-08-18T03:15:34-0400 INFO Dependencies resolved.
2021-08-18T03:15:37-0400 DEBUG Completion plugin: Generating completion cache…
2021-08-18T03:15:37-0400 INFO Complete!
2021-08-18T03:15:37-0400 DDEBUG Cleaning up.

Removing doesn’t remove the packages I’ve installed on my own** and installing doesn’t install anything. If this is user error I’d like to be aware and if it’s a bug with DNF or the repo I’m happy to report it.

By the way what’s getting altered here in this case?

** I don’t know if this is expected behavior or not just an observation.

1 Like

I think that group has no mandatory or default packages to be installed:

sudo dnf -v group install 'Sound and Video'
[...]
Last metadata expiration check: 0:06:33 ago on Thu Aug 19 10:55:12 2021.
--> Starting dependency resolution
--> Finished dependency resolution
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                   Architecture                                             Version                                                   Repository                                                 Size
==============================================================================================================================================================================================================================================
Installing Groups:
 Sound and Video                                                                                                                                                                                                                             

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

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

If I run the dnf group info command on that group it shows the following:

sudo dnf group info 'Sound and Video'
Last metadata expiration check: 0:10:27 ago on Thu Aug 19 10:55:12 2021.
Group: Sound and Video
 Description: From CD recording to playing audio CDs and multimedia files, this package group allows you to work with sound and video on the system.
 Optional Packages:
   abcde
   alsamixergui
   amarok
   asunder
   audacious
   audacity
   banshee
   brasero
   cdcollect
   cdlabelgen
   cdparanoia
   cdrskin
   denemo
   dragon
   dvdauthor
   dvdisaster
   dvgrab
   easytag
   festvox-bdl-arctic-hts
   festvox-clb-arctic-hts
   festvox-rms-arctic-hts
   gcstar
   genisoimage
   gnome-sound-recorder
   grip
   gtk-v4l
   gtkpod
   icedax
   id3v2
   irstlm
   isomaster
   juk
   k3b
   kid3
   kmix
   kover
   kscd
   lingot
   lxmusic
   mikmod
   milkytracker
   mkvtoolnix-gui
   multimedia-menus
   mybashburn
   openfst-tools
   opengrm-ngram-tools
   paman
   paprefs
   parole
   pavucontrol
   pavumeter
   picard
   pipewire
   pipewire-jack-audio-connection-kit
   pipewire-pulseaudio
   pitivi
   pocketsphinx
   pocketsphinx-plugin
   qmmp
   qmmp-plugin-pack
   quodlibet
   rakarrack
   regionset
   rhythmbox
   rosegarden4
   sound-juicer
   soundconverter
   soundtracker
   sox
   sweep
   tagtool
   totem
   tvtime
   ucview
   v4l2ucp
   vdr
   vdr-epgsearch
   vdr-femon
   vdr-osdteletext
   vdr-remote
   vdr-skinsoppalusikka
   vdr-streamdev-client
   vdr-streamdev-server
   volumeicon
   vorbis-tools
   wodim
   xfburn
   xmms
   xmms-flac
   xmp

To install the optional packages, use sudo dnf group install --with-optional 'Sound and Video'

Here is a good overview of the package grouping: How to use and edit comps.xml for package groups - Fedora Project Wiki

Here you can find the dnf group documentation, including the --with-optional option: DNF Command Reference — dnf latest documentation

5 Likes