Dnf environment list shows Cinnamon Desktop twice

How is it possible and how to fix it?

$ dnf environment list
Updating and loading repositories:
Repositories loaded.
ID                                Name                                 Installed
custom-environment                Fedora Custom Operating System              no
workstation-product-environment   Fedora Workstation                          no
server-product-environment        Fedora Server Edition                       no
cloud-server-environment          Fedora Cloud Server                         no
kde-desktop-environment           KDE Plasma Workspaces                       no
kde-mobile-environment            KDE Plasma Mobile                           no
xfce-desktop-environment          Xfce Desktop                                no
phosh-desktop-environment         Phosh Desktop                               no
lxde-desktop-environment          LXDE Desktop                                no
lxqt-desktop-environment          LXQt Desktop                                no
cinnamon-desktop-environment      Cinnamon Desktop                            no
cinnamon-desktop-environment      Cinnamon Desktop                           yes
mate-desktop-environment          MATE Desktop                                no
sugar-desktop-environment         Sugar Desktop Environment                   no
budgie-desktop-environment        Budgie Desktop                              no
cosmic-desktop-environment        COSMIC Desktop                              no
developer-workstation-environment Development and Creative Workstation        no
basic-desktop-environment         Basic Desktop                               no
i3-desktop-environment            i3 desktop                                  no
miraclewm-desktop-environment     Miracle WM Desktop Environment              no
sway-desktop-environment          Sway Desktop                                no

This is Fedora 44 that was upgraded from Fedora 43 that was upgraded from Fedora 42.

Also:

$ sudo dnf group list | grep -i cinnamon
Updating and loading repositories:
Repositories loaded.

$ sudo dnf group install cinnamon-desktop
Updating and loading repositories:
Repositories loaded.
Package "firefox-151.0.2-1.fc44.x86_64" is already installed.
Package "NetworkManager-wwan-1:1.56.1-1.fc44.x86_64" is already installed.
Package "system-config-printer-1.5.18-17.fc44.x86_64" is already installed.
Package "NetworkManager-openconnect-gnome-1.2.10-11.fc44.x86_64" is already installed.
Package "NetworkManager-openvpn-gnome-1:1.12.5-4.fc44.x86_64" is already installed.
Package "NetworkManager-ppp-1:1.56.1-1.fc44.x86_64" is already installed.
Package "NetworkManager-vpnc-gnome-1:1.4.0-6.fc44.x86_64" is already installed.
Package "firewall-config-2.4.0-2.fc44.noarch" is already installed.
Package "gvfs-smb-1.60.0-1.fc44.x86_64" is already installed.
Package "initial-setup-gui-0.3.101-7.fc44.x86_64" is already installed.
Package "pipewire-pulseaudio-1.6.6-1.fc44.x86_64" is already installed.
Package "xdg-user-dirs-gtk-0.16-2.fc44.x86_64" is already installed.
Package "NetworkManager-adsl-1:1.56.1-1.fc44.x86_64" is already installed.
Package "abrt-desktop-2.17.8-3.fc44.x86_64" is already installed.
Package "gnome-disk-utility-46.1-4.fc44.x86_64" is already installed.
Package "gvfs-archive-1.60.0-1.fc44.x86_64" is already installed.
Package "nm-connection-editor-1.36.0-7.fc44.x86_64" is already installed.
Package "pidgin-2.14.14-4.fc44.x86_64" is already installed.
Package "pipewire-alsa-1.6.6-1.fc44.x86_64" is already installed.
Package "NetworkManager-bluetooth-1:1.56.1-1.fc44.x86_64" is already installed.
Package "NetworkManager-l2tp-gnome-1.52.2-1.fc44.x86_64" is already installed.
Package "NetworkManager-libreswan-gnome-1.2.30-3.fc44.x86_64" is already installed.
Package "NetworkManager-wifi-1:1.56.1-1.fc44.x86_64" is already installed.
Package "PackageKit-command-not-found-1.3.4-3.fc44.x86_64" is already installed.
Package "blueman-1:2.4.6-6.fc44.x86_64" is already installed.
Package "gnome-calculator-50.0-1.fc44.x86_64" is already installed.
Package "gnome-software-50.2-1.fc44.x86_64" is already installed.
Package "gstreamer1-plugins-ugly-free-1.28.3-1.fc44.x86_64" is already installed.
Package "gvfs-mtp-1.60.0-1.fc44.x86_64" is already installed.
Package "sane-backends-drivers-scanners-1.4.0-6.fc44.x86_64" is already installed.
Package "simple-scan-50.0-1.fc44.x86_64" is already installed.
Package "thunderbird-149.0.1-2.fc44.x86_64" is already installed.
Package "xfburn-0.7.2-4.fc44.x86_64" is already installed.
Package "NetworkManager-iodine-gnome-1.2.0-27.fc44.x86_64" is already installed.
Package "gnome-system-monitor-50.0-1.fc44.x86_64" is already installed.
Package "gvfs-gphoto2-1.60.0-1.fc44.x86_64" is already installed.
Package "hexchat-2.16.2-11.fc44.x86_64" is already installed.
Package "metacity-3.58.1-2.fc44.x86_64" is already installed.
Package "setroubleshoot-3.3.36-3.fc44.x86_64" is already installed.
Package "shotwell-33~alpha.2-1.fc44.x86_64" is already installed.
Package "transmission-4.1.1-2.fc44.x86_64" is already installed.
Package "eom-1.28.1-2.fc44.x86_64" is already installed.
Package "glycin-thumbnailer-2.1.1-1.fc44.x86_64" is already installed.
Package "mpv-0.41.0-5.fc44.x86_64" is already installed.
Package "qt6-qtwayland-adwaita-decoration-6.11.1-1.fc44.x86_64" is already installed.
Package "tmux-3.6b-1.fc44.x86_64" is already installed.
Package "cinnamon-6.6.7-5.fc44.x86_64" is already installed.
Package "cinnamon-control-center-6.6.0-3.fc44.x86_64" is already installed.
Package "cinnamon-screensaver-6.6.1-4.fc44.x86_64" is already installed.
Package "ffmpegthumbnailer-2.3.0-2.fc44.x86_64" is already installed.
Package "gnome-screenshot-41.0-13.fc44.x86_64" is already installed.
Package "gnome-terminal-3.60.0-1.fc44.x86_64" is already installed.
Package "nemo-fileroller-6.6.0-3.fc44.x86_64" is already installed.
Package "nemo-image-converter-6.6.0-3.fc44.x86_64" is already installed.
Package "nemo-preview-6.6.0-3.fc44.x86_64" is already installed.
Package "paper-icon-theme-1.5.0-20.20200312gitaa3e8af.fc44.noarch" is already installed.
Package "powerline-2.8.4-19.fc44.x86_64" is already installed.
Package "slick-greeter-2.2.6-2.fc44.x86_64" is already installed.
Package "slick-greeter-cinnamon-2.2.6-2.fc44.noarch" is already installed.
Package "tmux-powerline-2.8.4-19.fc44.noarch" is already installed.
Package "vim-powerline-2.8.4-19.fc44.noarch" is already installed.
Package "xawtv-3.107-17.fc44.x86_64" is already installed.
Package "xed-3.8.9-2.fc44.x86_64" is already installed.
Package "xreader-4.6.4-2.fc44.x86_64" is already installed.
Package "wireplumber-0.5.14-1.fc44.x86_64" is already installed.
Package "ibus-anthy-1.5.18-1.fc44.x86_64" is already installed.
Package "ibus-chewing-2.1.7-2.fc44.x86_64" is already installed.
Package "ibus-gtk3-1.5.34-1.fc44.x86_64" is already installed.
Package "ibus-gtk4-1.5.34-1.fc44.x86_64" is already installed.
Package "ibus-hangul-1.5.5-12.fc44.x86_64" is already installed.
Package "ibus-libpinyin-1.16.5-3.fc44.x86_64" is already installed.
Package "ibus-m17n-1.4.39-1.fc44.x86_64" is already installed.
Package "ibus-typing-booster-2.30.8-1.fc44.noarch" is already installed.

