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

Problem with Package when installing from Flathub #2

Closed
egrath opened this issue Mar 28, 2019 · 6 comments
Closed

Problem with Package when installing from Flathub #2

egrath opened this issue Mar 28, 2019 · 6 comments

Comments

@egrath
Copy link

egrath commented Mar 28, 2019

When installing this package from Flathub, the dependency
org.freedesktop.Platform/i386/18.08 gets not installed automatically. You have to manually issue flatpak install -y flathub org.freedesktop.Platform/i386/18.08 to fix it.

@scx
Copy link
Collaborator

scx commented Mar 28, 2019

@egrath

When installing this package from Flathub, the dependency
org.freedesktop.Platform/i386/18.08 gets not installed automatically. You have to manually issue flatpak install -y flathub org.freedesktop.Platform/i386/18.08 to fix it.

Thanks for reporting!
What is your flatpak version? Does it fail, or just install anyway? In other words, have you been able to install the XnRetro package without runtime (Freedesktop)? Anyway, it should not happen.

It may be related to this issue:
flatpak/flatpak#2784

@alexlarsson @nedrichards
Any idea why this behaves like that?

@egrath
Copy link
Author

egrath commented Mar 28, 2019

My flatpak version:
com.xnview.XnRetro/i386/stable flathub ae48c0e9f2c7 - 127,6 MB system,current
it installs without any problem, but when i run, it complains about the missing dependency:
egon@endless:~$ flatpak run com.xnview.XnRetro
error: runtime/org.freedesktop.Platform/i386/18.08 not installed

@scx
Copy link
Collaborator

scx commented Mar 28, 2019

@egrath

My flatpak version:
com.xnview.XnRetro/i386/stable flathub ae48c0e9f2c7 - 127,6 MB system,current

I was asking about the flatpak version in your system: flatpak --version

$ flatpak --version
Flatpak 1.0.2

it installs without any problem, but when i run, it complains about the missing dependency:
egon@endless:~$ flatpak run com.xnview.XnRetro
error: runtime/org.freedesktop.Platform/i386/18.08 not installed

Strange. It definitely shouldn't happen.

@scx
Copy link
Collaborator

scx commented Mar 28, 2019

From IRC channel:

11:39 < alexlarsson> scx: that seems very strange? if an app depends on a particular runtime is should always install it or fail
11:39 < alexlarsson> does it fail, or just install anyway?
11:43 < nedrichards> that, er, should not happen
11:44 < bochecha> it installs the runtime here
11:44 < bochecha> maybe the reporter is using an old flatpak/gnome-software which had a bug?
11:54 < scx> alexlarsson: It is an i386 package, probably on x86_64 host.
11:54 < scx> Can it make any difference?
11:55 < scx> Maybe it is trying to install x86_64 version of Freedesktop runtime?
11:55 < bochecha> scx, I'm on a x86_64 host, and it worked installing the i386 runtime as a dep of the i386 app
11:56 < scx> So probably flatpak < 1.0, maybe 0.10?
11:56 < alexlarsson> I dunno, dependencies like that should have worked a very long way back
11:58 < bochecha> I found GNOME Software used to handle deps pretty badly in the beginning, whether at installation or update
11:59 < bochecha> it all seems to be fixed now, but I wonder whether the reporter wouldn't have an old version…
11:59 < bochecha> they didn't say how they installed

@egrath
Copy link
Author

egrath commented Mar 28, 2019

My flatpak version is
Flatpak 1.0.0
(Endless OS 3.5.7)

@wjt
Copy link
Member

wjt commented Mar 28, 2019

If you installed this with "App Center" / GNOME Software, this is a known issue with the version we ship. It should be fixed in a few months when we've rebased to a version of GNOME Software that uses FlatpakTransaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants