Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing EOL messages are unactionable #3531

Open
da2x opened this issue Apr 3, 2020 · 29 comments
Open

Confusing EOL messages are unactionable #3531

da2x opened this issue Apr 3, 2020 · 29 comments

Comments

@da2x
Copy link
Contributor

da2x commented Apr 3, 2020

Linux distribution and version

Fedora 31

Flatpak version

1.4.4

Whenever I run flatpak update I get these un-actionable info messages:

Info: org.gnome.Platform is end-of-life, with reason: The GNOME 3.32 runtime is no longer supported as of 11th March 2020. Please ask your application developer to migrate to a supported platform.
Info: org.gnome.Platform is end-of-life, with reason: GNOME 3.30 runtime is no longer supported as of 27th January 2020. Please ask your application developer to migrate to a supported platform.
Info: org.gnome.Platform.Locale is end-of-life, with reason: The GNOME 3.32 runtime is no longer supported as of 11th March 2020. Please ask your application developer to migrate to a supported platform.
Info: org.gnome.Platform.Locale is end-of-life, with reason: GNOME 3.30 runtime is no longer supported as of 27th January 2020. Please ask your application developer to migrate to a supported platform.

The action I’m asked to make is to contact an application developer. But who should I contact? The message doesn’t even tell me which apps use this runtime and there is no info provided to let me identify affected apps or their developers’ contact information.

These errors needs to include a list of affected applications. Armed with this information, I could lookup the app developer’s website and find their contact information.

@TingPing
Copy link
Member

TingPing commented Apr 3, 2020

This message is set by the runtime: https://gitlab.gnome.org/GNOME/gnome-build-meta/

@robbiespeed
Copy link

robbiespeed commented Jul 31, 2020

@da2x if your still seeing this message, one thing that removed it for me was uninstalling unused flatpak uninstall --unused, which I'm a bit surprised doesn't happen automatically as runtimes get replaced with new versions during an update.

I really do agree though that flatpak should do something better to handle end of life for runtimes/apps. As far as I can tell there's no command to even list dependant apps of a runtime, something like flatpak uses org.gnome.Platform//3.32 would be really helpful in order to determine the app author to contact about upgrading the runtime in use. You can use flatpak list --app-runtime=org.gnome.Platform//3.32 to list which applications use the runtime.

@nicolae-stroncea
Copy link

I stumbled upon the same issue. I think a more actionable message would be including the command you need to run to see the list of affected applications: "To see the list of affected applications, please run flatpak ..."

@AlienProber
Copy link

AlienProber commented Sep 13, 2020

I'm on EndeavorOS and receiving the same message. On top that the one command returns nothing, but as you can see I have an extensive list of installed flatpaks.

[alienprober@TheMothership ~]$ flatpak list --app-runtime=org.gnome.Platform//3.32
[alienprober@TheMothership ~]$ 
[alienprober@TheMothership ~]$ 
[alienprober@TheMothership ~]$ flatpak list
Name                    Application ID                 Version    Branch Installation
AnyDesk                 com.anydesk.Anydesk            6.0.1      stable system
Calibre                 com.calibre_ebook.calibre      4.23.0     stable system
Gydl                    com.github.JannikHv.Gydl       0.1.1      stable system
CopyQ                   com.github.hluk.copyq          3.12.0     stable system
GreenWithEnvy           com.leinardi.gwe               0.15.1     stable system
Spotify                 com.spotify.Client             1.1.26.501 stable system
Popsicle                com.system76.Popsicle          1.1.0      stable system
HandBrake               fr.handbrake.ghb               1.3.3      stable system
Qalculate! (GTK+ UI)    io.github.Qalculate            3.12.1     stable system
Master PDF Editor       ….codeindustry.MasterPDFEditor 5.6.42     stable system
MediaInfo               net.mediaarea.MediaInfo        20.08      stable system
Audacious               org.atheme.audacious           4.0.5      stable system
Audacity                org.audacityteam.Audacity      2.4.2      stable system
Codecs                  ….audacityteam.Audacity.Codecs            stable system
Avidemux                org.avidemux.Avidemux          2.7.6      stable system
MKVToolNix              org.bunkus.mkvtoolnix-gui      50.0.0     stable system
Freedesktop Platform    org.freedesktop.Platform       18.08.39   18.08  system
Freedesktop Platform    org.freedesktop.Platform       19.08.12   19.08  system
Freedesktop Platform    org.freedesktop.Platform       20.08.0    20.08  system
default                 …eedesktop.Platform.GL.default            19.08  system
default                 …eedesktop.Platform.GL.default            20.08  system
nvidia-450-66           …top.Platform.GL.nvidia-450-66            1.4    system
FFmpeg extension        …g.freedesktop.Platform.ffmpeg            1.6    system
ffmpeg-full             …edesktop.Platform.ffmpeg-full            19.08  system
ffmpeg-full             …edesktop.Platform.ffmpeg-full            20.08  system
html5-codecs            …desktop.Platform.html5-codecs            18.08  system
openh264                …freedesktop.Platform.openh264 2.1.0      2.0    system
FreeFileSync            org.freefilesync.FreeFileSync  11.1       stable system
GNOME Application Plat… org.gnome.Platform                        3.28   system
GNOME Application Plat… org.gnome.Platform                        3.34   system
GNOME Application Plat… org.gnome.Platform                        3.36   system
Shotwell                org.gnome.Shotwell             0.30.10    stable system
Adwaita theme           org.kde.KStyle.Adwaita                    5.14   system
KDE Application Platfo… org.kde.Platform                          5.14   system
KDE Application Platfo… org.kde.Platform                          5.15   system
digiKam                 org.kde.digikam                7.0.0-rc   stable system
KolourPaint             org.kde.kolourpaint            20.08.1    stable system
LibreOffice             org.libreoffice.LibreOffice    7.0.1.2    stable system
Hardware Probe          org.linux_hardware.hw-probe    1.5        stable system
MusicBrainz Picard      org.musicbrainz.Picard         2.4.4      stable system
OpenShot Video Editor   org.openshot.OpenShot          2.5.1      stable system
qBittorrent             org.qbittorrent.qBittorrent    4.2.5      stable system
Telegram Desktop        org.telegram.desktop           2.3.2      stable system

EDIT:

fixed the command for 3.34 vs 3.32 and I get:

[alienprober@TheMothership ~]$ flatpak list --app-runtime=org.gnome.Platform//3.34
Name       Application ID                 Version       Branch      Installation
Gydl       com.github.JannikHv.Gydl       0.1.1         stable      system

@TiZ-HugLife
Copy link

I'm getting something like this myself:

❯ flatpak update
Looking for updates…
Info: org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason:
   The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Platform.VAAPI.Intel//18.08 is end-of-life, with reason:
   The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.


        ID                                    Branch Op Remote  Download
 1.     org.freedesktop.Platform.VAAPI.Intel  18.08  i  flathub < 1.8 MB
 2.     org.freedesktop.Platform.html5-codecs 18.08  i  flathub < 3.3 MB

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

I can't tell why flatpak update is trying to pull them in; The 18.08 runtime isn't even installed on my system anyways, so what could possibly want these?

@robbiespeed
Copy link

@HugLifeTiZ it seems flatpak doesn't remove old dependencies automatically you have to run flatpak uninstall --unused, give that a try and see if it helps.

@TiZ-HugLife
Copy link

@HugLifeTiZ it seems flatpak doesn't remove old dependencies automatically you have to run flatpak uninstall --unused, give that a try and see if it helps.

That does nothing. It doesn't recognize it as "unused", which kind of tracks with the fact that something keeps pulling it back in every time I update.

@LargePrime
Copy link

flatpak update
Looking for updates…
Info: org.freedesktop.Sdk//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Platform.VAAPI.Intel//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Nothing to do.

flatpak list --app-runtime=org.freedesktop.Sdk//18.08
flatpak list --app-runtime=org.freedesktop.Platform.html5-codecs//18.08
flatpak list --app-runtime=org.freedesktop.VAAPI.Intel//18.08
flatpak uninstall --unused
Nothing unused to uninstall

Please advise

@drbonesaw
Copy link

drbonesaw commented Jul 13, 2021

I'm running into the issue with 18.08 on Garuda Gaming an Arch based distro. Any suggestions on fixing? Thanks

―― 12:49:01 - Flatpak System Packages ――――――――――――――――――――――――――――――――――――――――――
Looking for updates…
Info: (pinned) org.freedesktop.Platform//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Nothing to do.
╭─jigsaw@NSAFieldStation in ~ 
╰─λ flatpak list
Name                     Application ID                   Version              Branch Installation
AnyDesk                  com.anydesk.Anydesk              6.1.1                stable system
CopyQ                    com.github.hluk.copyq            4.1.0                stable system
Spotify                  com.spotify.Client               1.1.55.498.gf9a83c60 stable system
PeaZip                   io.github.peazip.PeaZip          8.0.0                stable system
Master PDF Editor        net.codeindustry.MasterPDFEditor 5.7.60               stable system
MediaInfo                net.mediaarea.MediaInfo          21.03                stable system
Audacious                org.atheme.audacious             4.1                  stable system
Avidemux                 org.avidemux.Avidemux            2.7.8                stable system
MKVToolNix               org.bunkus.mkvtoolnix-gui        59.0.0               stable system
Freedesktop Platform     org.freedesktop.Platform         18.08.39             18.08  system
Freedesktop Platform     org.freedesktop.Platform         20.08.14             20.08  system
i386                     …reedesktop.Platform.Compat.i386                      20.08  system
Mesa                     …freedesktop.Platform.GL.default 21.1.4               20.08  system
nvidia-465-31            …sktop.Platform.GL.nvidia-465-31                      1.4    system
ffmpeg-full              …reedesktop.Platform.ffmpeg-full                      20.08  system
html5-codecs             …eedesktop.Platform.html5-codecs                      18.08  system
openh264                 …g.freedesktop.Platform.openh264 2.1.0                2.0    system
FreeFileSync             org.freefilesync.FreeFileSync    11.11                stable system
GNOME Application Platf… org.gnome.Platform                                    40     system
Adwaita theme            org.kde.KStyle.Adwaita                                5.15   system
KDE Application Platform org.kde.Platform                                      5.15   system
Hardware Probe           org.linux_hardware.hw-probe      1.5                  stable system
╭─jigsaw@NSAFieldStation in ~ took 25s
╰─λ flatpak list --app-runtime=org.gnome.Platform//18.08

╭─jigsaw@NSAFieldStation in ~ took 15ms
╰─λ flatpak list --app-runtime=org.freedesktop.Sdk//18.08

╭─jigsaw@NSAFieldStation in ~ took 16ms
╰─λ flatpak list --app-runtime=org.freedesktop.Platform.html5-codecs//18.08

╭─jigsaw@NSAFieldStation in ~ took 16ms
╰─λ flatpak list --app-runtime=org.freedesktop.VAAPI.Intel//18.08

╭─jigsaw@NSAFieldStation in ~ took 14ms
╰─λ flatpak uninstall --unused

These runtimes in installation 'system' are pinned and won't be removed; see flatpak-pin(1):
runtime/org.freedesktop.Platform/x86_64/18.08
Nothing unused to uninstall

@dreua
Copy link

dreua commented Sep 19, 2021

@HugLifeTiZ Same here, now with 19.08, did you find a solution?

@fdaciuk
Copy link

fdaciuk commented Sep 19, 2021

@HugLifeTiZ Same here, now with 19.08, did you find a solution?

Using flatpak uninstall --unused worked for me =)

@dreua
Copy link

dreua commented Sep 19, 2021

@fdaciuk flatpak uninstall --unused didn't help @HugLifeTiZ and it doesn't help me, that's why I asked.

@TiZ-HugLife
Copy link

What I ended up doing was flatpak mask on the undesired packages.

@LargePrime
Copy link

flatpak update
Looking for updates…
Info: org.freedesktop.Sdk//18.08 is end-of-life, with reason: The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.

> Please advise

What I found works, and submit for sanity review to this august body...

flatpak uninstall org.freedesktop.Sdk//19.08

where "org.freedesktop.Sdk//19.08" is the first thing giving one a problem. Then...

flatpack update

Looking for updates…
Info: org.freedesktop.Sdk//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Platform.VAAPI.Intel//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Nothing to do.
$ flatpak uninstall org.freedesktop.Sdk//18.08
ID Branch Op

  1. [-] org.freedesktop.Sdk 18.08 r
  2. [-] org.freedesktop.Sdk.Locale 18.08 r
  3. [-] org.freedesktop.Platform.VAAPI.Intel 18.08 r
  4. [-] org.freedesktop.Platform.html5-codecs 18.08 r

Uninstall complete.

flatpak update
Looking for updates…
Nothing to do.

Thoughts?

@ruffson
Copy link

ruffson commented Oct 10, 2021

This is bonkers. When I do flatpak update the two uneeded packages for me are: org.freedesktop.Platform.GL.default//19.08 and org.freedesktop.Platform.html5-codecs//18.08 required by nothing and not autoremoved via --unused.

When I then try to explicitly uninstall them via:

flatpak uninstall org.freedesktop.Platform.GL.default//19.08 org.freedesktop.Platform.html5-codecs//18.08

It uninstalls them alright but when I then do update again, guess what happens:

base ❯ flatpak update
Looking for updates…
Info: org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason:
   The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Platform.GL.default//19.08 is end-of-life, with reason:
   The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version


        ID                                        Branch    Op    Remote     Download
 1.     org.freedesktop.Platform.GL.default       19.08     i     flathub    < 89.1 MB
 2.     org.freedesktop.Platform.html5-codecs     18.08     i     flathub     < 3.3 MB

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

IT WANTS TO REINSTALL THEM.

I also don't get why update still tells me they are end-of-life when they are uninstalled. If I just abort this with n and try uninstalling them again via the above command, it tells me that

Warning: org.freedesktop.Platform.GL.default//19.08 is not installed
Warning: org.freedesktop.Platform.html5-codecs//18.08 is not installed

So somehow this system is so in love with these packages that it just cannot get over them.

@mwleeds
Copy link
Collaborator

mwleeds commented Oct 12, 2021

Just a technical note for when this is being implemented, we can use flatpak_dir_list_app_refs_with_runtime()

@dreua
Copy link

dreua commented Oct 30, 2021

Finally I could find a workaround on my machine:

$ flatpak uninstall mirage
Found installed ref ‘app/io.github.mirukana.mirage/x86_64/master’ (user). Is this correct? [Y/n]: y


        ID                                            Branch          Op
 1. [-] io.github.mirukana.mirage                     master          r
 2. [-] org.freedesktop.Platform.GL.default           19.08           r
 3. [-] org.freedesktop.Platform.VAAPI.Intel          19.08           r

Uninstall complete.

# Now each update would either install or remove the previously installed {GL.default,VAAPI.Intel}//19.08 packages
# But this can be fixed by removing the fallout:
$ flatpak uninstall --unused


        ID                                                                Branch      Op
 1. [-] org.freedesktop.Platform                                          20.08       r
 2. [-] org.freedesktop.Platform.Locale                                   20.08       r
 3. [-] org.kde.KStyle.Adwaita                                            5.14        r
 4. [-] org.kde.Platform                                                  5.14        r
 5. [-] org.kde.Platform.Locale                                           5.14        r
 6. [-] org.kde.PlatformTheme.QGnomePlatform.Sources                      5.14        r
 7. [-] org.kde.PlatformTheme.QGnomePlatform                              5.14        r
 8. [-] org.kde.PlatformTheme.QtSNI.Sources                               5.14        r
 9. [-] org.kde.PlatformTheme.QtSNI                                       5.14        r
10. [-] org.kde.WaylandDecoration.QGnomePlatform-decoration               5.14        r
11. [-] org.kde.WaylandDecoration.QGnomePlatform_decoration.Sources       5.14        r

Uninstall complete.

Still no clue on what pulled them in, just noticed the mirage repository was not working anymore in a flatpak update -v and it was an unused package anyway.

@leporearctico
Copy link

I had the same problem on my system regarding the packages org.freedesktop.Sdk//19.08,org.freedesktop.Platform.VAAPI.Intel//19.08 and org.freedesktop.Platform.GL.default//19.08:

$ flatpak update
Looking for updates…
Info: org.freedesktop.Sdk//19.08 is end-of-life, with reason:
   The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Info: org.freedesktop.Platform.VAAPI.Intel//19.08 is end-of-life, with reason:
   The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Info: org.freedesktop.Platform.GL.default//19.08 is end-of-life, with reason:
   The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Nothing to do.

First I tried to uninstall the unused packages:
flatpak uninstall --unused
Besides a bunch of other packages, two of the three problematic packages were listed and thus could be removed:

1. [-] org.freedesktop.Platform.GL.default           20.08          r    
2. [-] org.freedesktop.Platform.VAAPI.Intel          20.08          r

Unfortunately, the unused packages had a different version (20.08) than the problematic ones (19.08) and thus, the warnings were still present when performing flatpak update.

Then I manually installed the latest version of org.freedesktop.Sdk:
flatpak install org.freedesktop.Sdk//21.08
and uninstalled the old version after:
flatpak uninstall org.freedesktop.Sdk//19.08

The last command also uninstalled the other problematic packages:

1. [-] org.freedesktop.Sdk                           19.08          r
2. [-] org.freedesktop.Sdk.Locale                    19.08          r
3. [-] org.freedesktop.Platform.GL.default           19.08          r
4. [-] org.freedesktop.Platform.VAAPI.Intel          19.08          r

After that, the warnings were gone:

$ flatpak update
Looking for updates…
Nothing to do.

Hope this helps.

@dik23
Copy link

dik23 commented Nov 2, 2021

I am still seeing

flatpak update
Looking for updates…
Info: org.freedesktop.Platform.VAAPI.Intel//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform

Both of these commands show nothing

