Desktop mangled after gnome software update from 40 to 41

Hi,

I started the update and left the computer unattended, so I do not know what happened. The end result is that I have packages from both 40 and 41. Kernel is still at 40, /etc/redhat-release says 41 and dnf still looks at Fedora 40 repo.

$ sudo dnf system-upgrade download --releasever=41
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: The operation would result in removing the following protected packages: grub2-pc, grub2-tools-minimal, selinux-policy-targeted, sudo, systemd, systemd-udev

$ rpm -qa grub2-pc*
grub2-pc-modules-2.06-123.fc40.noarch
grub2-pc-2.06-123.fc40.x86_64
grub2-pc-modules-2.12-15.fc41.noarch
grub2-pc-2.12-15.fc41.x86_64

I don’t want to mess with the boot loader, and I don’t want to re-install the system.

$ rpm -qa | grep fc41 | sort | wc -l
1587
$ rpm -qa *firefox*
firefox-langpacks-133.0.3-2.fc40.x86_64
firefox-133.0.3-2.fc40.x86_64

Why is this happening? How can I fix this mess?

Happy New Year to everyone.

kk1

It would appear something happened that the upgrade did not fully complete. Sometimes this happens, cause not fully defined, and recovery is usually relatively simple.

I would suggest that you run dnf distro-sync --releasever=41 --allowerasing and see what changes it will make before proceeding. In most cases this is perfectly acceptable and completes the upgrade properly.

Thank you for answering but this does not work:

$ sudo dnf distro-sync --releasever=41 --allowerasing
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: The operation would result in removing the following protected packages: grub2-pc, grub2-tools-minimal, selinux-policy-targeted, sudo, systemd, systemd-udev
You can try to add to command line:
–skip-broken to skip uninstallable packages

This may guide you a little bit

Yes, I used:

dnf --releasever=41 --setopt=deltarpm=false --setopt=protected_packages= --allowerasing distro-sync

Then I had to reinstall kernel-core with:

dnf reinstall -y kernel-core

Thank you.

1 Like