Flapi fix if fail to register with flathub
There is discussion of a couple of flatpaks here, and failure to register with flathub.org:
https://forum.puppylinux.com/viewtopic.php?t=9038
There is a fault in Flapi; if failed to register with flathub.org, Flapi should not have then been allowed to download and install apps. Federico was getting the failure, then continued to download apps, which then did not work.
I have fixed /usr/local/flatpak/flatpak script so that if there is a failure to register, then apps cannot be installed:
https://github.com/bkauler/woofq/commit/e130fbd229e2f801aa072726c7f38a4b18b36423
If you want to apply this fix now, it can be downloaded from here; click on the "Raw" button:
The first link to forum discussion reports a failure due to "unacceptable TLS certificate", which Federico fixed by changing time to sync from the Internet (see page 4). Why this fixed it for him, I have no idea.
As far as I know, only two, maybe three, people have reported this failure. The registration with flathub works fine for me and most users. Why failure for just those few people?
EDIT:
Flapi now puts up a window to run Qsync, to sync time from the
Internet, if registration with flathub.org has failed:
https://github.com/bkauler/woofq/commit/23441f62cf9ae81039ec38467a738ceb9fb71cf1
Tags: easy