KDE Application Platform is not updating

‘KDE Application Platform’ is not updating from within Discover. When I clicked on ‘Update All’ with ‘KDE Application Platform’ checked, it just blinks and comes back to same position without updating. Please see the image below for the system information:


If it cannot be updated through Discover, how can I update it using command line? Please help.

‘KDE Application Platform’ is a flatpak. Try updating it on the command line: flatpak update and see if there are any errors.

You check updates for a specific package as well:

flatpak update org.kde.Platform

flatpak repair might be useful as well.

What version and what source does it show for this package?

$ flatpak info org.kde.Platform

KDE Application Platform - Shared libraries used by KDE applications

          ID: org.kde.Platform
         Ref: runtime/org.kde.Platform/x86_64/6.7
        Arch: x86_64
      Branch: 6.7
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: user
   Installed: 931.2 MB

      Commit: 4afea99cd9ad27be52bc0b5677b3c0490ef6b3840d1a668da9ca7250f7c39dca
      Parent: 2b950249ae84280b555ae80d007435dd1a2e855ac049949abb18280e47586901
     Subject: build of org.kde.Sdk, Fri Oct 11 12:40:29 UTC 2024 (963ed69946799a84609f9fa0ba904f17ea079f67)
        Date: 2024-10-11 21:11:20 +0000

I can’t reproduce this here, but that means nothing as I didn’t have any KDE flatpaks installed, so didn’t have any previous versions of the “KDE Application Platform” (org.kde.Platform ) installed before testing things here.

3 Likes

I’ve had exactly the same problem for a few days now, tho I am running OpenSUSE Tumbleweed.

Here’s what I get when I follow claydoh’s suggestions:

~> flatpak info org.kde.Platform
error: Multiple branches available for org.kde.Platform, you must specify one of: org.kde.Platform/x86_64/6.6, org.kde.Platform/x86_64/6.7, org.kde.Platform/x86_64/5.15-23.08

So I then just checked the info for the latest one, 6.7. I added the --user option as a precaution, since I noted the flatpak is installed this way.

~> flatpak --user update org.kde.Platform/x86_64/6.7
Looking for updates…

Nothing to do.

Then I took a look at 6.6:

~> flatpak --user update org.kde.Platform/x86_64/6.6
Looking for updates…

Info: runtime org.kde.Platform branch 6.6 is end-of-life, with reason:
   We strongly recommend moving to the latest stable version of the Platform and SDK
Info: applications using this runtime:
   org.fedoraproject.MediaWriter


        ID                               Branch          Op          Remote           Download
 1.     org.kde.Platform.Locale          6.6             u           flathub          < 392.4 MB (partial)
 2.     org.kde.Platform                 6.6             u           flathub          < 334.4 MB

Proceed with these changes to the user installation? [Y/n]: n 

I answered “n” to that one because I wasn’t sure what it was going to do if I answered “Y”.

In Discover, the subtitle on the entry for KDE Application Platform is “Refresh of version 6.6”, so if 6.7 is the latest, this update would appear to be irrelevant.

Perhaps uninstalling the 6.6 (and the 5.15) versions is the way to go here, but I’ll wait for other comments before I try it.

It depends. If a specific flatpak app depends on the previous version of a thing, you won’t need the newer one, which might actually break that app.

That’s a flatpak thing, not a KDE thing.

Now, Discover showing updates that flatpak doesn’t want or need, that may well be one

1 Like

The 3rd “codebox” in my earlier post suggests that flatpak 6.6 DOES want an update.

It says 6.6 is “end of life” but then offers 6.6 updates.

But if a specific app requires this exact Platform package specifically, removing it (or replacing it) would break that application - flatpak will let you know which one needs it.

Don’t forget that there can be multiple versions of a thing installed, depending on what each application requires.

It is stating that the app needs to be updated to use a supported package version. Again, if an applications requires this version it needs that version - the app itself may be outdated, or just hasn’t been updated by its packager net.
The Fedora mediawriter app needs this version, according to your info.

