Flatpak still retaining old fedora runtimes

I noticed that flatpak does not seem to be getting rid of the fedora 43 runtimes even though I have updated to fedora 44 a while ago and no apps on my system seem to be using them, and I noticed they seem to be pinned for some reason:

> flatpak pin
Pinned patterns:
  runtime/org.fedoraproject.Platform.GL.default/x86_64/f43
  runtime/org.fedoraproject.Platform/x86_64/f43

What’s up with that? Is that expected? Should I unpin them?

It should be fine to unpin if no app is using them.

Side note:

There’s no necessary connection between the version of Fedora on your host, and the Flatpaks you have in use. You could in principle have a Fedora 44 system with apps running against an F43 Flatpak runtime, or vice versa.

ah right. I haven’t pinned those runtimes myself though, I’m confused why are they pinned.

I also don’t know why this would happen! If you can see that no app uses them though, it shouldn’t do any harm to remove them.

flatpak uninstall  --unused 

Works only if not pinned.

Also does not work if there are apps capable of using more than one version of certain flatpaks.

$ flatpak uninstall --unused
Nothing unused to uninstall


 $ flatpak uninstall org.freedesktop.Platform.GL.nvidia-595-71-05
Info: applications using the extension org.freedesktop.Platform.GL.nvidia-595-71-05 branch 1.4:
   org.gnome.Aisleriot, org.gnome.Crosswords, org.gnome.Mines, org.gnome.Reversi, org.gnome.Sudoku, org.asamk.SignalCli, org.freecad.FreeCAD
Really remove? [y/n]: y


        ID                                                      Branch           Op
 1. [-] org.freedesktop.Platform.GL.nvidia-595-71-05            1.4              r

Uninstall complete.

Those same listed apps also use the newer version of the nvidia flatpak
org.freedesktop.Platform.GL.nvidia-610-57-04 and as a result removing the older one does not prevent those apps from functioning.

I have reported this some time ago. According to the comments, it seems it will be fixed in F45.

Thank you for filing this.