Package                                     Arch        Version                                     Repository                  Size
Changing reason of installed groups:
 Cinnamon                                                                                                                           
   Dependency -> User                                                                                                               

Transaction Summary:

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

How is it possible that DNF doesn’t list the cinnamon-desktop group but recognizes it if I want to install it? Should this be fixed somehow too?

There’s a clue in the “Installed” column. I get the same for Xfce:

$ dnf environment list
Updating and loading repositories:
Repositories loaded.
ID                                Name                                 Installed
custom-environment                Fedora Custom Operating System              no
workstation-product-environment   Fedora Workstation                          no
server-product-environment        Fedora Server Edition                       no
cloud-server-environment          Fedora Cloud Server                         no
kde-desktop-environment           KDE Plasma Workspaces                       no
kde-mobile-environment            KDE Plasma Mobile                           no
xfce-desktop-environment          Xfce Desktop                                no
xfce-desktop-environment          Xfce Desktop                               yes
phosh-desktop-environment         Phosh Desktop                               no
lxde-desktop-environment          LXDE Desktop                                no
lxqt-desktop-environment          LXQt Desktop                                no
cinnamon-desktop-environment      Cinnamon Desktop                            no
mate-desktop-environment          MATE Desktop                                no
sugar-desktop-environment         Sugar Desktop Environment                   no
budgie-desktop-environment        Budgie Desktop                              no
cosmic-desktop-environment        COSMIC Desktop                              no
developer-workstation-environment Development and Creative Workstation        no
basic-desktop-environment         Basic Desktop                               no
miraclewm-desktop-environment     Miracle WM Desktop Environment              no
i3-desktop-environment            i3 desktop                                  no
sway-desktop-environment          Sway Desktop                                no

I guess your options are:

  1. Uninstall Cinnamon
  2. Don’t worry about it

I’ve gone for option 2.

Is it just a bug in DNF5?

Try

dnf environment list --available

and

dnf environment list --installed