I strongly suspect that the “6.6” here is tied to the Qt version.

yes, but maybe it had one final update before this happened?
I spy a few reports of similar things from the past few days, such as OBS’ flatpak, which also uses this Platform package version at the moment.

Look at the build date:

$ flatpak info org.kde.Platform

KDE Application Platform - Shared libraries used by KDE applications

          ID: org.kde.Platform
         Ref: runtime/org.kde.Platform/x86_64/6.6
        Arch: x86_64
      Branch: 6.6
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: user
   Installed: 926.1 MB

      Commit: 256d58a92358188765160b381131109b5920add5f652f474b4f76ff1a3987b86
      Parent: 6e6e01960275a437ff2b25aaa019c6057f17517b5f4d7df954f719a2cffcd94f
     Subject: build of org.kde.Sdk, Thu Oct 31 00:00:42 UTC 2024 (52c3aa99d149692aa011c02c3fI think the final issue is that there IS an update for this now EOL flatpak, but being EOL,  flatpak itself isn't listing it when searching. c27ebb57b37c8f)
        Date: 2024-10-31 07:11:21 +0000
 End-of-life: We strongly recommend moving to the latest stable version of the Platform and SDK

It would update the two packages to the latest (last?) 6.6 build.

I think this weird state is just confusing Discover’s Flatpak plugin - 6.6 doesn’t show in general flatpak search any longer even if it is installed (on my system at least), but there is still an update for it.

Uninstalling MediaWriter also removes the two EOL bits with it, if that matters.

Thanks, claydoh. With your encouragement, I ran the flatpak update for 6.6:

flatpak --user update org.kde.Platform/x86_64/6.6

That ran to completion with no problems.

Then I went into Discover. It no longer suggests the KDE Platform Application update, so that problem is fixed.

The only remaining question then is why couldn’t Discover manage this update itself? As a bug tho, it seems relatively minor …

Command:
flatpak info org.kde.Platform
Result:

KDE Application Platform - Shared libraries used by KDE applications

          ID: org.kde.Platform
         Ref: runtime/org.kde.Platform/x86_64/6.6
        Arch: x86_64
      Branch: 6.6
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 926.1 MB

      Commit: 256d58a92358188765160b381131109b5920add5f652f474b4f76ff1a3987b86
      Parent: 6e6e01960275a437ff2b25aaa019c6057f17517b5f4d7df954f719a2cffcd94f
     Subject: build of org.kde.Sdk, Thu Oct 31 00:00:42 UTC 2024 (52c3aa99d149692aa011c02c3fc27ebb57b37c8f)
        Date: 2024-10-31 07:11:21 +0000
 End-of-life: We strongly recommend moving to the latest stable version of the Platform and SDK

But the problem is, the KDE Application Platform is not updating from the Discover. In your result of the command, the Branch is 6.7 whereas in my result, it is 6.6. It is a major bug.

As I already mentioned, you have a flatpak that still requires this specific version.

Different applications may require different versions of a thing, so one can have multiple version of the Platform flatpak installed at the same time. They are independent.

So one can possibly have version 5.15, 6.7, 6.8, and the 6.6 present, depending on what each individual flatpak app requires. .

This is a Flatpak feature, if you will, not a bug.

The “bug” is that the application that requires 6.6 needs to update their stuff to use the newer Platform, which might just take a little time. The runtime only became EOL last week, fwiw. Some projects may have been caught off guard, or missed it.

But nothing is going to explode.

4 Likes

sudo flatpak update

Worked for me thank you.

I had same problems. I tried flatpak update org.kde.Platform
it said com.obsproject.Studio was using it. I uninstalled org.kde.Platform, which also un installed obs (:… Then ran flatpak install org.kde.Platform
. It offered me a bunch of updates including v6.7 and v6.8. I asked for V6.8. Then after I did an install of com.obsproject.studio.