I get the following error when following the instructions to add the repo:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
(flatpak remote-add:28901): GLib-Net-WARNING **: 22:29:41.597: Failed to set GnuTLS session priority with error
beginning at %COMPAT: The request is invalid.
**
GLib-Net:ERROR:…/tls/gnutls/gtlsconnection-gnutls.c:107:g_tls_connection_gnutls_set_handshake_priority: asserti
on failed: (priority)
Bail out! GLib-Net:ERROR:…/tls/gnutls/gtlsconnection-gnutls.c:107:g_tls_connection_gnutls_set_handshake_priorit
y: assertion failed: (priority)
Aborted (core dumped)
Similar result when using sudo. Any ideas of what’s wrong? Thank you.
Any program crash is a bug. If this program comes as part of openSUSE, open bug report.
This thread on Reddit indicates the problem may be due to a missing package: gnutls.
https://www.reddit.com/r/openSUSE/comments/nmh9b1/flatpak_broken_in_tumbleweed/
sudo zypper in gnutls
After installing gnutls, I was able to add the flatpak repo without errors.
[FONT=monospace]flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
I’ll learn how to file a bug and associate it with the flatpak package, unless someone has a better idea. Flatpak had already been installed by default, but apparently should include gnutls as a dependency.
[/FONT]
See existing bug 1186385 flatpak missing gnutls dependency
https://bugzilla.opensuse.org/show_bug.cgi?id=1186385