Fedora 38 upgrade reboot fails

After downloading all the packages and doing the reboot, I get the following;

Error: system is not ready for upgrade

Also, using the software GNOME hangs @ partial loading, or just doesn’t start properly to download the packages.

Hard to say without any further information.

Did you follow the steps outlined in DNF System Upgrade :: Fedora Docs?

What was the output of …

sudo dnf system-upgrade download --releasever=38

?

Could be third party repo that doesn’t provide f38 package just yet. Please post dnf repolist.

You can also add a -v to get a more verbose output and learn some details about “Error: system is not ready for upgrade”.

1 Like

Hi Flo, I went thru all the dnf steps, from “its FOSS”, I updated, and used all the instructions, it down loaded all the packages and when it came to the “sudo dnf system-upgrade reboot”, is when I got the error message.

without more information, we can’t help you.

please paste the output of

  • sudo dnf repolist
  • sudo dnf -v system-upgrade download --releasever=38, and
  • sudo dnf -v system-upgrade reboot
1 Like

Hi Flo, here is the readout from repolist;

repo id                                        repo name
brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
copr:copr.fedorainfracloud.org:kwizart:fedy    Copr repo for fedy owned by kwizart
fedora                                         Fedora 37 - x86_64
fedora-cisco-openh264                          Fedora 37 openh264 (From Cisco) - x86_64
fedora-modular                                 Fedora Modular 37 - x86_64
google-chrome                                  google-chrome
google-earth-pro                               google-earth-pro
phracek-PyCharm                                Copr repo for PyCharm owned by phracek
protonvpn-fedora-stable                        ProtonVPN Fedora Stable repository
rpmfusion-free                                 RPM Fusion for Fedora 37 - Free
rpmfusion-free-updates                         RPM Fusion for Fedora 37 - Free - Updates
rpmfusion-free-updates-testing                 RPM Fusion for Fedora 37 - Free - Test Updates
rpmfusion-nonfree                              RPM Fusion for Fedora 37 - Nonfree
rpmfusion-nonfree-nvidia-driver                RPM Fusion for Fedora 37 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam                        RPM Fusion for Fedora 37 - Nonfree - Steam
rpmfusion-nonfree-updates                      RPM Fusion for Fedora 37 - Nonfree - Updates
rpmfusion-nonfree-updates-testing              RPM Fusion for Fedora 37 - Nonfree - Test Updates
teamviewer                                     TeamViewer - x86_64
updates                                        Fedora 37 - x86_64 - Updates
updates-modular                                Fedora Modular 37 - x86_64 - Updates
1 Like

I am pretty sure one or more of those repos don’t provide f38 packages.

Disable all third party repos and retry. If you don’t know how to do this from set command line (dnf -set-disabled <reponame>), you can do it in Gnome Software.

Printout from; sudo dnf -v system-upgrade download --releasever=38

Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.15.0
cachedir: /var/cache/dnf
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]:

I hit; y

After going thru 2730 packages, (already installed)

Came the following;

Total                                           3.6 MB/s | 168 MB     00:46     
Using rpmkeys executable at /usr/bin/rpmkeys to verify signatures
Problem opening package FlightGear-data-2020.3.18-1.fc38.noarch.rpm
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
[frank@asus-fedora ~]$ sudo dnf clean packages
[sudo] password for frank: 
151 files removed
[frank@asus-fedora ~]$ sudo dnf system-upgrade reboot
Error: system is not ready for upgrade
[frank@asus-fedora ~]$ sudo dnf -v system-upgrade reboot
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.15.0
cachedir: /var/cache/dnf
Error: system is not ready for upgrade

[frank@asus-fedora ~]$

Does this help you any to see the problem?

1 Like

Ok, there is a problem with FlightGear. Suggestion: Remove it, then upgrade, then install it again.
(Don’t worry, your user data will be preserved).

Also, don’t run sudo dnf clean packages from the cache or dnf has to re-download everything all over again.

PS: I wonder if FlightGear is affected by Popular third-party RPMs fail to install/update/remove due to security policies verification …?

1 Like

I don’t need or use “Flight gear”, so how is the BEST way to remove it completely and “Cleanly”?

1 Like
sudo dnf remove FlightGear
1 Like

Ok, FlightGear is removed.
What would / should be the next Step, before we lose communication if it starts the reboot?

Tried the and got the following: (again(

sudo dnf system-upgrade reboot
[sudo] password for frank:
Error: system is not ready for upgrade

Did the flightgear removal command also remove FlightGear-data? If not remove it as well. Then, because you cleaned the f38 packages (removed them):

sudo dnf -v system-upgrade download --releasever=38

I entered the command, hit y… continue and got this, after it downloaded the packages:

Install 47 Packages
Upgrade 2644 Packages
Remove 7 Packages
Downgrade 17 Packages

Total size: 4.0 G
DNF will only download packages, install gpg keys, and check the transaction.
Is this ok [y/N]:

Should I try the “y” command now?

Yes, that’s what you want.

1 Like

Okay, if it works, thanks for the support, if it doesn’t work, I’ll get back to you again…

Here’s hoping !!!

1 Like

Here is the latest printout:

Using rpmkeys executable at /usr/bin/rpmkeys to verify signatures
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
Error: Transaction test error:
file /usr/lib64/libheif/libheif-libde265.so from install of libheif-freeworld-1.15.1-4.fc38.x86_64 conflicts with file from package libheif-hevc-1.15.1-2.fc37.1.x86_64
file /usr/lib64/libheif/libheif-x265.so from install of libheif-freeworld-1.15.1-4.fc38.x86_64 conflicts with file from package libheif-hevc-1.15.1-2.fc37.1.x86_64

I have not run “dnf clean packages” yet.

1 Like

sudo dnf remove libheif-hevc

then, re-run sudo dnf -v system-upgrade download --releasever=38

don’t do it!

2 Likes

Did what you suggested, it is presently running : Using rpmkeys executable at /usr/bin/rpmkeys to verify signatures

1 Like

Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Complete!
Transaction saved to /var/lib/dnf/system-upgrade/system-upgrade-transaction.json.
Download complete! Use ‘dnf system-upgrade reboot’ to start the upgrade.
To remove cached metadata and transaction use ‘dnf system-upgrade clean’
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
[frank@asus-fedora ~]$

1 Like