So yesterday i wanted to upgrade from F39 to F40. since all my extensions are now supported on GNOME 46.
I went and used the dnf upgrade system sudo dnf system-upgrade download --releasever=40 like i always did since F36.
I had a few hiccups that i never ran into before where i had to remove some old packages.
After that i ran sudo dnf system-upgrade reboot.
The system would reboot and run the offline system upgrader but after a bit it would just
suddenly stop and reboot again into F39.
So i went and tried the Software store upgrade which downloaded and ran but during my upgrade the system upgrader ran into this issue.
[FAILED] Failed to start systemd-binfmt.service - Set Up Additional Binary Formats.
See 'systemctl status systemd-binfmt.service' for details.
And then packagekit-offline-update.service stalled for about half a hour before i decided that this was going nowhere and made a BAD decision and rebooted the laptop.
After the reboot, my systems now thinks that itβs F40 but dnf is using F39 repos.
Both neofetch and the Settings -> About say its F40.
Every app works like it should but dnf is super broken.
I tried sudo dnf distro-sync --skip-broken but it would come up with this error:
ββ ><> sudo dnf distro-sync --skip-broken
Last metadata expiration check: 0:14:44 ago on Thu 23 May 2024 10:29:27 AM CEST.
Error:
Problem: package webrtc-audio-processing0.3-0.3.1-12.fc40.x86_64 from @System requires libstdc++.so.6(CXXABI_1.3.15)(64bit), but none of the providers can be installed
- libstdc++-14.1.1-1.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package webrtc-audio-processing0.3-0.3.1-12.fc40.x86_64
Is there any way to salvage this or am i gonna have to put all my data on a stick and reinstall F40?
Sorry i didnβt mention but i tried this before andβ¦
ββ ><> sudo dnf remove webrtc-audio-processing0.3
[sudo] password for josko-k:
Error:
Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)
--noautoremove will βDisable removal of dependencies that are no longer used. It sets clean_requirements_on_remove configuration option to False.β, see docs.
after that, run distro-sync and try to install the removed package again.
ββ ><> sudo dnf remove --noautoremove webrtc-audio-processing0.3
[sudo] password for josko-k:
Error:
Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)
ββ[12:08:40]β[josko-k@fedora]β[~]
ββ ><> sudo dnf distro-sync
Last metadata expiration check: 1:07:37 ago on Thu 23 May 2024 11:01:25 AM CEST.
Error:
Problem: The operation would result in removing the following protected packages: NetworkManager, dnf, grub2-tools-minimal, setup, sudo, systemd, systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)
ββ[12:09:03]β[josko-k@fedora]β[~]
ββ ><> sudo dnf distro-sync --skip-broken
Last metadata expiration check: 1:08:31 ago on Thu 23 May 2024 11:01:25 AM CEST.
Error:
Problem: The operation would result in removing the following protected packages: NetworkManager, dnf, grub2-tools-minimal, setup, sudo, systemd, systemd-udev
ββ[12:09:57]β[josko-k@fedora]β[~]
ββ ><>
sudo rpm --nodeps -e webrtc-audio-processing0.3 didnβt cause any errors.
Sorry i couldnβt get back to you, system gave me the βOh no! Something has gone wrong.β screen after i reset the laptop when the command finished. So i transferred all my data to my stick and reinstalled F40.
It runs perfectly now, thank you for trying to help anyways .