flatpak list --app --app-runtime=org.freedesktop.Platform.VAAPI.Intel//18.08
flatpak list --app --app-runtime=org.freedesktop.Platform.html5-codecs//18.08

@Locutus64
Copy link

@dik23 good luck in getting anyone to actually address this issue. I and at least 3 others that I know of have asked about how to fix this and if the codec pack is even needed. I use Topgrade to update everything and when it gets to the Flatpak section if this is installed it uninstalls it, if it's not installed it installs it. Doesn't seem to be hurting anything on the system, but would still be nice to get it fixed so we can stop receiving the message.

@konradmb
Copy link

konradmb commented Mar 6, 2022

First find which platform pulls outdated extension as dependency:
find /var/lib/flatpak/{app,runtime} -name metadata -type f | xargs grep org.freedesktop.Platform.html5-codecs
or by version:
find /var/lib/flatpak/{app,runtime} -name metadata -type f | xargs grep 18.08

$ find /var/lib/flatpak/{app,runtime}  -name metadata -type f | xargs grep org.freedesktop.Platform.html5-codecs
/var/lib/flatpak/runtime/org.kde.Sdk/x86_64/5.12/222f03cca6b7ded5e8a6dd542e75a56ec9859c19cb6ca103d3f064ce0564a5db/metadata:[Extension org.freedesktop.Platform.html5-codecs]
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.12/91ab94ebfde7440196cc7efcc469e98196243948d856dcb5d968a2c15a0dd4d5/metadata:[Extension org.freedesktop.Platform.html5-codecs]

Then then you can check which apps depends on that platform and optionally uninstall them later:
flatpak list --app-runtime=org.kde.Platform/x86_64/5.12

Also only removing platform should tell you which apps use it:

flatpak remove org.kde.Platform/x86_64/5.12


        ID                             Branch        Op
 1. [?] org.kde.Platform               5.12          r
 2. [ ] org.kde.Platform.Locale        5.12          r

Error: Can't remove org.kde.Platform/x86_64/5.12, it is needed for: org.sdrangel.SDRangel
error: Failed to uninstall org.kde.Platform: Can't remove org.kde.Platform/x86_64/5.12, it is needed for: org.sdrangel.SDRangel

@Technohacker
Copy link

Technohacker commented Mar 13, 2022

@konradmb Thank you so much for this! Helped me knock out the app that pinned it down for me: Kdenlive (from the flathub-beta repo). It depended on the 5.12 Plasma SDK which pulled in the html5-codecs runtime

@mwleeds
Copy link
Collaborator

mwleeds commented Mar 31, 2022

Unfortunately this issue has become a thread where people discuss related but distinct issues, and it's hard to make progress on it without disentangling them. Here's a shot at that:

  1. One issue is that Flatpak didn't used to tell you what app(s) are using an EOL runtime so the user had to find out on their own. Since Flatpak 1.9.1 (Nov 2020) Flatpak prints the list of applications that are depending on a runtime right after the EOL message (commit 7eb5f4d)
  2. Another issue is that the way we look for applications using an EOL runtime isn't perfect: it doesn't work if the EOL runtime is an extension that's being used indirectly. E.g. the app org.rolisteam.rolisteam uses the runtime org.kde.Platform//5.12 which has the extension org.freedesktop.Platform.html5-codecs//18.08 but when we print the EOL message for that extension, we don't find any apps to list using it. It's a bit of an odd situation: if a runtime is not EOL but an extension it uses is, then isn't it really EOL? The KDE 5.12 runtime also seems to have received no updates since 2020-09-23 so perhaps it should be marked EOL.
  3. Another issue is that Flatpak didn't used to automatically remove unused EOL runtimes, but this has been fixed since 1.9.1.
  4. Another issue is that Flatpak tries to reinstall extensions that are marked auto-download even if they've been manually removed by the user. This can be the topic of [Bug]: flatpak update wants to install previously installed extensions for removed runtimes #4549 even though that issue was originally opened with a different idea about where the bug lies.
  5. People get confused when flatpak update pulls in dependencies without any indication of where they're coming from. Not sure what the solution to that is though.
  6. It also kind of seems like people are reading the EOL message and thinking that it necessarily means the EOL runtime is unused or that it means they should uninstall it? Not sure though.

@mwleeds
Copy link
Collaborator

mwleeds commented Mar 31, 2022

The KDE 5.12 runtime also seems to have received no updates since 2020-09-23 so perhaps it should be marked EOL.

Filed https://invent.kde.org/packaging/flatpak-kde-runtime/-/issues/32

mwleeds added a commit that referenced this issue Mar 31, 2022
I think the "app//branch" syntax is pretty ugly, and maybe not all users
understand it.

Helps: #3531
mwleeds added a commit that referenced this issue Mar 31, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

Helps: #3531
mwleeds added a commit that referenced this issue Apr 1, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

Helps: #3531
mwleeds added a commit that referenced this issue Apr 1, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

Helps: #3531
@ViniciusBRodrigues
Copy link

I had the same problem on my system regarding the packages org.freedesktop.Sdk//19.08,org.freedesktop.Platform.VAAPI.Intel//19.08 and org.freedesktop.Platform.GL.default//19.08:

$ flatpak update
Looking for updates…
Info: org.freedesktop.Sdk//19.08 is end-of-life, with reason:
   The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Info: org.freedesktop.Platform.VAAPI.Intel//19.08 is end-of-life, with reason:
   The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Info: org.freedesktop.Platform.GL.default//19.08 is end-of-life, with reason:
   The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Nothing to do.

First I tried to uninstall the unused packages: flatpak uninstall --unused Besides a bunch of other packages, two of the three problematic packages were listed and thus could be removed:

1. [-] org.freedesktop.Platform.GL.default           20.08          r    
2. [-] org.freedesktop.Platform.VAAPI.Intel          20.08          r

Unfortunately, the unused packages had a different version (20.08) than the problematic ones (19.08) and thus, the warnings were still present when performing flatpak update.

Then I manually installed the latest version of org.freedesktop.Sdk: flatpak install org.freedesktop.Sdk//21.08 and uninstalled the old version after: flatpak uninstall org.freedesktop.Sdk//19.08

The last command also uninstalled the other problematic packages:

1. [-] org.freedesktop.Sdk                           19.08          r
2. [-] org.freedesktop.Sdk.Locale                    19.08          r
3. [-] org.freedesktop.Platform.GL.default           19.08          r
4. [-] org.freedesktop.Platform.VAAPI.Intel          19.08          r

After that, the warnings were gone:

$ flatpak update
Looking for updates…
Nothing to do.

Hope this helps.

Great! I also used it to remove org.freedesktop.Platform.Icontheme.Adwaita//1.0 error

mwleeds added a commit that referenced this issue Jun 15, 2022
I think the "app//branch" syntax is pretty ugly, and maybe not all users
understand it.

Helps: #3531
mwleeds added a commit that referenced this issue Jun 15, 2022
I think the "app//branch" syntax is pretty ugly, and maybe not all users
understand it.

Helps: #3531
mwleeds added a commit that referenced this issue Jun 15, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

Helps: #3531
mwleeds added a commit that referenced this issue Jun 20, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

Helps: #3531
mwleeds added a commit that referenced this issue Jun 21, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

This is implemented using in-memory caches because otherwise it is
horribly slow; see
#4835 (comment)

Helps: #3531
mwleeds added a commit that referenced this issue Jun 22, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

This is implemented using in-memory caches because otherwise it is
horribly slow; see
#4835 (comment)

Helps: #3531
mwleeds added a commit that referenced this issue Jun 24, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

This is implemented using in-memory caches because otherwise it is
horribly slow; see
#4835 (comment)

Helps: #3531
mwleeds added a commit that referenced this issue Jul 21, 2022
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

This is implemented using in-memory caches because otherwise it is
horribly slow; see
#4835 (comment)

Helps: #3531
@mwleeds
Copy link
Collaborator

mwleeds commented Jul 24, 2022

Another issue is that the way we look for applications using an EOL runtime isn't perfect: it doesn't work if the EOL runtime is an extension that's being used indirectly. E.g. the app org.rolisteam.rolisteam uses the runtime org.kde.Platform//5.12 which has the extension org.freedesktop.Platform.html5-codecs//18.08 but when we print the EOL message for that extension, we don't find any apps to list using it. It's a bit of an odd situation: if a runtime is not EOL but an extension it uses is, then isn't it really EOL? The KDE 5.12 runtime also seems to have received no updates since 2020-09-23 so perhaps it should be marked EOL.

This was fixed by #4835

@mwleeds
Copy link
Collaborator

mwleeds commented Jul 24, 2022

People get confused when flatpak update pulls in dependencies without any indication of where they're coming from. Not sure what the solution to that is though.

It also kind of seems like people are reading the EOL message and thinking that it necessarily means the EOL runtime is unused or that it means they should uninstall it? Not sure though.

These two things are perhaps what's remaining on this issue, but since they don't have well-defined solutions yet, and it's not even clear they are accurate descriptions of user experiences, this issue will stall until we have those things.

