I am having the exact same problem on one of my systems and it’s starting to look like related to dnf5 and/or possibly old groups/environments.
I have successfully upgraded one server and one workstation but my homelab server who is has been updated since 31 or 32 (I am mentioning this since the successful server upgrade is only been upgraded since 39 or 40) is exhibiting the same issue.
This is the output of dnf system-upgrade download --releasever=42 --allowerasing --refresh from fully updated F41.
Repositories loaded.
Failed to resolve the transaction:
Packages for argument 'web-server-environment' installed, but not available.
Package "speech-dispatcher-0.11.5-8.fc41.x86_64" is already installed.
Package "at-spi2-atk-2.54.1-1.fc41.x86_64" is already installed.
Package "at-spi2-atk-2.54.1-1.fc41.i686" is already installed.
Package "at-spi2-core-2.54.1-1.fc41.x86_64" is already installed.
Package "at-spi2-core-2.54.1-1.fc41.i686" is already installed.
Package "brltty-6.6-22.fc41.x86_64" is already installed.
Package "orca-47.3-1.fc41.noarch" is already installed.
Package "mesa-dri-drivers-25.0.3-2.fc41.x86_64" is already installed.
Package "mesa-dri-drivers-25.0.3-2.fc41.i686" is already installed.
Package "plymouth-system-theme-24.004.60-14.fc41.x86_64" is already installed.
Package "mesa-vulkan-drivers-25.0.3-2.fc41.x86_64" is already installed.
Package "mesa-vulkan-drivers-25.0.3-2.fc41.i686" is already installed.
Packages for argument 'awesome' available, but not installed.
Packages for argument 'i3' available, but not installed.
Packages for argument 'ratpoison' available, but not installed.
Packages for argument 'xmonad-basic' available, but not installed.
Package "dnf5-5.2.12.0-2.fc41.x86_64" is already installed.
Package "dnf5-plugins-5.2.12.0-2.fc41.x86_64" is already installed.
Package "cirrus-audio-firmware-20250410-1.fc41.noarch" is already installed.
Package "intel-audio-firmware-20250410-1.fc41.noarch" is already installed.
Package "nxpwireless-firmware-20250410-1.fc41.noarch" is already installed.
Package "tiwilink-firmware-20250410-1.fc41.noarch" is already installed.
Package "ibus-chewing-2.1.4-1.fc41.x86_64" is already installed.
Packages for argument 'im-chooser-xfce' available, but not installed.
Package "sddm-wayland-plasma-6.3.4-2.fc41.noarch" is already installed.
Package "plasma-workspace-wayland-6.3.4-2.fc41.x86_64" is already installed.
Package "toolbox-0.1.1-1.fc41.x86_64" is already installed.
Package "vlc-plugin-gstreamer-1:3.0.21-15.fc41.x86_64" is already installed.
Package "akonadi-server-24.12.3-1.fc41.x86_64" is already installed.
Package "akonadi-server-mysql-24.12.3-1.fc41.x86_64" is already installed.
Package "audiocd-kio-24.12.3-1.fc41.x86_64" is already installed.
Package "kaccounts-integration-qt6-24.12.3-1.fc41.x86_64" is already installed.
Package "kaccounts-providers-24.12.3-1.fc41.x86_64" is already installed.
Package "kf6-baloo-file-6.13.0-1.fc41.x86_64" is already installed.
Package "konsole-24.12.3-1.fc41.x86_64" is already installed.
Package "phonon-qt6-backend-vlc-0.12.0-4.fc41.x86_64" is already installed.
Package "plasma-print-manager-6.3.4-1.fc41.x86_64" is already installed.
Package "samba-usershares-2:4.21.5-1.fc41.x86_64" is already installed.
Package "signon-kwallet-extension-24.12.3-1.fc41.x86_64" is already installed.
Packages for argument 'lxqt-config' available, but not installed.
Packages for argument 'sddm-themes' available, but not installed.
Package "wget2-wget-2.2.0-2.fc41.x86_64" is already installed.
Packages for argument 'rkhunter' available, but not installed.
Packages for argument 'tripwire' available, but not installed.
Package "wget2-wget-2.2.0-2.fc41.x86_64" is already installed.
Package "amd-ucode-firmware-20250410-1.fc41.noarch" is already installed.
Package "sssd-proxy-2.10.2-1.fc41.x86_64" is already installed.
Packages for argument 'BackupPC' available, but not installed.
Packages for argument 'rtorrent' available, but not installed.
Package "vlc-plugins-extra-1:3.0.21-15.fc41.x86_64" is already installed.
Packages for argument 'i3' available, but not installed.
Packages for argument 'i3status' available, but not installed.
Packages for argument 'ratpoison' available, but not installed.
Package "wget2-wget-2.2.0-2.fc41.x86_64" is already installed.
Package "dnf5-plugins-5.2.12.0-2.fc41.x86_64" is already installed.
Package "ibus-chewing-2.1.4-1.fc41.x86_64" is already installed.
Problem: conflicting requests
- package sddm-wayland-miriway-25.02.1-1.fc42.noarch from fedora conflicts with sddm-greeter-displayserver provided by sddm-wayland-plasma-6.3.4-2.fc42.noarch from fedora
- sddm-wayland-plasma-6.3.4-2.fc41.noarch does not belong to a distupgrade repository
Now I am not sure what exactly is happening here.
- The packages mentioned as already installed are packages that have been normally installed.
- The packages mentioned as available but not installed are packages that have been uninstalled via dnf at some point in the past.
- Conflict “sddm-wayland-plasma-6.3.4-2.fc41.noarch does not belong to a distupgrade repository” is properly installed and comes from updates repo:
sddm-wayland-plasma.noarch 6.3.4-2.fc41 updates
- The web-server-environment shows as installed but not available, I see in the environments list indeed as installed but said environment does not exist on the other server I just upgraded. Also the list of environments contains duplicated entries only on this server:
Repositories loaded.
ID Name Installed
basic-desktop-environment Basic Desktop yes
basic-desktop-environment Basic Desktop no
budgie-desktop-environment Budgie Desktop no
cinnamon-desktop-environment Cinnamon Desktop no
cloud-server-environment Fedora Cloud Server no
cosmic-desktop-environment COSMIC Desktop no
custom-environment Fedora Custom Operating System no
deepin-desktop-environment Deepin Desktop no
developer-workstation-environment Development and Creative Workstation no
i3-desktop-environment i3 desktop no
kde-desktop-environment KDE Plasma Workspaces yes
kde-desktop-environment KDE Plasma Workspaces no
kde-mobile-environment KDE Plasma Mobile no
lxde-desktop-environment LXDE Desktop no
lxqt-desktop-environment LXQt Desktop yes
lxqt-desktop-environment LXQt Desktop no
mate-desktop-environment MATE Desktop no
miraclewm-desktop-environment Miracle WM Desktop Environment no
phosh-desktop-environment Phosh Desktop no
server-product-environment Fedora Server Edition yes
server-product-environment Fedora Server Edition no
sugar-desktop-environment Sugar Desktop Environment no
sway-desktop-environment Sway Desktop no
web-server-environment Web Server yes
workstation-product-environment Fedora Workstation yes
workstation-product-environment Fedora Workstation no
xfce-desktop-environment Xfce Desktop no
Trying to remove the environment wants to remove:
Removing groups:
Basic Web Server
Removing environmental groups:
Web Server
Which is a no go as that takes down apache and php which are used on several public facing services.
Any ideas what’s going on here?
EDIT: Trying to reinstall the environment makes it clear that it doesn’t exist anymore and is probably deprecated at some point in the past and leftover somewhere.
grepping for in /etc returns no results. I’m now looking in /usr and /var but that’s going to take a while. If I don’t find where this is saved, I’ll have to take a look at dnf5’s code to see where these are read from unless someone has some better idea.
EDIT2:
- Ok so the installed environments are saved in /usr/lib/sysimage/libdnf5/environments.toml. Remove any old deprecated ones from there.
- The sddm conflict seems to be caused by having both plasma and sway installed at the same time. sddm wants to pull both sddm-wayland-plasma and sddm-wayland-miriway which conflict with each other.
- The rest of the messages must be regarding deprecated groups/environments. I will check them extensively after the upgrade.