Fedora 40 > 41 DNF errors and services dont start

HI Everyone,

I’m getting the following 3 issues on 41:

adam@home-pms:~$ sudo dnf update -y
[sudo] password for adam: 
Last metadata expiration check: 0:01:08 ago on Fri 08 Nov 2024 12:17:55 PM EST.
Error: 
 Problem: The operation would result in removing the following protected packages: setup
(try to add '--skip-broken' to skip uninstallable packages)

and

× irqbalance.service - irqbalance daemon
     Loaded: loaded (/usr/lib/systemd/system/irqbalance.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: exit-code) since Fri 2024-11-08 12:18:33 EST; 7min ago
   Duration: 22ms
       Docs: man:irqbalance(1)
             https://github.com/Irqbalance/irqbalance
    Process: 958 ExecStart=/usr/sbin/irqbalance $IRQBALANCE_ARGS (code=exited, status=127)
   Main PID: 958 (code=exited, status=127)
        CPU: 20ms

Nov 08 12:18:33 home-pms systemd[1]: Started irqbalance.service - irqbalance daemon.
Nov 08 12:18:33 home-pms (qbalance)[958]: irqbalance.service: Referenced but unset environment variable evaluates to an empty st>
Nov 08 12:18:33 home-pms irqbalance[958]: /usr/sbin/irqbalance: error while loading shared libraries: /lib64/libnuma.so.1: file >
Nov 08 12:18:33 home-pms systemd[1]: irqbalance.service: Main process exited, code=exited, status=127/n/a
Nov 08 12:18:33 home-pms systemd[1]: irqbalance.service: Failed with result 'exit-code'.

and

adam@home-pms:~$ sudo systemctl status qemu-guest-agent
× qemu-guest-agent.service - QEMU Guest Agent
     Loaded: loaded (/usr/lib/systemd/system/qemu-guest-agent.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: exit-code) since Fri 2024-11-08 12:18:33 EST; 8min ago
   Duration: 2ms
    Process: 992 ExecStart=/usr/bin/qemu-ga --method=virtio-serial --path=/dev/virtio-ports/org.qemu.guest_agent.0 --blacklist=$>
   Main PID: 992 (code=exited, status=127)
        CPU: 1ms

Nov 08 12:18:33 home-pms systemd[1]: qemu-guest-agent.service: Scheduled restart job, restart counter is at 5.
Nov 08 12:18:33 home-pms systemd[1]: qemu-guest-agent.service: Start request repeated too quickly.
Nov 08 12:18:33 home-pms systemd[1]: qemu-guest-agent.service: Failed with result 'exit-code'.
Nov 08 12:18:33 home-pms systemd[1]: Failed to start qemu-guest-agent.service - QEMU Guest Agent.
lines 1-14/14 (END)

I would appreciate hints.

Thanks,

Adam

It looks like it might be the result of a partial upgrade (i.e. the upgrade to 41 failed or was killed before it finished). That can usually be recovered from by running dnf distro-sync (ideally from a VT while in multi-user mode). @vgaetera has a pretty good recipe for running distro-sync so that it will not halt on “protected packages”. I’d have to hunt the forum to find it though. :slightly_smiling_face:

1 Like

Hi Gregory,

distro-sync generates the same error:

Problem: The operation would result in removing the following protected packages: setup
(try to add '--skip-broken' to skip uninstallable packages)

Found this, looks promising:

sudo dnf distro-sync \
    --refresh \
    --releasever 41 \
    --allowerasing \
    --setopt protected_packages=
1 Like

Here’s the original post:
Upgrade to Fedora 41 interrupted by power outage - #2 by vgaetera

See also:
Run dnf remove --duplicates but received Unknown argument "--duplicates" - #3 by vgaetera

3 Likes