@mwleeds mwleeds removed this from the 1.14.0 milestone Jul 24, 2022
@SRNissen
Copy link

These two things are perhaps what's remaining on this issue, but since they don't have well-defined solutions yet, and it's not even clear they are accurate descriptions of user experiences, this issue will stall until we have those things.

Not... quite (I found this issue googling solutions to the EOL message and my problem was neither of these two)

Let me start by pasting my terminal and what I was thinking working through it.

A paraphrase of my internal narrative as I did this:

ME: I want to update my flatpak apps.

srnissen@popkrom:~$ flatpak upgrade
Looking for updates…
Info: org.freedesktop.Sdk//20.08 is end-of-life, with reason:
   org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: org.freedesktop.Platform.VAAPI.Intel//20.08 is end-of-life, with reason:
   org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: org.freedesktop.Platform.GL.default//20.08 is end-of-life, with reason:
   org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Nothing to do.

ME: Nothing to do - not weird, I updated very recently (minutes ago...)

ME: But maybe a light spring cleaining

srnissen@popkrom:~$ flatpak remove --unused
Nothing unused to uninstall

ME: Wait if they're all in use, they're in use by the flatpak programs I just updated - shouldn't those be marked EOL?

ME: Let's find out who's using them

srnissen@popkrom:~$ flatpak list --app --app-runtime=org.freedesktop.Platform
Name                    Application ID            Version          Branch   Installation
Discord                 com.discordapp.Discord    0.0.25           stable   user
ClamTk                  com.gitlab.davem.ClamTk   6.13             stable   user
Skype                   com.skype.Client          8.94.0.422       stable   user
Steam                   com.valvesoftware.Steam   1.0.0.75         stable   user
Element                 im.riot.Riot              1.11.23          stable   user
Chromium Web Browser    org.chromium.Chromium     110.0.5481.177   stable   user
Thunderbird             org.mozilla.Thunderbird   102.8.0          stable   user

ME: Some of those, I've just updated. Why are they using an old lib?

INTERNET SEARCH: No, those use some version of that lib, not necessarily the one that is EOL, here's a command to find out who uses what

ME: Thank you internet, let me just run that right now.

srnissen@popkrom:~$ flatpak list --app --columns=application,runtime
Application ID                             Runtime
com.discordapp.Discord                     org.freedesktop.Platform/x86_64/22.08
com.dropbox.Client                         org.gnome.Platform/x86_64/43
com.github.PintaProject.Pinta              org.gnome.Platform/x86_64/43
com.github.ryonakano.pinit                 org.gnome.Platform/x86_64/43
com.gitlab.davem.ClamTk                    org.freedesktop.Platform/x86_64/22.08
com.skype.Client                           org.freedesktop.Platform/x86_64/22.08
com.ulduzsoft.Birdtray                     org.kde.Platform/x86_64/5.15-21.08
com.valvesoftware.Steam                    org.freedesktop.Platform/x86_64/22.08
im.riot.Riot                               org.freedesktop.Platform/x86_64/22.08
io.github.peazip.PeaZip                    org.kde.Platform/x86_64/5.15-22.08
net.giuspen.cherrytree                     org.gnome.Platform/x86_64/43
org.chromium.Chromium                      org.freedesktop.Platform/x86_64/22.08
org.mozilla.Thunderbird                    org.freedesktop.Platform/x86_64/22.08
org.videolan.VLC                           org.kde.Platform/x86_64/5.15-22.08

ME: Huh none of my flatpak apps use the libs that that are EOL, they all use newer versions (As I would expect, having recently run an update)

ME: ...

ME: Chotto ein Minute! There was nothing unused to uninstall when I ran remove --unused!

INTERNET: Yeah those are SDK's - those can stick around on their own because maybe you're a dev that's using them, even if none of your packages depend on them.

ME: I have literally never developed software that depended on those SDK's, let's get rid of them explicitly:

srnissen@popkrom:~$ flatpak remove org.freedesktop.Sdk//20.08


        ID                                            Branch          Op
 1. [-] org.freedesktop.Sdk                           20.08           r
 2. [-] org.freedesktop.Sdk.Locale                    20.08           r
 3. [-] org.freedesktop.Platform.GL.default           20.08           r
 4. [-] org.freedesktop.Platform.VAAPI.Intel          20.08           r

Uninstall complete.

ME: Man I hope I didn't break anything that had weird hidden dependencies, thank God I have good backups. Still, let's just

srnissen@popkrom:~$ sudo flatpak repair
Working on the system installation at /var/lib/flatpak
Checking remotes...
Pruning objects

