Bug 395923 - Port FlatpakBackend to use FlatpakTransaction: Installing steam doesn't pull nvidia binaries
Summary: Port FlatpakBackend to use FlatpakTransaction: Installing steam doesn't pull ...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.13.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
: 390217 399858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-27 11:00 UTC by bonno_meddens
Modified: 2018-10-20 04:38 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.15.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bonno_meddens 2018-06-27 11:00:46 UTC
Not entirely sure if this is error is part of flatpak/discover/steam, but would be great if a work around can be implemented in discover.

I installed steam with flatpak in discover, I tried to launch steam and got the error, "lib.so.6 is not found". In the reviews someone said that this could be solved by doing "sudo flatpak update" in the terminal. This installed some new stuff that was apparently needed to complete the installation of steam.

I assume from the flatpak documentation that 'sudo flatpak update' basically updates all applications. It would be great if this was, it would be great if a work around can be implemented in discover!!
Comment 1 Nate Graham 2018-06-27 17:19:59 UTC
Hmm, this sounds like a bug in the Steam packaging. We cannot unconditionally update everything without the user requesting it or else people will come for us with pitchforks and torches. :)

Is this Steam from Flathub?
Comment 2 bonno_meddens 2018-06-27 18:12:53 UTC
Yes it is steam from flathub!

Really bad that with "flatpak update" just updates everything without any conformation whats so ever.

Apparently the app is not published by valve but by the flathub team. I reported the issue on their github.

Github link:
https://github.com/flathub/com.valvesoftware.Steam/issues/99
Comment 3 Nate Graham 2018-06-27 18:29:13 UTC
Thanks, let's see what they say.

Based on the information in your bug report, the error  is either on their side, for not marking the FreeDesktop runtime 1.6 as a hard dependency, or on our side, for not acting on this information during installation. For now let's mark this as RESOLVED UPSTREAM, and if the bug comes back to us, we can take another look.

Thanks again for the bug report!
Comment 4 bonno_meddens 2018-06-27 21:01:12 UTC
Ok, I got a respond on Github:
"There was an earlier bug in Gnome's store thingie that it didn't follow depedencies properly. This sounds like a similar bug in Discover"

So it is likely a bug in discover?

Hopefully can this be solved.
Comment 5 Nate Graham 2018-06-27 21:12:08 UTC
Could be. I'll let Aleix have the next word. :)
Comment 6 Aleix Pol 2018-06-28 11:38:01 UTC
Should port our updates (and installations) to FlatpakTransaction in libflatpak. I'd expect such issues to be solved with that.
Comment 7 Peter Eszlari 2018-08-24 22:30:41 UTC
If you are using the Nvidia binary driver and the first app that you are installing is based on the KDE runtime and needs OpenGL, that app will refuse to start (and even without any user feedback when not run from the command line!), because the userspace part of the Nvidia driver doesn't get installed automatically by flatpak.

So yes, porting to FlatpakTransaction should be a top priority.
Comment 8 Aleix Pol 2018-10-11 16:31:33 UTC
*** Bug 390217 has been marked as a duplicate of this bug. ***
Comment 9 Aleix Pol 2018-10-18 00:58:47 UTC
*** Bug 399858 has been marked as a duplicate of this bug. ***
Comment 10 Aleix Pol 2018-10-19 15:39:35 UTC
Git commit abe43cbee70222d944b32db29e563d6b8fc8868d by Aleix Pol.
Committed on 19/10/2018 at 15:30.
Pushed by apol into branch 'master'.

flatpak: Port to use FlatpakTransaction

M  +3    -28   libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
M  +1    -1    libdiscover/backends/FlatpakBackend/FlatpakFetchDataJob.cpp
M  +10   -126  libdiscover/backends/FlatpakBackend/FlatpakJobTransaction.cpp
M  +0    -6    libdiscover/backends/FlatpakBackend/FlatpakJobTransaction.h
M  +5    -0    libdiscover/backends/FlatpakBackend/FlatpakResource.cpp
M  +3    -2    libdiscover/backends/FlatpakBackend/FlatpakResource.h
M  +20   -53   libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp
M  +3    -5    libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.h

https://commits.kde.org/discover/abe43cbee70222d944b32db29e563d6b8fc8868d