anyc / steam-overlay

Gentoo overlay for Valve's Steam client and Steam-based games
GNU General Public License v2.0
202 stars 44 forks source link

Steam seems to have issues when app-alternatives/tar[-gnu libarchive] is set to libarchive #334

Open unhappy-ending opened 1 year ago

unhappy-ending commented 1 year ago

When tar is set to libarchive, Steam spit out this error while trying to extract the Steam Runtime:

Couldn't set up the Steam Runtime. Are you running low on disk space?
Continuing...

In the terminal, this error is the root cause:

tar: Option --checkpoint=1 is not supported

When app-alternatives is set to gnu, there is no problem.

chewi commented 1 year ago

That's irritating. I quite like bsdtar, but not quite enough to make it my default tar. I don't use the Steam runtime though.

I don't think the option is essential for the extraction, so I could possibly strip it out when necessary. That might have been impossible due to Steam resetting all files under ~/.local/share/Steam, but I may have a trick up my sleeve.

unhappy-ending commented 1 year ago

Yeah, I was thinking the same about it not needing the --checkpoint=1 option and maybe stripping it from the command but I lack the knowledge to dive into where that kind of stuff happens during Steam's execution.

If you do happen to need a tester for the trick, let me know and I'll reset my system tar to libarchive.