Unable to upgrade from fedora 44 to 45

Hello,
i’m trying to upgrade to fedora 45 from fedora 44 with gnome-software, as i did for years.
This time it doesn’t works : "failed to run transaction : offline rpm transa tion test failed with code 6.
the download does not begin.
With the terminal, i try dnf system-upgrade download --releasever=45 --assumeno
→ i do not have any error.
I reboot several time, refresh etc.
Could you help me ?
Best regards

If you follow the instructions at Upgrading Fedora what happens?

After you ran dnf system-upgrade download --releasever=45 --assumeno did you you run sudo dnf offline reboot ?

Hello, thank you very much for your help
I would like to follow the recommanded way to upgrade fedora workstation, that’s why i try to use gnome-software. I read that the Using DNF System Plugin is not recommanded by fedora for the workstation with gnome.
I ran dnf system-upgrade download --releasever=45 --assumeno to check that there is no issues.
is it a bug from gnome-sotftware ?
thanks in advance for your help !

You can most certainly use the Upgrade Fedora Offline instructions I linked to. This is the way we recommend here.

You are probably encountering a Gnome Software bug. You do not need to use Gnome Software.

Thank you.
Regards

i checked the link you send.
It’s hard to understand the “Optional post-upgrade tasks” part. Should we run all ?
if Gnome Sotfware has a bug, where can i report it ?
Thanks in advance

You can run the post install tasks, it does not really matter. Up to you.

You can report bugs on bugzilla.redhat.com but that is more difficult than post upgrade. If a lot of people are effected then someone else will report it - so no need to worry about it.

Error 6 is a key import problem:
https://bugzilla.redhat.com/show_bug.cgi?id=2419512 looks similar, but should have been fixed.

Thank you
Do you know if it can it be fixed manualy ?
Regards

Are you still seeing the error? You could look for more details in the journal and dnf5 logs. If others aren’t seeing the error you may have a local issue with missed update, mass storage glitch, etc. rather than a Gnome/dnf5 problem.

Hello,
it seems that it’s a bug : 2566287 – Unclear error when upgrade from Fedora 44 to 45 cannot be done with GNOME Software: "failed to run transaction: offline RPM transaction test failed with code 5"
They say that will be fixed in a couple of days
regards

Personally I do not recommend performing any of the optional steps unless you encounter issues that might be solved by them. If your system was working properly before the upgrade then it usually will continue to do so after the upgrade is completed.

If you need to use them then only use the specific task that addresses the specific issue you may have encountered.

This is why they are identified as optional. They are not necessary in most cases.

Thanks a lot !
do you know the commands gnome-software is launching when unpgrading to the next version ? Is it just
sudo dnf system-upgrade download --releasever=45 & sudo dnf offline reboot ?
Best regards

I don’t have a clue what the command structure is in the gui.

It appears to perform similar to the cli commands, but hides all the text seen on the cli. Both progress text and warnings/errors are hidden.

I don’t think it’s directly invoking the CLI, AFAIK it’s using dnf5daemon’s DBus API.

it’s absoluteky unacceptable that the DNF-API leads to different result than DNF-CLI not even importing updated certs is supported

There are some very useful post cleanups like: Clean-up retired packages
And
Clean-up old packages This looks for duplicates
Also
Clean-up old symlinks Now this one was huge on my system. There must have been close to a hundred…no idea where they come from.
The others I would be super cautious with…as in don’t do it unless you know what you are doing.

And of course, all the above show you first what’s there before you then go ahead and implement them.
So number 1 thing to do is copy and paste whatever found into a text file and keep it for a few months.

Maybe I am misreading your comment?
Because when I upgraded via Terminal using dnf during the upgrade it specifically asked for permission to install the new certificates and then asked again to remove outdated certificates.

New keys are fine. The issue is updates for keys which are already present, especially when the local copy has expired signatures only. This has been a bit of a pain point and typpically hits some users only, depending how old their copy of a key is.