Federico,
It seems that your problem is the flathub is not getting registered correctly, due to "unacceptable TLS certificate".
There are heaps of bug report about this, with some suggestions to fix, for example:
https://itsfoss.com/unacceptable-tls-ce ... ror-linux/
https://bugs.archlinux.org/task/65284
https://github.com/flathub/flathub/issues/2580
https://discourse.flathub.org/t/unaccep ... lution/716
But why is only flathub plagued with this problem?
In /usr/local/flatpak/flatpak, this code is failing:
Code: Select all
if [ ! -d /mnt/wkg/flatpak/repo ];then
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
if [ $? -ne 0 ];then
rm -rf /mnt/wkg/flatpak 2>/dev/null
M3b="$(gettext 'ERROR: Failure registering with Flathub repository.')"
popup "terminate=ok background=#ff8080 level=top process=wait|<big>${M3b}</big>"
exec flapi
fi
fi
Specifically:
Code: Select all
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
So I suppose if you delete /mnt/wkg/flatpak, then try to find why the above command is failing.