protontricks
protontricks copied to clipboard
protontricks seems to lack permissions, running as sudo results in crash (returncode: 69)
Describe the bug
I am following this guide to get Gothic II to run:https://bfloeser.de/posts/gothic/#the-absolute-minimum Installing the needed components via protontricks results in errors.
To Reproduce
- Install protontricks on Ubuntu via pipx
- try protontricks 39510 directmusic
Expected behavior should install directmusic
System (please complete the following information):
- Distro: Ubuntu 22.04.4 LTS
- Protontricks installation method: pipx
- Protontricks version: 1.11.1
- Steam: Latest Beta
Additional context
If I do protontricks 39510 directmusic
I get:
Traceback (most recent call last):
File "/home/womb/.local/bin/protontricks", line 8, in <module>
sys.exit(cli())
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/cli/main.py", line 32, in cli
main(args)
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/cli/util.py", line 159, in wrapper
return cli_func(self, *args, **kwargs)
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/cli/main.py", line 370, in main
returncode = run_command(
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/util.py", line 456, in run_command
wine_bin_dir = create_wine_bin_dir(proton_app)
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/util.py", line 217, in create_wine_bin_dir
shutil.rmtree(str(bin_path))
File "/usr/lib/python3.10/shutil.py", line 725, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.10/shutil.py", line 681, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.10/shutil.py", line 679, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'wine-preloader'
If I try sudo -E protontricks 39510 directmusic
I get:
pressure-vessel-wrap[67925]: N: Not replacing "/etc/vulkan/explicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[67925]: N: Not replacing "/etc/vulkan/implicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[67925]: W: Not sharing path --filesystem="/etc" with container because "/etc" is reserved by the container framework
pressure-vessel-wrap[67925]: W: Not sharing path --filesystem="/lib32" with container because "/lib32" is reserved by the container framework
pressure-vessel-wrap[67925]: N: Not sharing "/libx32" with sandbox: Path "/usr" is reserved by the container framework
pressure-vessel-wrap[67925]: W: Not sharing path --filesystem="/sbin" with container because "/sbin" is reserved by the container framework
steam-runtime-launcher-service[68033]: E: Can't find session bus: The connection is closed
Traceback (most recent call last):
File "/home/womb/.local/bin/protontricks", line 8, in <module>
sys.exit(cli())
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/cli/main.py", line 32, in cli
main(args)
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/cli/util.py", line 159, in wrapper
return cli_func(self, *args, **kwargs)
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/cli/main.py", line 370, in main
returncode = run_command(
File "/home/womb/.local/pipx/venvs/protontricks/lib/python3.10/site-packages/protontricks/util.py", line 516, in run_command
raise RuntimeError(
RuntimeError: bwrap launcher crashed, returncode: 69
Any help would be appreciated!