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

apply_extra script failed with org.freedesktop.Platform.GL.nvidia-545-29-06 #217

Open
greg0ire opened this issue Dec 5, 2023 · 2 comments · May be fixed by #234
Open

apply_extra script failed with org.freedesktop.Platform.GL.nvidia-545-29-06 #217

greg0ire opened this issue Dec 5, 2023 · 2 comments · May be fixed by #234

Comments

@greg0ire
Copy link

greg0ire commented Dec 5, 2023

Trying to install org.freedesktop.Platform.GL.nvidia-545-29-06 results in an error:

$ flatpak install org.freedesktop.Platform.GL.nvidia-545-29-06
Looking for matches…


        ID                                                       Branch             Op            Remote             Download
 1. [✗] org.freedesktop.Platform.GL.nvidia-545-29-06             1.4                i             flathub            324.7 MB / 325.6 MB

Warning: Cannot create repo on revokefs mountpoint /var/tmp/flatpak-cache-KTV4E2/org.freedesktop.Platform.GL.nvidia-545-29-06-SUFFF2: mkdirat: Input/output error
Error: Error deploying: While trying to apply extra data: apply_extra script failed, exit status 256
error: Failed to install org.freedesktop.Platform.GL.nvidia-545-29-06: Error deploying: While trying to apply extra data: apply_extra script failed, exit status 256

Not sure how to debug this further.

@zoibot
Copy link

zoibot commented Dec 31, 2023

I don't have much helpful to add here, but I'm getting the exact same error.
The script looks like it should output an error when it fails but I haven't been able to figure out where it goes.
Digging around in the logs I found this error but I'm not sure what to do about it. I can see this directory being created briefly while the installation is happening. Not sure if this is actually the issue or just a symptom of cleaning up after the script fails.
bwrap: Can't find source path /home/zoibot/.local/share/parallel-launcher/retroarch/runtime/org.freedesktop.Platform.GL.nvidia-545-29-06/x86_64/1.4/.bd4bbd9aa3c80827950a820d65c5be4872612cb8acd114c662c20ece51e2b63a-s8CS9o/files: Permission denied

@zoibot
Copy link

zoibot commented Jan 3, 2024

This feels more like a workaround than an actual solution but based on that error and https://forums.gentoo.org/viewtopic-p-8685542.html?sid=37a2dde71e35041bb19c0974251afe34 I tried setting the suid bit on bwrap (I'm on arch so this was installing the bubblewrap-suid package) and then the update succeeded. Everything I can find seems to indicate that this shouldn't be necessary unless you're using a kernel with CONFIG_USER_NS_UNPRIVILEGED turned off, and I'm not, so I don't know why this worked.

Also, the reason that bwrap error was so hard to find in the first place was because of flatpak/flatpak#4205. It does show up while the update is running but gets quickly overwritten.

@guihkx guihkx linked a pull request Feb 5, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants