Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
775 stars 188 forks source link

Flatpak in TS 6.2 #808

Open AlexanderZhirov opened 4 months ago

AlexanderZhirov commented 4 months ago

Donald, hello! I'm trying to get a Flatpack on Thinstation 6.2. The package has been builded, successfully got up. But the problem is with adding a repository and downloading images. I've reached a dead end. The certificates in /etc/ssl are installed. I don't have any ideas.

ts_0800274dd952:~$ flatpak install flathub com.expidusos.file_manager

Note that the directories 

'/usr/var/lib/flatpak/exports/share'
'/home/tsuser/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Looking for matches…
Required runtime for com.expidusos.file_manager/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/23.08) found in remote flathub
Do you want to install it? [Y/n]: Y

com.expidusos.file_manager permissions:
    ipc       network               fallback-x11                 pulseaudio       wayland      x11
    dri       file access [1]       system dbus access [2]

    [1] home
    [2] org.freedesktop.UDisks2

        ID                                             Branch                 Op            Remote             Download
 1. [✗] org.freedesktop.Platform.GL.default            23.08                  i             flathub               1.0 kB / 162.3 MB
 2. [✗] org.freedesktop.Platform.GL.default            23.08-extra            i             flathub               1.0 kB / 162.3 MB
 3. [✗] org.freedesktop.Platform.Locale                23.08                  i             flathub               1.0 kB / 359.9 MB
 4. [✗] org.freedesktop.Platform.openh264              2.2.0                  i             flathub               1.0 kB / 944.3 kB
 5. [✗] org.freedesktop.Platform                       23.08                  i             flathub               1.0 kB / 225.6 MB
 6. [ ] com.expidusos.file_manager                     stable                 i             flathub            < 10.3 MB

Warning: Failed to get revokefs-fuse socket from system-helper: Unit flatpak-system-helper.service not found.
Warning: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/23.08 from remote flathub: Unacceptable TLS certificate
Warning: Failed to get revokefs-fuse socket from system-helper: Unit flatpak-system-helper.service not found.
Warning: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra from remote flathub: Unacceptable TLS certificate
Warning: Failed to get revokefs-fuse socket from system-helper: Unit flatpak-system-helper.service not found.
Warning: While pulling runtime/org.freedesktop.Platform.Locale/x86_64/23.08 from remote flathub: Unacceptable TLS certificate
Warning: Failed to get revokefs-fuse socket from system-helper: Unit flatpak-system-helper.service not found.
Warning: While pulling runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 from remote flathub: Unacceptable TLS certificate
Warning: Failed to get revokefs-fuse socket from system-helper: Unit flatpak-system-helper.service not found.
Error: While pulling runtime/org.freedesktop.Platform/x86_64/23.08 from remote flathub: Unacceptable TLS certificate
error: Failed to install org.freedesktop.Platform: While pulling runtime/org.freedesktop.Platform/x86_64/23.08 from remote flathub: Unacceptable TLS certificate
ts_0800274dd952:~$ gpg --version
gpg: out of core handler ignored in FIPS mode
gpg (GnuPG) 2.2.17
libgcrypt 1.9.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/tsuser/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: 3DES, AES, AES192, AES256
Hash: SHA1, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
ts_0800274dd952:~$ gpg --help
gpg: out of core handler ignored in FIPS mode
gpg: Ohhhh jeeee: secure memory is disabled
Aborted

Although if you install the same Flatpack package in the environment itself, then the download takes place.


[root@TS_chroot]~# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

[root@TS_chroot]~# flatpak install flathub com.expidusos.file_manager
Looking for matches?
Required runtime for com.expidusos.file_manager/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/23.08) found in remote flathub
Do you want to install it? [Y/n]: Y

com.expidusos.file_manager permissions:
    ipc       network               fallback-x11                 pulseaudio       wayland      x11
    dri       file access [1]       system dbus access [2]

    [1] home
    [2] org.freedesktop.UDisks2

        ID                                             Branch                 Op            Remote             Download
 1. [/] org.freedesktop.Platform.GL.default            23.08                  i             flathub              139.1�MB / 162.3�MB
 2. [ ] org.freedesktop.Platform.GL.default            23.08-extra            i             flathub            < 162.3�MB
 3. [ ] org.freedesktop.Platform.Locale                23.08                  i             flathub            < 359.9�MB
 4. [ ] org.freedesktop.Platform.openh264              2.2.0                  i             flathub            < 944.3�kB
 5. [ ] org.freedesktop.Platform                       23.08                  i             flathub            < 225.6�MB
 6. [ ] com.expidusos.file_manager                     stable                 i             flathub             < 10.3�MB

Installing 1/6? ???????               34%  7.7�MB/s  00:34
AlexanderZhirov commented 4 months ago

strace log.txt

AlexanderZhirov commented 4 months ago

Maybe there are some obvious dependencies?

AlexanderZhirov commented 4 months ago

Updating the ca certificates did not bring any changes...