Hello,
Requirements:
I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata
OpenMandriva Lx version:
OpenMandriva Lx release 25.11 (ROME) Rolling for znver1
Desktop environment (KDE, LXQT…):
System:
Host: openmandriva-x8664 Kernel: 6.14.2-desktop-3omv2590 arch: x86_64
bits: 64
Desktop: KDE Plasma v: 6.5.2 Distro: OpenMandriva Lx 25.11 ROME
Description of the issue (screenshots if relevant):
TL;DR I attempted to migrate from Rock (Vanadium) to Rolling (ROME) following the official instructions. During the upgrade, the process was interrupted while updating systemd/udev, leaving my system with two different versions of systemd installed (257.5 and 258.2). Now:
- dnf5 distro-sync cannot continue because removing systemd is blocked - all Rolling repos are enabled correctly
- system boots and Plasma works after manually fixing X11 with the AMD GPU BusID
- but the system cannot fully sync to ROME
- dnf5 solver remains stuck between the two systemd versions
I am asking whether the system can be recovered safely, or if a clean reinstall of ROME is the only supported option.
(English is not my first language, so this report is written with the help of ChatGPT to ensure clarity and correct terminology.)
I want to provide a complete and accurate technical description of the issue, based entirely on the exact commands I used, in case any detail is relevant for diagnosing the problem.
- Initial system state
Original installation: OpenMandriva Lx 6.0 Rock (Vanadium)
Hardware:
- AMD Ryzen 5 5600
- NVIDIA GTX 960 (installed, but not used for display)
- AMD Radeon RX 6800 XT (primary GPU used for display both in Rock and in ROME)
X11 was working correctly on Rock using the AMD GPU.
I decided to migrate from Rock → Rolling (ROME) to obtain newer Mesa and kernel versions for gaming. 2. Repository switch I followed the official OpenMandriva wiki instructions. Enabled repos:
openmandriva-rolling-znver1
openmandriva-rolling-znver1-extra
openmandriva-rolling-znver1-non-free
openmandriva-rolling-znver1-restricted
Disabled repos:
openmandriva-rock-znver1
openmandriva-rock-znver1-extra
openmandriva-rock-znver1-non-free
openmandriva-rock-znver1-restricted
Cooker was never enabled.
I then ran:
sudo dnf5 clean all
sudo dnf5 distro-sync
(and later also attempted with --allowerasing, --refresh, etc.)
- Upgrade interruption and black screen
During the major upgrade, while systemd, udev and core libraries were being updated, the system suddenly switched to a black screen.
I was away from the machine, so nothing was interrupted manually.
I switched to TTY (Ctrl+Alt+F2) and logged in as root.
Attempting to resume the upgrade always failed with:
Failed to resolve the transaction:
The operation would result in removing the following protected packages: systemd
dnf5 refused to continue.
- Result: systemd left in an inconsistent state
Because the upgrade was interrupted in the middle of systemd/udev updates, the system was left with two complete systemd families installed:
Old Rock versions (257.5):
systemd-257.5-1.znver1
lib64systemd-257.5-1.znver1
lib64udev-257.5-1.znver1
udev-257.5-1.znver1
systemd-resolved-257.5-1.znver1
systemd-analyze-257.5-1.znver1
systemd-locale-257.5-1.znver1
systemd-cryptsetup-257.5-1.znver1
systemd-console-257.5-1.znver1
systemd-boot-257.5-1.znver1
systemd-polkit-257.5-1.znver1
systemd-coredump-257.5-1.znver1
lib64nss_systemd-257.5-1.znver1
lib64nss_myhostname-257.5-1.znver1
lib64nss_resolve-257.5-1.znver1
lib64systemd-devel-257.5-1.znver1
lib64udev-devel-257.5-1.znver1
New Rolling versions (258.2):
All corresponding systemd/udev/libsystemd packages in version 258.2 are also installed.
Since Rolling no longer provides systemd 257.x, dnf5 cannot downgrade the older packages, and cannot remove them because systemd is protected.
- Restoring the graphical environment
After the interruption:
- SDDM kept looping
- Plasma could not start
- task-plasma6 could not be installed due to missing dependencies
I reinstalled some Plasma components manually.
Because I have two GPUs, after the failed migration Xorg stopped choosing the AMD GPU automatically, even though the monitor is connected to it.
The fix was to explicitly set the PCI BusID of the AMD GPU in:
/etc/X11/xorg.conf.d/20-amdgpu.conf:
Section "Device"
Identifier "AMD"
Driver "amdgpu"
BusID "PCI:9:0:0"
EndSection
(PCI:9:0:0 corresponds to the actual PCIe address of my RX 6800 XT.)
Once the correct BusID was set, X11 and Plasma worked again.
- Current state
The system is usable:
- Plasma 6 works
- X11 works on AMDGPU
- Kernel 6.14.2-desktop-3omv2590 boots normally
But dnf5 remains unable to complete the migration.
These commands all fail:
dnf5 distro-sync
dnf5 distro-sync --allowerasing
dnf5 distro-sync --refresh
dnf5 swap systemd-257.5 systemd-258.2 --allowerasing
All fail with:
Failed to resolve the transaction:
The operation would result in removing the following protected packages: systemd
dnf5 --debugsolver distro-sync confirms the dependency solver is stuck between systemd 257.5 and 258.2.
- Questions
I would like to ask the OpenMandriva developers:
- Is this mixed-systemd (257.5 + 258.2) state recoverable manually?
- Is there a safe OpenMandriva-supported way to remove the obsolete 257.5 packages?
- Or is a clean reinstall of ROME the correct solution?
- Is such a partial-upgrade situation known or expected when a Rock → ROME migration is interrupted?
- Should dnf5 block partial upgrades on protected packages like systemd/udev?
This report is written with the assistance of ChatGPT because English is not my first language and I wanted to ensure accuracy.
Thank you for your help.
Relevant informations (hardware involved, software version, logs or output…):
[kane@openmandriva-x8664 ~]$inxi -F
System:
Host: openmandriva-x8664 Kernel: 6.14.2-desktop-3omv2590 arch: x86_64
bits: 64
Desktop: KDE Plasma v: 6.5.2 Distro: OpenMandriva Lx 25.11 ROME
Machine:
Type: Desktop Mobo: Gigabyte model: B450 AORUS ELITE V2
serial: <superuser required> UEFI: American Megatrends LLC. v: F67
date: 03/22/2024
CPU:
Info: 6-core model: AMD Ryzen 5 5600 bits: 64 type: MT MCP cache: L2: 3 MiB
Speed (MHz): avg: 3561 min/max: 550/4470 cores: 1: 3561 2: 3561 3: 3561
4: 3561 5: 3561 6: 3561 7: 3561 8: 3561 9: 3561 10: 3561 11: 3561 12: 3561
Graphics:
Device-1: NVIDIA GM206 [GeForce GTX 960] driver: nvidia v: 575.51.02
Device-2: Advanced Micro Devices [AMD/ATI] Navi 21 [Radeon RX 6800/6800
XT / 6900 XT] driver: amdgpu v: kernel
Display: x11 server: X.org with: Xwayland v: 24.1.9 driver: X:
loaded: amdgpu dri: radeonsi gpu: amdgpu resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.3.0-rc4
renderer: AMD Radeon RX 6800 XT (radeonsi navi21 LLVM 21.1.5 DRM 3.61
6.14.2-desktop-3omv2590)
API: Vulkan v: 1.4.330 drivers: radv,llvmpipe surfaces: N/A
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console
gpu: amdgpu_top, nvidia-settings, nvidia-smi wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: NVIDIA GM206 High Definition Audio driver: snd_hda_intel
Device-2: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
driver: snd_hda_intel
Device-3: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
driver: snd_hda_intel
API: ALSA v: k6.14.2-desktop-3omv2590 status: kernel-api
Server-1: PipeWire v: 1.4.9 status: active
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 18:c0:4d:09:28:8d
IF-ID-1: virbr0 state: down mac: 52:54:00:de:05:a2
Bluetooth:
Device-1: Realtek Bluetooth Radio driver: btusb type: USB
Report: hciconfig ID: hci0 state: up address: 00:A6:44:02:1F:59 bt-v: 5.1
Drives:
Local Storage: total: 1.93 TiB used: 604.24 GiB (30.6%)
ID-1: /dev/nvme0n1 vendor: MSI model: M371 1TB size: 931.51 GiB
ID-2: /dev/sda vendor: Seagate model: ST1000DM003-1SB10C size: 931.51 GiB
ID-3: /dev/sdb vendor: Kingston model: SA400S37120G size: 111.79 GiB
Partition:
ID-1: / size: 109.19 GiB used: 94.68 GiB (86.7%) fs: ext4 dev: /dev/sdb2
ID-2: /boot/efi size: 299.4 MiB used: 2 MiB (0.7%) fs: vfat dev: /dev/sdb1
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 392 KiB (0.0%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: 50.9 C mobo: N/A gpu: amdgpu temp: 41.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
Memory: total: 32 GiB available: 31.28 GiB used: 5.09 GiB (16.3%)
Processes: 359 Uptime: 14m Shell: Bash inxi: 3.3.39