이 명령을 어딘가에서 찾았습니다플랫팩 유지관리:
flatpak uninstall --unused
당시에는 시간이 별로 없었기 때문에 나중을 위해 아껴두었습니다. 이제 실행하면 다음과 같은 결과를 얻습니다.
$ flatpak uninstall --unused
These runtimes in installation 'system' are pinned and won't be removed; see flatpak-pin(1):
runtime/org.freedesktop.Platform.GL.nvidia-535-54-03/x86_64/1.4
ID Branch Op
1. org.freedesktop.Platform.GL.default 1.6 r
2. org.freedesktop.Platform.GL.default 21.08 r
3. org.freedesktop.Platform.GL.nvidia-525-105-17 1.4 r
4. org.freedesktop.Platform.GL.nvidia-530-41-03 1.4 r
5. org.freedesktop.Platform.VAAPI.Intel 21.08 r
6. org.freedesktop.Platform.openh264 2.0 r
7. org.freedesktop.Platform 21.08 r
8. org.freedesktop.Platform.Locale 21.08 r
9. org.gnome.Platform 43 r
10. org.gnome.Platform.Locale 43 r
11. org.freedesktop.Platform.openh264 2.2.0 r
12. org.gnome.Sdk 3.28 r
13. org.gnome.Sdk.Locale 3.28 r
Proceed with these changes to the system installation? [Y/n]: n
내 시스템 Linux Mint 21.1 Vera Cinnamon을 손상시키고 싶지 않습니다.
이러한 플랫 팩이 실제로 사용되지 않는지 확인하는 방법을 알려주실 수 있나요?
내 시스템에 설치된 플랫팩의 전체 목록은 다음과 같습니다.
$ flatpak list
Name Application ID Version Branch Origin Installation
PyCharm-Community com.jetbrains.PyCharm-Community 2023.1 stable flathub system
Freedesktop Platform org.freedesktop.Platform 21.08.19 21.08 flathub system
Freedesktop Platform org.freedesktop.Platform 22.08.12.1 22.08 flathub system
default org.freedesktop.Platform.GL.default 1.6 gnome system
Mesa org.freedesktop.Platform.GL.default 21.3.9 21.08 flathub system
Mesa org.freedesktop.Platform.GL.default 23.1.1 22.08 flathub system
Mesa (Extra) org.freedesktop.Platform.GL.default 23.1.1 22.08-extra flathub system
nvidia-525-105-17 org.freedesktop.Platform.GL.nvidia-525-105-17 1.4 flathub system
nvidia-530-41-03 org.freedesktop.Platform.GL.nvidia-530-41-03 1.4 flathub system
nvidia-535-54-03 org.freedesktop.Platform.GL.nvidia-535-54-03 1.4 flathub system
Intel org.freedesktop.Platform.VAAPI.Intel 21.08 flathub system
Intel org.freedesktop.Platform.VAAPI.Intel 22.08 flathub system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.0 flathub system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 flathub system
Freedesktop SDK org.freedesktop.Sdk 22.08.12.1 22.08 flathub system
GNOME Application Platform version 43 org.gnome.Platform 43 flathub system
GNOME Software Development Kit version 3.28 org.gnome.Sdk 3.28 gnome system
Mint-Y Gtk Theme org.gtk.Gtk3theme.Mint-Y 3.22 flathub system
Mint-Y-Aqua Gtk Theme org.gtk.Gtk3theme.Mint-Y-Aqua 3.22 flathub system
Mint-Y-Dark-Purple Gtk Theme org.gtk.Gtk3theme.Mint-Y-Dark-Purple 3.22 flathub system
TigerVNC Viewer org.tigervnc.vncviewer 1.13.0 stable flathub system
GNOME
업데이트하려고 하면 3개의 Flatpak이 저장소에서 이동되었을 수 있다는 메시지가 나타납니다.
$ flatpak update
Looking for updates…
F: Warning: Treating remote fetch error as non-fatal since runtime/org.gnome.Sdk/x86_64/3.28 is already installed: No such ref 'runtime/org.gnome.Sdk/x86_64/3.28' in remote gnome
F: Warning: Treating remote fetch error as non-fatal since runtime/org.gnome.Sdk.Locale/x86_64/3.28 is already installed: No such ref 'runtime/org.gnome.Sdk.Locale/x86_64/3.28' in remote gnome
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.GL.default/x86_64/1.6 is already installed: No such ref 'runtime/org.freedesktop.Platform.GL.default/x86_64/1.6' in remote gnome
Nothing to do.
답변1
제거된 런타임을 제공 한다면 flatpak uninstall --unused
이는 해당 런타임이 사용되지 않는다는 의미입니다.
flatpak info
관심 있는 설치된 모든 애플리케이션을 실행하여 이를 수동으로 확인하고 해당 애플리케이션의 런타임 여부를 확인할 수 있습니다.아니요사용되지 않은 런타임 목록에 있습니다.