Dnf mark group doesn't work?

The workstation-product group was installed like this

$ sudo dnf group install workstation-product --exclude toolbox,mediawriter,gnome-shell-extension-background-logo,fros-gnome,fedora-workstation-repositories,fedora-chromium-config,unoconv,rhythmbox,fedora-flathub-remote,abrt-cli,abrt-desktop

After the install some packages in the group are marked user installed?

dnf repoquery
$ dnf repoquery --installed --queryformat "%{name} %{reason}\n" | grep "User"
authselect User
btrfs-progs User
chrony User
dosfstools User
efibootmgr User
flatpak User
gnome-browser-connector User
kernel User
langpacks-en User
nvme-cli User
sdubby User
systemd-boot-unsigned User
systemd-udev User
terra-release User
zed User

So I tried to change their marks:

dnf mark group workstation-product
$ sudo dnf mark group workstation-product btrfs-progs chrony dosfstools systemd-udev
Package                                                                           Arch              Version                                                                           Repository                                         Size
Changing reason:
 btrfs-progs                                                                      x86_64            6.11-1.fc41                                                                       @System                                         6.3 MiB
   User -> Group                                                                                                                                                                                                                             
 chrony                                                                           x86_64            4.6.1-1.fc41                                                                      @System                                       668.9 KiB
   User -> Group                                                                                                                                                                                                                             
 dosfstools                                                                       x86_64            4.2-13.fc41                                                                       @System                                       241.1 KiB
   User -> Group                                                                                                                                                                                                                             
 systemd-udev                                                                     x86_64            256.7-1.fc41                                                                      @System                                        11.8 MiB
   User -> Group                                                                                                                                                                                                                             

Transaction Summary:
 Changing reason:    4 packages

After this operation, 0 B extra will be used (install 0 B, remove 0 B).
Is this ok [y/N]: y

Running transaction

Complete!

But then when I tried the repoquery for user install again, it’s exactly the same, nothing changed?

1 Like
1 Like