Flatpak runtimes don't want to get updated?

I’m on Fedora 39 and these apps don’t want to get updated on Software, what gives?, I click on update and they seem to update but they reset to the same state:

image

Sometimes, the below error message appears:

image

Maybe they would update with sudo flatpak update on the command line. Or maybe they are already at the latest.

1 Like

sudo flatpak update doesn’t work, I get a similar error message as in the above screenshot:

I lately got the message to remove Gnome Application Platform version 45 on F40
45.10 will be EOL (see release calendar from Gnome)

Try to update Freedesktop Platform and Gnome Application Platform version 46 app separately and see if this works.

If yes you might have to test if you can remove it after a reboot.
If not please report it.

It also would be good if you tell us if you are on Silverblue or just Workstation. You can respond seting a tag for that.

It’s just workstation, I uninstalled version 45 and I will reply if I still have the same issue.

I upgraded to Fedora 40 and the issue persisted so I installed Fedora 40 from scratch because I didn’t understand why I couldn’t update those two, but I was able to find out that the problem lies in the Flathub repository (dl.flathub.org), when I tried to install the apps for the first time I got the below error message:

And I remember that the Flathub repository comes already setup in the system after the first installation so what I did was to reinstall it manually by following the below command:

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

But that didn’t help so I had to turn it OFF in Gnome Software, the thing is, I am now unable to install flatpacks due to this problem:

is there any fix?

where can I report this issue?

Added flathub, flatpak, gnome-software

You dont need sudo to update flatpaks.

You had an error connecting to Flathub, then you turned the repo off, now the end-of-life runtimes dont update anymore.

Check flathub.org, the command to add flathub has changed

## --force will not uninstall apps
flatpak remote-delete --force flathub
flatpak remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo

flatpak update -y

You might also want to remove the Fedora Flatpak runtime to avoid duplicate apps.

1 Like

I was just installing them, not updating them…

If that’s the case then, it must be updated in Gnome Software coding since I didn’t touch anything before I attempted to install the apps, actually the above screenshot is the first attempt .

Where is that?, take into account that this is a new installation, forget what I mentioned in the first post because that was at Fedora 39.

I still see the same command:

You also dont need sudo to install flatpaks :smiley: thats one of the points

You confuse me. So you reinstalled and what is your issue now? Please retag your post as f40 then and change the first text, or we can split it up.

You disabled Flathub and then of course there was no repo (actually “remote”) to update them. Of course.

Then instead of adding flathub back, you reinstalled the system? And what is the issue now?

Fedora enables the Fedora flatpak remote automatically, if you use Flathub there is little reason to also use that.

I disabled it but I obviously didn’t attempt to install the apps anymore.

The issue is that the Flathub repository is not working correctly, hence why I can’t install the apps, it’s clearly what I explained, I don’t see whay you get confused…

Yes, I know! but it’s not working!!!

This is not the same command as the one in the image.

Also you dont need sudo.

I think the old command still works, and for sure you dont need to change it or something, the old URL is likely still possible and just links to the new URL

I’m telling you that, before I ran the command, I just attempted to install the apps but it didn’t work because of the aforementioned error message in the terminal screenshot

Then I attempted to run the command but that didn’t work either

So the problem is not the command, the problem is the server or whatever having that issue

And then you got the issue in GNOME software?

Did you have any apps installed? Fedora doesnt preinstall Flathub Flatpaks, but you had the runtimes there which couldnt be updated.

If you would like to remove them (not needed anymore) you can use

flatpak remove --unneeded

I think.

Yes this is a flathub issue and you should contact them, I sent you the link.

I am confused because you had an error you posted, which shouldnt happen anymore, and you already reinstalled the system.

Is it still the same error?

The Fedora Flatpak repo. It only serves Fedora Flatpaks, which are different from Flathub Flatpaks.

Sorry, I know this is confusing.

Flatpak is the technology. Flathub is one repo, the main one. But Fedora also builds Flatpak packages, from its native RPM packages, and has its own repo.

This one is not really needed and can be removed.

I dont think you have an issue with Fedora flatpaks. The GNOME runtime for example is not from there, it is from Flathub.

Added workstation

I will contact Flathub.

Thank you.

1 Like

I think the issue you had on F40 is completely different from the one you had on F39.

But it is pretty confusing.

These seem to be 2 separate issues, please file them as 2 separate issues. The error messages are different.

Good luck!

It’s the same issue because on F39 I was unable to install new apps or update the ones already installed, it’s just that I was finally able to see that the problem lies in the Flathub server and not the Fedora version or even a problem of Gnome software.

I will write a direct email to them, hopefully they will respond, otherwise I’m doomed.

You can go to the Forums or open a Github issue. They will respond quicker from those 2 channels.

2 Likes