Fedora 40 Upgrade Failed

Fedora 40 Upgrade Failed

  • Verified all updates installed and restarted (via Software Center; twice)
  • Started Fedora 40 Upgrade (via Software Center)
  • Download completed and upgrade began after restart
  • Horizontal progress bar displayed, slowly increased, pausing at 26% for several minutes
  • Progress bar suddenly changed to rotating arrow, slowly increased, pausing at 32% for several minutes
  • Screen suddenly went black
  • Verified monitor still had signal
  • Used mouse and keyboard seeking some response; no change, screen still black
  • CPU fan clearly running at high speed
  • Let this continue for 30 minutes; absolutely no change
  • Gave up and restarted to Windows
  • Restarted to Fedora
  • GRUB still only shows Fedora 39
  • Verified again that all updates were installed
  • Attempted to perform upgrade again
  • Received following errors:


Screenshot from 2024-04-27 00-06-48

  • sudo dnf upgrade --refresh
  • attempted download again; failed
  • sudo rpm --rebuilddb
  • attempted download again; failed
  • sudo dnf clean all
  • sudo dnf upgrade – refresh
  • attempted download again; failed

No idea how to correct…

Have you looked here.

1 Like

OK. Did dnf upgrade --refresh and reboot. Then this:

clayton@fedora:~$ sudo dnf install dnf-plugin-system-upgrade
[sudo] password for clayton:
Last metadata expiration check: 0:01:53 ago on Sat 27 Apr 2024 08:31:17 AM MDT.
Package dnf-plugins-core-4.6.0-1.fc39.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
clayton@fedora:~$ sudo dnf system-upgrade download --releasever=40
Before you continue ensure that your system is fully upgraded by running “dnf --refresh upgrade”. Do you want to continue [y/N]: y
Copr repo for rendezvous owned by peterwu 11 kB/s | 6.4 kB 00:00
Copr repo for PyCharm owned by phracek 455 kB/s | 108 kB 00:00
Fedora 40 - x86_64 8.3 MB/s | 75 MB 00:09
Fedora 40 openh264 (From Cisco) - x86_64 3.3 kB/s | 2.6 kB 00:00
Fedora 40 - x86_64 - Updates 6.6 MB/s | 10 MB 00:01
google-chrome 14 kB/s | 3.6 kB 00:00
RPM Fusion for Fedora 40 - Nonfree - NVIDIA Dri 30 kB/s | 14 kB 00:00
RPM Fusion for Fedora 40 - Nonfree - Steam 3.2 kB/s | 2.1 kB 00:00
Visual Studio Code 7.3 MB/s | 3.5 MB 00:00
No match for group package “samyak-gujarati-fonts”
No match for group package “lohit-nepali-fonts”
No match for group package “nafees-naskh-fonts”
No match for group package “nafees-pakistani-naskh-fonts”
No match for group package “lohit-tamil-classical-fonts”
No match for group package “layla-diwani-fonts”
No match for group package “python3-dnf-plugin-system-upgrade”
No match for group package “paktype-ajrak-fonts”
No match for group package “eosrei-emojione-fonts”
No match for group package “cdac-sakal-marathi-fonts”
No match for group package “google-noto-looped-thai-fonts”
No match for group package “nafees-nastaleeq-fonts”
No match for group package “samyak-devanagari-fonts”
No match for group package “layla-koufi-fonts”
No match for group package “baekmuk-ttf-gulim-fonts”
No match for group package “multican”
No match for group package “layla-digital-fonts”
No match for group package “layla-boxer-fonts”
No match for group package “google-noto-sans-phags-pa-fonts”
No match for group package “baekmuk-ttf-dotum-fonts”
No match for group package “nafees-tehreer-naskh-fonts”
No match for group package “nafees-riqa-fonts”
No match for group package “nafees-web-naskh-fonts”
No match for group package “layla-thuluth-fonts”
No match for group package “baekmuk-ttf-batang-fonts”
No match for group package “kalapi-fonts”
No match for group package “samyak-malayalam-fonts”
No match for group package “samyak-tamil-fonts”
No match for group package “layla-arcyarc-fonts”
No match for group package “nafees-pakistani-web-naskh-fonts”
No match for group package “fontawesome-fonts”
No match for group package “lohit-malayalam-fonts”
No match for group package “layla-basic-arabic-fonts”
No match for group package “baekmuk-ttf-hline-fonts”
No match for group package “samyak-odia-fonts”
No match for group package “layla-ruqaa-fonts”
Error:
Problem: The operation would result in removing the following protected packages: setup
(try to add ‘–skip-broken’ to skip uninstallable packages)
clayton@fedora:~$ sudo dnf system-upgrade download --releasever=40 --skip-broken
Before you continue ensure that your system is fully upgraded by running “dnf --refresh upgrade”. Do you want to continue [y/N]: y
Copr repo for rendezvous owned by peterwu 5.4 kB/s | 1.5 kB 00:00
Copr repo for PyCharm owned by phracek 16 kB/s | 1.8 kB 00:00
Fedora 40 - x86_64 83 kB/s | 23 kB 00:00
Fedora 40 openh264 (From Cisco) - x86_64 4.9 kB/s | 989 B 00:00
Fedora 40 - x86_64 - Updates 77 kB/s | 21 kB 00:00
google-chrome 9.2 kB/s | 1.3 kB 00:00
RPM Fusion for Fedora 40 - Nonfree - NVIDIA Dri 20 kB/s | 7.1 kB 00:00
RPM Fusion for Fedora 40 - Nonfree - Steam 30 kB/s | 6.2 kB 00:00
Visual Studio Code 10 kB/s | 1.5 kB 00:00
No match for group package “kalapi-fonts”
No match for group package “lohit-tamil-classical-fonts”
No match for group package “eosrei-emojione-fonts”
No match for group package “baekmuk-ttf-hline-fonts”
No match for group package “layla-diwani-fonts”
No match for group package “nafees-naskh-fonts”
No match for group package “multican”
No match for group package “lohit-malayalam-fonts”
No match for group package “layla-koufi-fonts”
No match for group package “samyak-tamil-fonts”
No match for group package “samyak-devanagari-fonts”
No match for group package “nafees-web-naskh-fonts”
No match for group package “samyak-odia-fonts”
No match for group package “nafees-riqa-fonts”
No match for group package “nafees-tehreer-naskh-fonts”
No match for group package “layla-digital-fonts”
No match for group package “lohit-nepali-fonts”
No match for group package “python3-dnf-plugin-system-upgrade”
No match for group package “samyak-malayalam-fonts”
No match for group package “google-noto-sans-phags-pa-fonts”
No match for group package “fontawesome-fonts”
No match for group package “samyak-gujarati-fonts”
No match for group package “baekmuk-ttf-batang-fonts”
No match for group package “nafees-pakistani-web-naskh-fonts”
No match for group package “baekmuk-ttf-gulim-fonts”
No match for group package “google-noto-looped-thai-fonts”
No match for group package “baekmuk-ttf-dotum-fonts”
No match for group package “nafees-pakistani-naskh-fonts”
No match for group package “paktype-ajrak-fonts”
No match for group package “nafees-nastaleeq-fonts”
No match for group package “layla-boxer-fonts”
No match for group package “layla-ruqaa-fonts”
No match for group package “layla-basic-arabic-fonts”
No match for group package “cdac-sakal-marathi-fonts”
No match for group package “layla-arcyarc-fonts”
No match for group package “layla-thuluth-fonts”
Error:
Problem: The operation would result in removing the following protected packages: setup
clayton@fedora:~$

