This repository has been archived by the owner on Apr 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix srcds_run crash with error message 'cat: hlds.{PID}.pid: No such …
…file or directory' Multiple causes: * Pin to **18.04** not **latest**. Latest auto upgraded to Ubuntu 20.04. 20.04 currently segfaults steamcmd. * Targeted pruning of **/var/lib/dpkg** instead of wiping. amd64/i386 repos now enabled on Docker startup, enabling updates for both. * Add explicit requirements for **GDB** and **c++6**; enabling `-debug` option for `srcds_run` which prevents PID error and auto reboot every 10 seconds. See: https://forums.alliedmods.net/showthread.php?t=300118 * **wine 5.x** added requirement of libfaudio0, but not included for version of Ubuntu < 19.10. Install these manually. Changes: * `steam` -> `stable`. * `winehq` -> `latest`.
- Loading branch information
Showing
6 changed files
with
53 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# Clean up target host system caches. | ||
apt-get clean autoclean && \ | ||
apt-get autoremove --yes && \ | ||
rm -rfv /var/lib/{apt,dpkg} /var/lib/{cache, log} /tmp/* /var/tmp/* | ||
rm -rfv /var/lib/{apt,dpkg} /var/lib/{cache,log} /tmp/* /var/tmp/* && \ | ||
mkdir -p /var/lib/dpkg/{alternatives,info,parts,updates} && \ | ||
touch /var/lib/dpkg/status && \ | ||
echo -e 'amd64\ni386' > /var/lib/dpkg/arch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
# Auto-accept license and install steamcmd. | ||
echo steam steam/license note '' | debconf-set-selections && \ | ||
echo steam steam/question select 'I AGREE' | debconf-set-selections && \ | ||
dpkg --add-architecture i386 && \ | ||
apt-get --quiet update && \ | ||
apt-get --quiet --yes upgrade && \ | ||
# Ensure packages required by srcds_run installed to prevent 'cat: hlds.{PID}.pid: No such file or directory' errors. | ||
# See: https://forums.alliedmods.net/showthread.php?t=300118 | ||
apt-get install --yes --install-recommends \ | ||
lib32z1 \ | ||
lib32gcc1 \ | ||
lib32ncurses5 \ | ||
libbz2-1.0 \ | ||
libbz2-1.0:i386 \ | ||
lib32stdc++6 \ | ||
libstdc++6:i386 \ | ||
libcurl4-gnutls-dev \ | ||
libcurl4-gnutls-dev:i386 && \ | ||
apt-get install --yes --install-recommends \ | ||
steamcmd && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters