Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpak package doesn't work when not installed with --user or when dependencies are not also installed with --user #367

Closed
nekohayo opened this issue Jun 15, 2020 · 1 comment
Assignees
Labels
invalid Not a bug, or not caused by GTG. packaging Flatpak packages (anything else = NOPE.png)

Comments

@nekohayo
Copy link
Member

From issue #233, here are some problems I ran into while installing the dev flatpak (mentioned in this blog post) on a Centos 8 machine where that machine's flatpaks were all installed system-wide (without --user):

$ su -c "flatpak install gtg-git-2020-06-15.flatpak"
Mot de passe : 
Installing in system:
org.gnome.GTGDevel/x86_64/master org.gnome.GTGDevel-origin ec220a51eb0c
  permissions: ipc, network, fallback-x11, wayland, x11
  dbus ownership: org.gnome.GTGDevel
  system dbus access: org.freedesktop.login1
  tags: devel, development, nightly
Is this ok [y/n]: y
Installing: org.gnome.GTGDevel/x86_64/master from bundle gtg-git-2020-06-15.flatpak
Now at ec220a51eb0c.

$ flatpak run org.gnome.GTGDevel
error: app/org.gnome.GTGDevel/x86_64/master not installed

$ su -c "flatpak install gtg-git-2020-06-15.flatpak"
error: Failed to install bundle org.gnome.GTGDevel/x86_64/master:
This version of org.gnome.GTGDevel is already installed

$ su -c "flatpak uninstall org.gnome.GTGDevel"
Uninstalling from system:
org.gnome.GTGDevel/x86_64/master
Is this ok [y/n]: y
Uninstalling: org.gnome.GTGDevel/x86_64/master

$ flatpak install --user gtg-git-2020-06-15.flatpak
Installing in user:
org.gnome.GTGDevel/x86_64/master org.gnome.GTGDevel-origin ec220a51eb0c
  permissions: ipc, network, fallback-x11, wayland, x11
  dbus ownership: org.gnome.GTGDevel
  system dbus access: org.freedesktop.login1
  tags: devel, development, nightly
Is this ok [y/n]: y
Installing for user: org.gnome.GTGDevel/x86_64/master from bundle gtg-git-2020-06-15.flatpak
Now at ec220a51eb0c.

$ flatpak run org.gnome.GTGDevel
error: Error opening file /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/3.36/3369cd7cff48b37da2581c6ff0468c572dde6aebff80aff93a92b7c5728220c7/metadata: Permission denied
@nekohayo nekohayo added patch-or-wont-happen Core maintainers would like this, but lack time/energy. Contribute a patch or it won't happen. packaging Flatpak packages (anything else = NOPE.png) labels Jun 15, 2020
@nekohayo
Copy link
Member Author

Nevermind, it was the system being FUBAR due to flatpak/flatpak#1496 ; the silly hack in flatpak/flatpak#1496 (comment) made it work.

@nekohayo nekohayo added invalid Not a bug, or not caused by GTG. and removed patch-or-wont-happen Core maintainers would like this, but lack time/energy. Contribute a patch or it won't happen. labels Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not a bug, or not caused by GTG. packaging Flatpak packages (anything else = NOPE.png)
Projects
None yet
Development

No branches or pull requests

2 participants