Unsure if it’s safe to proceed…

Unless you use any of those fonts it should not be an issue.

A problem here is that when a package is protected, the real reason for the problem is not shown. You can do the following, although this is not recommended:

sudo mv /etc/dnf/protected.d/setup.conf /etc/dnf/protected.d/setup.conf-saved

Then run the upgrade again, and save the output. When being asked the N/y question say “n”. Hopefully we will then know more.

Don’t forget to rename the saved file back to the orininal name.

The “No match for group” is probably not part of the problem.

Although I prefer Fedora, IME, it is simply too unstable. Think I’ll just wipe and return to Ubuntu…

This could have been the crucial step. You now probably have mismatched packages between F39 & F40. . . This is fixable.

Decided to wipe and do a new install of F40…

Even after all that, the Software app crashed attempting to download updates. Had to go to Terminal: dnf clean all, dnf upgrade --refresh.

Ever since F39, I’ve had chronic problems with upgrades (over 90% failure rate). Don’t understand why this is such a problem for Fedora…

There isn’t much anyone can do without the requested details of the failures – no longer possible if you have wiped the system. The last version shown for the samyak-gujarati-fonts package was for F38. Similarly, for python3-dnf-plugin-system-upgrade the last version shown is F37. We often end up using packages from earlier releases, so something more is going on.

2 posts were split to a new topic: Upgrade failed, misimatched packages | F40 |