Updating fails: removes systemd, systemd-udev

, ,

Updating my system from dnf or Discover always fails with:
operation would result in removing the following protected packages: systemd, systemd-udev

But I can’t find any info about which package is likely broken or what part of the update fails, so I’m not sure how to start troubleshooting this.
Here’s the output from check-update:

System info:

Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 13th Gen Intel® Core™ i7-13620H
Memory: 31.1 GiB of RAM
Graphics Processor 1: Intel® Graphics
Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU
Manufacturer: SLIMBOOK
Product Name: HERO-RPL-RTX

Thanks in advance for any tips. I switched to Fedora for the first time recently so I don’t really know how dnf works.

Check if this helps:

sudo dnf reinstall systemd systemd-udev --refresh
sudo dnf distro-sync --refresh --setopt=protected_packages= 
1 Like

Thanks,
slightly better but still fails with:

Running transaction
Transaction failed: Rpm transaction failed.
  - file /usr/share/locale/ar/LC_MESSAGES/kate.mo from install of kwrite-24.12.3-1.fc41.x86_64 conflicts with file from package kate-24.12.2-1.fc41.x86_64
  - file /usr/share/locale/es/LC_MESSAGES/kate.mo from install of kwrite-24.12.3-1.fc41.x86_64 conflicts with file from package kate-24.12.2-1.fc41.x86_64
  - file /usr/share/locale/gl/LC_MESSAGES/kate.mo from install of kwrite-24.12.3-1.fc41.x86_64 conflicts with file from package kate-24.12.2-1.fc41.x86_64
  - file /usr/share/locale/tr/LC_MESSAGES/kate.mo from install of kwrite-24.12.3-1.fc41.x86_64 conflicts with file from package kate-24.12.2-1.fc41.x86_64
  - file /usr/share/locale/zh_CN/LC_MESSAGES/kate.mo from install of kwrite-24.12.3-1.fc41.x86_64 conflicts with file from package kate-24.12.2-1.fc41.x86_64

Those packages are not critical, so you can temporarily remove one of them to proceed.

Removing kwrite solved it. Thanks a lot for the help.
Should I report a bug about the kate-kwrite conflict?

1 Like

Let’s check if the issue persists:

sudo dnf install kate kwrite --refresh
sudo dnf list kate kwrite --showduplicates