Home > System Tutorial > LINUX > How To Remove EOL Flatpak Runtimes In Linux

How To Remove EOL Flatpak Runtimes In Linux

Joseph Gordon-Levitt
Release: 2025-03-21 10:51:12
Original
356 people have browsed it

Flatpak package management systems are very popular in Linux systems, but their runtime environments may also face end of life (EOL). This article will guide you how to remove an expired Flatpak runtime environment to ensure your system is safe and stable.

 <code>$ flatpak update Looking for updates…<strong></strong></code><mark> Info: org.kde.Platform//5.15-21.08 Obsolete</mark> ,reason:
   It is highly recommended to migrate to the latest stable version of Platform and SDK
Applications using this runtime:
   org.kiwix.desktop
<strong><mark>Info: org.freedesktop.Platform.VAAPI.Intel//21.08 Obsolete</mark> ,reason:
   org.freedesktop.Platform 21.08 no longer receives repairs and security updates. Please update to the supported runtime version.
<strong><mark>Info: org.freedesktop.Platform.GL.default//21.08 Obsolete</mark> ,reason:
   org.freedesktop.Platform 21.08 no longer receives repairs and security updates. Please update to the supported runtime version.
No operation. </strong></strong>
Copy after login

How To Remove EOL Flatpak Runtimes In Linux

As shown above, the following runtime has expired:

 <code>org.kde.Platform//5.15-21.08 org.freedesktop.Platform.VAAPI.Intel//21.08 org.freedesktop.Platform.GL.default//21.08</code>
Copy after login

Once an outdated runtime is found, it should be updated to the latest supported version or removed.

Steps: Remove expired Flatpak runtime

1. Identify the problem runtime:

Use the following command to identify the runtime that needs to be removed:

 <code>$ flatpak repair</code>
Copy after login

This command trims and reinstalls invalid objects.

Then, make sure that all Flatpak and its associated runtimes are up to date:

 <code>$ flatpak update</code>
Copy after login

This will show outdated Flatpak runtimes (if any) and applications associated with those runtimes.

2. Remove the outdated runtime:

Remove obsolete EOL runtimes one by one. For example:

 <code>$ flatpak uninstall org.kde.Platform//5.15-21.08 $ flatpak uninstall org.freedesktop.Platform.VAAPI.Intel//21.08 $ flatpak uninstall org.freedesktop.Platform.GL.default//21.08</code>
Copy after login

3. Remove the application associated with the outdated runtime:

Some applications may still rely on outdated runtimes to run properly. It is highly recommended to update these applications to the latest stable version of Platform and SDK. If the runtime is not updated, the only option is to remove the application using that particular runtime.

For example, Kiwix desktop applications rely on the 'org.kde.Platform' runtime. When trying to remove it, you may receive the following error:

 <code>[...]错误:无法移除org.kde.Platform/x86_64/5.15-21.08,它被org.kiwix.desktop需要错误:无法卸载org.kde.Platform:无法移除org.kde.Platform/x86_64/5.15-21.08,它被org.kiwix.desktop需要</code>
Copy after login

If there is no updated runtime or SDK available, the only option is to uninstall the application. The kiwix application can be removed using the following command:

 <code>$ flatpak remove org.kiwix.desktop</code>
Copy after login

This command will remove the kiwix application and its runtime.

4. Clean up unused runtimes:

To ensure the system remains tidy, run the following command to remove any runtimes that are not related to the installed application:

 <code>$ flatpak uninstall --unused</code>
Copy after login

5. Stay updated:

Regular maintenance is crucial. Execute the flatpak update command periodically to keep everything up to date, ensuring that the latest features and security patches are always used.

in conclusion

Keeping your system updated is crucial, not only for accessing new features, but also for security reasons. By following the above steps, you can easily handle end-of-life runtime warnings for Flatpak in Linux.

The above is the detailed content of How To Remove EOL Flatpak Runtimes In Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template