ME: And I think one of the links I found while searching for answers could probably benefit from this tale, I should write it up.

~ ~ fin ~ ~

Full terminal, start to end, without my narrative:

srnissen@popkrom:~$ flatpak upgrade
Looking for updates…
Info: org.freedesktop.Sdk//20.08 is end-of-life, with reason:
   org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: org.freedesktop.Platform.VAAPI.Intel//20.08 is end-of-life, with reason:
   org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: org.freedesktop.Platform.GL.default//20.08 is end-of-life, with reason:
   org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Nothing to do.
srnissen@popkrom:~$ flatpak remove --unused
Nothing unused to uninstall
srnissen@popkrom:~$ flatpak list --app --app-runtime=org.freedesktop.Platform
Name                    Application ID            Version          Branch   Installation
Discord                 com.discordapp.Discord    0.0.25           stable   user
ClamTk                  com.gitlab.davem.ClamTk   6.13             stable   user
Skype                   com.skype.Client          8.94.0.422       stable   user
Steam                   com.valvesoftware.Steam   1.0.0.75         stable   user
Element                 im.riot.Riot              1.11.23          stable   user
Chromium Web Browser    org.chromium.Chromium     110.0.5481.177   stable   user
Thunderbird             org.mozilla.Thunderbird   102.8.0          stable   user
srnissen@popkrom:~$ flatpak list --app --columns=application,runtime
Application ID                             Runtime
com.discordapp.Discord                     org.freedesktop.Platform/x86_64/22.08
com.dropbox.Client                         org.gnome.Platform/x86_64/43
com.github.PintaProject.Pinta              org.gnome.Platform/x86_64/43
com.github.ryonakano.pinit                 org.gnome.Platform/x86_64/43
com.gitlab.davem.ClamTk                    org.freedesktop.Platform/x86_64/22.08
com.skype.Client                           org.freedesktop.Platform/x86_64/22.08
com.ulduzsoft.Birdtray                     org.kde.Platform/x86_64/5.15-21.08
com.valvesoftware.Steam                    org.freedesktop.Platform/x86_64/22.08
im.riot.Riot                               org.freedesktop.Platform/x86_64/22.08
io.github.peazip.PeaZip                    org.kde.Platform/x86_64/5.15-22.08
net.giuspen.cherrytree                     org.gnome.Platform/x86_64/43
org.chromium.Chromium                      org.freedesktop.Platform/x86_64/22.08
org.mozilla.Thunderbird                    org.freedesktop.Platform/x86_64/22.08
org.videolan.VLC                           org.kde.Platform/x86_64/5.15-22.08
srnissen@popkrom:~$ flatpak remove org.freedesktop.Sdk//20.08


        ID                                            Branch          Op
 1. [-] org.freedesktop.Sdk                           20.08           r
 2. [-] org.freedesktop.Sdk.Locale                    20.08           r
 3. [-] org.freedesktop.Platform.GL.default           20.08           r
 4. [-] org.freedesktop.Platform.VAAPI.Intel          20.08           r

Uninstall complete.
srnissen@popkrom:~$ sudo flatpak repair
Working on the system installation at /var/lib/flatpak
Checking remotes...
Pruning objects

@ssokolow
Copy link

ssokolow commented May 8, 2024

I think the concepts of alarm fatigue and banner blindness should be taken into consideration here.

I have a flood of these sorts of messages that appear before I run anything. Are some of them actionable? Yes... but I never read them anymore because they're buried in a flood of messages from applications that are just a little bit slow in upgrading to the latest version of their particular runtime.

The only reason I know some are actionable is that I assume one of them still says this:

Info: app io.gitlab.jstest_gtk.jstest_gtk branch stable is end-of-life, with reason:
   This application is now being maintained as a Nix flake.

(No, thank you. I'd rather have jstest-gtk with my customized (tightened) Flatpak sandbox than to have to manage the APT version plus Firejail. Installing yet another package manager is not an option I'm willing to consider... though after I upgrade to Kubuntu 24.04 LTS, I'll reconsider whether the KDE gamepads control panel is now acceptable.)

Just as Raymond Chen described how Microsoft tried very hard to avoid popups that would train people to just click Yes without reading to get past the "noise", Flatpak needs to re-think this feature.

These days, I almost literally see this:

ssokolow@monolith-tng ~ % flatpak upgrade

[motion-blurred spray of nonsense to be skipped past without reading it]

        ID                                                                  Branch              Op              Remote              Download
...

Hell, I've been considering writing a wrapper that functions as a multi-line-aware grep and understands enough of the formatting to strip out those messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests