Ver*_*ery 9 linux installation pop-os flatpak
我使用的是 Pop!_OS 21.10。默认情况下,Pop!_Shop 在用户模式下安装 flatpak,这很烦人,因为我的系统上有多个用户。
\n我现在已经在系统范围内添加了 Flathub 存储库,因此现在我拥有两个来源:
\n$ flatpak remotes --columns=name,title,url,options\nName Title URL Options\nflathub Flathub https://dl.flathub.org/repo/ system\nflathub Flathub https://dl.flathub.org/repo/ user\nRun Code Online (Sandbox Code Playgroud)\n为了避免将来的用户安装,我想删除用户远程。但是,为此我还必须卸载那里安装的所有应用程序:
\n$ flatpak remote-delete flathub\nRemote \xe2\x80\x98flathub\xe2\x80\x99 found in multiple installations:\n\n 1) system\n 2) user\n\nWhich do you want to use (0 to abort)? [0-2]: 2\nThe following refs are installed from remote 'flathub':\n\n 1) runtime/org.freedesktop.Platform/x86_64/21.08\n 2) runtime/org.freedesktop.Platform.Locale/x86_64/20.08\n 3) runtime/org.freedesktop.Platform.GL.nvidia-470-57-02/x86_64/1.4\n 4) runtime/org.freedesktop.Platform/x86_64/20.08\n 5) runtime/org.freedesktop.Platform.GL.nvidia-470-63-01/x86_64/1.4\n 6) runtime/org.freedesktop.Platform.GL.default/x86_64/21.08\n 7) runtime/org.freedesktop.Platform.GL.nvidia-470-82-00/x86_64/1.4\n 8) runtime/org.freedesktop.Platform.GL.default/x86_64/20.08\n 9) runtime/org.gtk.Gtk3theme.Pop-dark/x86_64/3.22\n 10) runtime/org.freedesktop.Platform.GL.nvidia-465-31/x86_64/1.4\n 11) app/com.skype.Client/x86_64/stable\n 12) runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/21.08\n 13) runtime/org.freedesktop.Platform.Locale/x86_64/21.08\n 14) runtime/org.freedesktop.Platform.openh264/x86_64/2.0\n 15) runtime/org.freedesktop.Platform.GL.nvidia-470-86/x86_64/1.4\n 16) runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08\n\nRemove them? [y/n]: \nRun Code Online (Sandbox Code Playgroud)\n这很可怕,因为我不确定这些软件包中哪些是手动安装的,哪些是作为依赖项安装的。包含驱动程序这一事实也让我感到不安。
\n有没有办法轻松地将这些软件包从用户迁移、移动或重新安装到系统远程?如果它保留依赖项和手动安装的包之间的差异,或者避免重新下载数据,那就更好了。
\nPS:我问这个问题更多是为了找到一个通用的解决方案,而不是解决我的具体问题,因为我在网上找不到一个解决方案。对于我的具体问题,我在系统范围内安装了 Chromium,并且似乎很偶然,还安装了所有驱动程序的最新版本。其余的软件包与驱动程序无关,因此我觉得手动安装它们很舒服。
\n| 归档时间: |
|
| 查看次数: |
4445 次 |
| 最近记录: |