TL;DR – These scripts aren’t downloading the runtime when it’s missing and instead just fail. Context is below. I appreciate your help.
Output from the first commands.
❯ rm -rf ~/.local/share/Steam/ubuntu12_*
~
❯ steam
/usr/lib/steam/steam: line 105: /home/jackson/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: No such file or directory
bin_steam.sh[3713]: Couldn't set up srt-logger, not logging to console-linux.txt
/usr/lib/steam/steam: line 105: /home/jackson/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: No such file or directory
bin_steam.sh[3713]: Couldn't set up srt-logger, not logging to console-linux.txt
/usr/lib/steam/steam: line 105: /home/jackson/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: No such file or directory
bin_steam.sh[3713]: Couldn't set up srt-logger, not logging to console-linux.txt
steam.sh[3713]: Running Steam on cachyos rolling 64-bit
steam.sh[3713]: STEAM_RUNTIME is enabled automatically
steam.sh[3713]: Unpack runtime failed, error code 1
steam.sh[3713]: Error: Couldn't set up the Steam Runtime. Are you running low on disk space?
/home/jackson/.local/share/Steam/steam.sh: line 89: LD_LIBRARY_PATH: unbound variable
~
❯ steam --reset
/usr/lib/steam/steam: line 105: /home/jackson/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: No such file or directory
bin_steam.sh[3880]: Couldn't set up srt-logger, not logging to console-linux.txt
/usr/lib/steam/steam: line 105: /home/jackson/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: No such file or directory
bin_steam.sh[3880]: Couldn't set up srt-logger, not logging to console-linux.txt
/usr/lib/steam/steam: line 105: /home/jackson/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: No such file or directory
bin_steam.sh[3880]: Couldn't set up srt-logger, not logging to console-linux.txt
steam.sh[3880]: Running Steam on cachyos rolling 64-bit
steam.sh[3880]: STEAM_RUNTIME is enabled automatically
steam.sh[3880]: Unpack runtime failed, error code 1
steam.sh[3880]: Error: Couldn't set up the Steam Runtime. Are you running low on disk space?
/home/jackson/.local/share/Steam/steam.sh: line 89: LD_LIBRARY_PATH: unbound variable
I am backing up my ~/.local/share/Steam folder currently, but I don’t quite have enough diskspace to do it, so it’s taking some time to compress (it’s like 900 GB).
In the meantime I have been digging around. steam links to /usr/lib/steam/bin_steam.sh which then seems to call the steam.sh in ~/.local/share/Steam. Below are some relevant snippets from looking for the “Unpack runtime failed” part.
# Unpack the runtime if necessary.
# We do this even in the unsupported STEAM_RUNTIME=0 code path where we
# are not going to use it for shared libraries: it also contains some
# necessary tools like srt-logger.
if unpack_runtime "$STEAM_RUNTIME_SCOUT"; then
: # OK
else
log "Unpack runtime failed, error code $?"
show_message --error $"Couldn't set up the Steam Runtime. Are you running low on disk space?"
exit 1
fi
The unpack_runtime’s return code is what’s being returned as “error 1” (recall that previously in the thread I got error code 2, and error code 2 seems to be about mismatched checksums, so I feel pretty confident about this). See the comment I added to the snipped.
function unpack_runtime()
{
# ... snip
if ! has_runtime_archive "$srt" "$ARCHIVE_EXT"; then
if [ -d "$srt" ]; then
# The runtime is unpacked, let's use it!
check_pins "$srt"
return 0
fi
return 1 # <-- THIS IS THE ERROR CODE 1 I AM SEEING
fi
So that means this function returns false.
function has_runtime_archive()
{
local srt="$1"
local ARCHIVE_EXT="$2"
# Make sure we have files to unpack
if [ ! -f "$srt.$ARCHIVE_EXT" ]; then
return 1
fi
if [ ! -f "$srt.$ARCHIVE_EXT.checksum" ]; then
return 1
fi
return 0
}
All that to say, it would appear that these scripts are not downloading a fresh runtime when it is missing, and instead are just failing when it’s not there.
Any ideas on how to force the runtime to reinstall?
If not, I am going to backup everything but steamapps/common based on it being the vast majority of the data and, as far as I understand, is just the actual game files and can all be easily re-downloaded.
❯ du -h ~/.local/share/Steam/ -d 1
47M /home/jackson/.local/share/Steam/linux32
92M /home/jackson/.local/share/Steam/logs
395M /home/jackson/.local/share/Steam/package
156K /home/jackson/.local/share/Steam/bin
33M /home/jackson/.local/share/Steam/clientui
12K /home/jackson/.local/share/Steam/compatibilitytools.d
18M /home/jackson/.local/share/Steam/controller_base
3.0M /home/jackson/.local/share/Steam/friends
11M /home/jackson/.local/share/Steam/graphics
3.6M /home/jackson/.local/share/Steam/legacycompat
45M /home/jackson/.local/share/Steam/linux64
14M /home/jackson/.local/share/Steam/public
7.7M /home/jackson/.local/share/Steam/resource
20M /home/jackson/.local/share/Steam/steam
89M /home/jackson/.local/share/Steam/steamui
7.4M /home/jackson/.local/share/Steam/tenfoot
465M /home/jackson/.local/share/Steam/config
295M /home/jackson/.local/share/Steam/appcache
3.2G /home/jackson/.local/share/Steam/userdata
931G /home/jackson/.local/share/Steam/steamapps # <--- Big
151M /home/jackson/.local/share/Steam/depotcache
575M /home/jackson/.local/share/Steam/steamrt64
936G /home/jackson/.local/share/Steam/
~
❯ du -h ~/.local/share/Steam/steamapps/ -d 1
19G /home/jackson/.local/share/Steam/steamapps/compatdata
0 /home/jackson/.local/share/Steam/steamapps/sourcemods
22G /home/jackson/.local/share/Steam/steamapps/shadercache
0 /home/jackson/.local/share/Steam/steamapps/downloading
885G /home/jackson/.local/share/Steam/steamapps/common # <--- Big
0 /home/jackson/.local/share/Steam/steamapps/temp
6.6G /home/jackson/.local/share/Steam/steamapps/workshop
931G /home/jackson/.local/share/Steam/steamapps/