Flatpak apps all crash

In Leap 15.5, any Flatpak app I install using Discover crashes. I get the following messages:

2023-07-19T15:21:09.100205-04:00 jarfx plasmashell[19975]: error: While opening repository /home/jar/.local/share/flatpak/repo: opening repo: Key file does not have group “core”
2023-07-19T15:21:09.161966-04:00 jarfx plasmashell[21703]: kf.kio.gui: Failed to register new cgroup: "app-org.cubocore.CoreHunt-88f53b557e0947c3b6923eb0ca3cb9d8.scope" "org.freedesktop.DBus.Error.UnixProcessIdUnknown" "Process with ID 19975 does not exist."

Also

jarfx:/home/jar/.local/share/flatpak/repo # ls -l
total 4
-rw-r--r-- 1 jar  users  0 Mar 20 19:19 config
-rw-r--r-- 1 root root  68 Jul 19 11:16 confiig
drwxr-xr-x 1 jar  users  0 Jun  5  2019 extensions
drwxr-xr-x 1 jar  users  0 Jun  5  2019 objects
drwxr-xr-x 1 jar  users 38 Jun  5  2019 refs
drwxr-xr-x 1 jar  users  0 Jun  5  2019 state
drwxr-xr-x 1 jar  users 10 Jun  5  2019 tmp

What is the issue here?
Flatpak apps do not seem to be able to managed using Yast2 Software Management either.

Why do you have root owned files in your user directory with wrong file name “confiig”?

The name was a typo. config was empty. But it should not make a difference now. It is gone.

It’s very specifically because your config file is empty. I was able to reproduce the error by replacing config with an empty file.

The contents of my config file are:

[core]
repo_version=1
mode=bare-user-only
min-free-space-size=500MB

Setting yours this way may resolve your issue.

As for why flatpak isn’t managed by YaST - YaST’s software management is RPM-focused, and has never included other package formats. I don’t know if there are plans to change that.

That worked. Thanks.

1 Like

Hi
Or add/re-add manually by the user?

flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
1 Like