Flatpak fails to install gnome/kde platforms

Hi there,

I have been trying to install lollypop or elisa players as flatpak, but I get these errors when it tries to install Gnome or KDE platforms,

Error: Failed to read commit 42f0534709bc634acaeea04372985231d6c414ae811029b9381643e2ba78caf6: No such metadata object 64c3f23506e55bf1c02f4b8ad4a5115ed518cc7830e493b370ce15dd134559a1.dirtree
error: Failed to install org.gnome.Platform: Failed to read commit 42f0534709bc634acaeea04372985231d6c414ae811029b9381643e2ba78caf6: No such metadata object 64c3f23506e55bf1c02f4b8ad4a5115ed518cc7830e493b370ce15dd134559a1.dirtree

Error: Failed to read commit b6528cd447654b9aa3a4ba0e7f52973050b9cf9aeaa51a6e6f4ba4965987d272: No such metadata object cf260a42ea50cf50efc07f346497fa8209716b466b716537e42fa5d87de7b14a.dirtree
error: Failed to install org.kde.Platform: Failed to read commit b6528cd447654b9aa3a4ba0e7f52973050b9cf9aeaa51a6e6f4ba4965987d272: No such metadata object cf260a42ea50cf50efc07f346497fa8209716b466b716537e42fa5d87de7b14a.dirtree

Other programs that no not need gnome/kde platforms were installed and run just fine, the system is up to date.

Thanks.

From what you describe,
Either the authors of those apps didn’t write their apps well
or
You’re not reading the description and requirements of the app.

I don’t know that what you’re describing is an openSUSE issue (as, something that openSUSE needs to fix) from the info you posted.
If you don’t believe the problem is User Error, the authors of those Flatpak apps should be notified of your problem.

TSU

You are correct,

I was hesitant to bring this up in here since it seems to be a flatpak issue,
but I opened threads on flathub’s forums regarding this, so far, no response,
not bashing, surely they have their hands full.

I was hoping to figure out if someone else has this issue in tumbleweed,
maybe leap, or it is just me.

Thanks.

It seems like not a lot of forums users use flatpak. I’m not using it myself so unfortunately I don’t run into these problems.
But hopefully somebody will be able to help you :slight_smile:

Not knowing the whole story, I’ll mention the following in case it’s helpful. I’m not tech/coder savvy so this is the best I can offer.

  1. Did you reboot and sudo reinstall the Flatpak repo from Flathub?

Did you install Flatpak app via the command line (Flathub) or via the Gnome Software/equivalent in KDE? For Flatpak apps I make sure I’ve tried both. If Gnome Software isn’t working I make sure I go in the Yast repo and delete Gnome software then reinstall it. A lot of times that will free up “kinks” when trying to install.

Good luck!

> Other programs that no not need gnome/kde platforms were installed and run just fine, the system is up to date.

Are you running a DE that is not GNOME or Plasma? On Plasma, I have been able to use Elisa with “zypper install,” although I cannot speak for GNOME Music.

Al right,

I was using KDE, but now I made a new install, this time I chose Xfce, I was able to install lollypop and elisa as flatpaks,
however, when I run

flatpak run org.gnome.Lollypop

I get this

No protocol specifiedUnable to init server: Could not connect: Connection refused
Gtk-Message: 20:37:19.511: Failed to load module "canberra-gtk-module"
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused


(lollypop:2): Gtk-WARNING **: 20:37:19.883: cannot open display: :99.0

and when I run

flatpak install flathub org.kde.elisa

I get

No protocol specified
qt.qpa.xcb: could not connect to display :99.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.


Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

The Xfce desktop included pragha, it works fine so I’m going with that.

I’m going to flathub’s forum and see what I can find out.

Cheers.

Ok,

I just updated tumbleweed, and now snaps and flatpaks seems to be working fine,
so I guess my issues sort of solved themselfs

Now I just feel dumb.

I’m gonna go grab a coffee and well,

See you later.