Sddm package conflicts while trying to upgrade to Fedora 41 via dnf

Hi all, first time poster here.
I’m currently running Fedora 40 (KDE Spin) and am trying to upgrade to 41 using the dnf system plugin. This has worked for me without issue (for the most part) for several years now but this time around I’m running into a blocking issue.

When I attempt to do the package download:

**# sudo dnf system-upgrade download --releasever=41**

I wind up with the following error:
Error: 
 Problem: problem with installed package sddm-wayland-plasma-6.2.3-1.fc40.noarch
  - package sddm-wayland-plasma-6.2.1.1-1.fc41.noarch from fedora conflicts with sddm-greeter-displayserver provided by sddm-x11-0.21.0-6.fc41.noarch from fedora
  - package sddm-x11-0.21.0-6.fc41.noarch from fedora conflicts with sddm-greeter-displayserver provided by sddm-wayland-plasma-6.2.1.1-1.fc41.noarch from fedora
  - package sddm-x11-0.21.0-6.fc41.noarch from fedora conflicts with sddm-greeter-displayserver provided by sddm-wayland-plasma-6.2.3-1.fc41.noarch from updates
  - package sddm-wayland-plasma-6.2.3-1.fc41.noarch from updates conflicts with sddm-greeter-displayserver provided by sddm-x11-0.21.0-6.fc41.noarch from fedora
  - sddm-wayland-plasma-6.2.3-1.fc40.noarch from @System  does not belong to a distupgrade repository
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

I’ve tried adding the --allowerasing and --best switches but that didn’t help. I also tried removing sddm completely (replacing it with lightdm for the moment). Same result so I ended up reinstalling sddm. It appears to be a conflict within the Fedora 41 repo(s) so removing probably wouldn’t make a difference.

I made sure to run:

# sudo dnf upgrade --refresh

Does anyone know why this would be happening and if there is any way around it?

I’ve searched online and found one reference to this error but no clear solution to make it work.

It’s strange the that error message refers both to package sddm-wayland-plasma-6.2.1.1-1.fc41.noarch from fedora as well as to the same upgraded package sddm-wayland-plasma-6.2.3-1.fc41.noarch from updates.

Can you share the output of dnf repolist?

This seems to be the root of the issue.

Try dnf reinstall --refresh sddm-wayland-plasma and see what it does.

I edited you post to put the dnf output into a preformatted text block to make it easier to read. You can do that using the </> button.

It’s interesting that the package seems to be with the correct version, according to F40 updates repo:

$ dnf list sddm-wayland-plasma
Available Packages
sddm-wayland-plasma.noarch                  6.2.3-1.fc40                  updates

What do you see for these rpm commands?

$ rpm -qf /usr/lib/os-release
fedora-release-identity-kde-40-39.noarch

$ rpm -qa |grep release
lsb_release-3.3-3.fc40.noarch
fedora-release-identity-kde-40-39.noarch
fedora-release-kde-40-39.noarch
fedora-release-common-40-39.noarch
rpmfusion-nonfree-release-40-1.noarch
rpmfusion-free-release-40-1.noarch

I’m wondering if you have some other edition/spin as set?

1 Like

Thanks all for the responses!
Just a quick note that I’ll be following up on these suggestions when I get home later this afternoon.
@barryascott Regarding the whether there is another edition/spin, what I can say is that it is the KDE Spin, but I do additionally have a couple other environments/WMs installed that are rarely used (Gnome and LXQT).

I mention that because while I don’t think that changes the Edition of the actual distro, I’m not sure. I suspect others here have a better handle on that than I do.

Thanks again all. Will follow up a little later.

I hit what looks like the same thing upgrading from FC39 to FC41, with slightly different error output and then using --allowerasing works without any issues.

My error output:

Error:
 Problem: conflicting requests
  - package sddm-wayland-plasma-6.2.1.1-1.fc41.noarch from fedora conflicts with sddm-greeter-displayserver provided by sddm-x11-0.21.0-6.fc41.noarch from fedora
  - package sddm-x11-0.21.0-6.fc41.noarch from fedora conflicts with sddm-greeter-displayserver provided by sddm-wayland-plasma-6.2.1.1-1.fc41.noarch from fedora
  - package sddm-x11-0.21.0-6.fc41.noarch from fedora conflicts with sddm-greeter-displayserver provided by sddm-wayland-plasma-6.2.4-1.fc41.noarch from updates
  - package sddm-wayland-plasma-6.2.4-1.fc41.noarch from updates conflicts with sddm-greeter-displayserver provided by sddm-x11-0.21.0-6.fc41.noarch from fedora
  - problem with installed package sddm-x11-0.20.0-4.fc39.noarch
  - sddm-x11-0.20.0-4.fc39.noarch from @System  does not belong to a distupgrade repository

Will using --allowerasing cause issues?

With that option, it’s removing sddm-x11, and installing several sddm packages, but I don’t know what if anything might be missing.

This is mainly a server I sometimes use for video playback, so I can always fix login / window manger issues later.

I went ahead and upgraded after using --allowerasing and most things are working fine - trying to figure out why full screen video / mythtv frontend behaves as if there’s a virtual monitor 1/4 the size of my TV, might be scaling in KDE / wayland.

Start a new toipic if you want to discuss that please.

That is because from F41 on, the x11 session in KDE is not available by default anymore. If you want it you have to install it manually.

1 Like

Hi Mike, the repolist is below. Note, I did try removing all the non-Fedora repos (I moved them to /etc/yum.repos.d/notused/) but that didn’t change the result so I moved them back:

repo id                                        repo name
Dropbox                                        Dropbox Repository
brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
docker-ce-stable                               Docker CE Stable - x86_64
fedora                                         Fedora 40 - x86_64
fedora-cisco-openh264                          Fedora 40 openh264 (From Cisco) - x86_64
jenkins                                        Jenkins-stable
rpmfusion-free                                 RPM Fusion for Fedora 40 - Free
rpmfusion-free-updates                         RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree                              RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-updates                      RPM Fusion for Fedora 40 - Nonfree - Updates
teams                                          teams
updates                                        Fedora 40 - x86_64 - Updates
vivaldi                                        vivaldi


Output is below. It doesn’t show any hints of KDE in there:

[chris@shemp bpmate]$ rpm -qf /usr/lib/os-release
fedora-release-identity-basic-40-40.noarch
[chris@shemp bpmate]$ rpm -qa |grep release
flash-plugin-32.0.0.223-release.x86_64
lsb_release-3.3-3.fc40.noarch
rpmfusion-nonfree-release-40-1.noarch
rpmfusion-free-release-40-1.noarch
fedora-release-identity-basic-40-40.noarch
fedora-release-common-40-40.noarch
fedora-release-40-40.noarch
[chris@shemp bpmate]$ 

Was just able to do the reinstall and that went ok.
I’m doing the dnf upgrade --refresh again now and will be rebooting.
I’ll retry the download after rebooting and see if that gets me anywhere.

Thanks!

Ok, just tried the download again, but unfortunately got the same result.

What packages are being proposed for removal if you try removing the package sddm-x11 with sudo dnf remove ssdm-x11?

Are you dependent on X11, or can you use Wayland exclusively?

In case anyone ever searches on this:

It was scaling, to avoid issues with myth when scaling isn’t at 100%, you can run mythfrontend with this qt argument:

mythfrontend --platform xcb

I’m assuming this was meant for Patrick, but just in case, I don’t have sddm-x11 installed to begin with obviously, nothing is proposed for removal.

OK I got past this. It was bit of a hack, but I removed the KDE group. After I did that I also had to remove a couple SDDM packages. Just removing KDE or SDDM didn’t work, I had to remove both.

The commands I used are below:

#dnf groupremove kde
#dnf remove sddm-wayland-plasma sddm-greeter-displayserver
#sudo dnf system-upgrade download --releasever=41

I’m running on LXQT at the moment which is fine. I’m sure I’ll probably reinstall KDE soon enough but I’ll run on this for now and see what else I can clean up.

Thanks for input everyone!