[GH-ISSUE #3132] On server start, one dependency installed, another dependency removed #2207

Closed
opened 2026-02-27 03:01:31 +03:00 by kerem · 4 comments
Owner

Originally created by @Calian5 on GitHub (Dec 18, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3132

lib32gcc1 & lib32stdc++6 are required dependencies. However only lib32gcc-s1 lib32stdc++6 OR lib32gcc1 can be used. The issue is, lib32gcc1 is what LGSM requires and lib32gcc-s1 should be sufficient but LGSM doesn't recognize that.

rustserver@ns###:~$ ./rustserver
**Warning! Missing dependencies: lib32stdc++6**
**Information! Automatically installing missing dependencies.**
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:2 http://ubuntu.mirrors.ovh.net/ubuntu bionic InRelease [242 kB]
Hit:3 http://ftp.debian.org/debian experimental InRelease
Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Hit:5 http://ftp.debian.org/debian sid InRelease
Hit:6 https://deb.nodesource.com/node_12.x sid InRelease
Get:7 http://ubuntu.mirrors.ovh.net/ubuntu bionic-updates InRelease [88.7 kB]
Get:8 http://ubuntu.mirrors.ovh.net/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 494 kB in 1s (374 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  lib32gcc-s1 lib32stdc++6
The following NEW packages will be installed:
  lib32gcc1
0 upgraded, 1 newly installed, 2 to remove and 1 not upgraded.
Need to get 0 B/48.1 kB of archives.
After this operation, 2,289 kB disk space will be freed.
(Reading database ... 87306 files and directories currently installed.)
Removing lib32stdc++6 (10.2.1-1) ...
Removing lib32gcc-s1 (10.2.1-1) ...
Selecting previously unselected package lib32gcc1.
(Reading database ... 87299 files and directories currently installed.)
Preparing to unpack .../lib32gcc1_1%3a8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking lib32gcc1 (1:8.4.0-1ubuntu1~18.04) ...
Setting up lib32gcc1 (1:8.4.0-1ubuntu1~18.04) ...
Processing triggers for libc-bin (2.31-6) ...
Complete! Install dependencies completed.

Next reboot it's

rustserver@ns###:~$ ./rustserver start
**Warning! Missing dependencies: lib32stdc++6**
**Information! Automatically installing missing dependencies.**
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:2 http://ubuntu.mirrors.ovh.net/ubuntu bionic InRelease [242 kB]
Hit:3 http://ftp.debian.org/debian experimental InRelease
Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Hit:5 http://ftp.debian.org/debian sid InRelease
Hit:6 https://deb.nodesource.com/node_12.x sid InRelease
Get:7 http://ubuntu.mirrors.ovh.net/ubuntu bionic-updates InRelease [88.7 kB]
Get:8 http://ubuntu.mirrors.ovh.net/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 494 kB in 1s (573 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  **lib32gcc-s1**
The following packages will be REMOVED:
  **lib32gcc1**
The following NEW packages will be installed:
  **lib32gcc-s1 lib32stdc++6**
0 upgraded, 2 newly installed, 1 to remove and 1 not upgraded.
Need to get 0 B/559 kB of archives.
After this operation, 2,289 kB of additional disk space will be used.
(Reading database ... 87301 files and directories currently installed.)
Removing lib32gcc1 (1:8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package lib32gcc-s1.
(Reading database ... 87299 files and directories currently installed.)
Preparing to unpack .../lib32gcc-s1_10.2.1-1_amd64.deb ...
Unpacking lib32gcc-s1 (10.2.1-1) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../lib32stdc++6_10.2.1-1_amd64.deb ...
Unpacking lib32stdc++6 (10.2.1-1) ...
Setting up lib32gcc-s1 (10.2.1-1) ...
Setting up lib32stdc++6 (10.2.1-1) ...
Processing triggers for libc-bin (2.31-6) ...
Complete! Install dependencies completed.

Thank you, I hope I have been informative enough

Originally created by @Calian5 on GitHub (Dec 18, 2020). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3132 _lib32gcc1_ & _lib32stdc++6_ are required dependencies. However only _lib32gcc-s1 lib32stdc++6_ **OR** _lib32gcc1_ can be used. The issue is, _lib32gcc1_ is what LGSM requires and lib32gcc-s1 should be sufficient but LGSM doesn't recognize that. ``` rustserver@ns###:~$ ./rustserver **Warning! Missing dependencies: lib32stdc++6** **Information! Automatically installing missing dependencies.** Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:2 http://ubuntu.mirrors.ovh.net/ubuntu bionic InRelease [242 kB] Hit:3 http://ftp.debian.org/debian experimental InRelease Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease Hit:5 http://ftp.debian.org/debian sid InRelease Hit:6 https://deb.nodesource.com/node_12.x sid InRelease Get:7 http://ubuntu.mirrors.ovh.net/ubuntu bionic-updates InRelease [88.7 kB] Get:8 http://ubuntu.mirrors.ovh.net/ubuntu bionic-backports InRelease [74.6 kB] Fetched 494 kB in 1s (374 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: lib32gcc-s1 lib32stdc++6 The following NEW packages will be installed: lib32gcc1 0 upgraded, 1 newly installed, 2 to remove and 1 not upgraded. Need to get 0 B/48.1 kB of archives. After this operation, 2,289 kB disk space will be freed. (Reading database ... 87306 files and directories currently installed.) Removing lib32stdc++6 (10.2.1-1) ... Removing lib32gcc-s1 (10.2.1-1) ... Selecting previously unselected package lib32gcc1. (Reading database ... 87299 files and directories currently installed.) Preparing to unpack .../lib32gcc1_1%3a8.4.0-1ubuntu1~18.04_amd64.deb ... Unpacking lib32gcc1 (1:8.4.0-1ubuntu1~18.04) ... Setting up lib32gcc1 (1:8.4.0-1ubuntu1~18.04) ... Processing triggers for libc-bin (2.31-6) ... Complete! Install dependencies completed. ``` Next reboot it's ``` rustserver@ns###:~$ ./rustserver start **Warning! Missing dependencies: lib32stdc++6** **Information! Automatically installing missing dependencies.** Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:2 http://ubuntu.mirrors.ovh.net/ubuntu bionic InRelease [242 kB] Hit:3 http://ftp.debian.org/debian experimental InRelease Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease Hit:5 http://ftp.debian.org/debian sid InRelease Hit:6 https://deb.nodesource.com/node_12.x sid InRelease Get:7 http://ubuntu.mirrors.ovh.net/ubuntu bionic-updates InRelease [88.7 kB] Get:8 http://ubuntu.mirrors.ovh.net/ubuntu bionic-backports InRelease [74.6 kB] Fetched 494 kB in 1s (573 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: **lib32gcc-s1** The following packages will be REMOVED: **lib32gcc1** The following NEW packages will be installed: **lib32gcc-s1 lib32stdc++6** 0 upgraded, 2 newly installed, 1 to remove and 1 not upgraded. Need to get 0 B/559 kB of archives. After this operation, 2,289 kB of additional disk space will be used. (Reading database ... 87301 files and directories currently installed.) Removing lib32gcc1 (1:8.4.0-1ubuntu1~18.04) ... Selecting previously unselected package lib32gcc-s1. (Reading database ... 87299 files and directories currently installed.) Preparing to unpack .../lib32gcc-s1_10.2.1-1_amd64.deb ... Unpacking lib32gcc-s1 (10.2.1-1) ... Selecting previously unselected package lib32stdc++6. Preparing to unpack .../lib32stdc++6_10.2.1-1_amd64.deb ... Unpacking lib32stdc++6 (10.2.1-1) ... Setting up lib32gcc-s1 (10.2.1-1) ... Setting up lib32stdc++6 (10.2.1-1) ... Processing triggers for libc-bin (2.31-6) ... Complete! Install dependencies completed. ``` Thank you, I hope I have been informative enough
Author
Owner

@Calian5 commented on GitHub (Dec 18, 2020):

My guess is this may be the culprit in check_deps.sh

if [ "${shortname}" != "ts3" ]&&[ "${shortname}" != "mumble" ]&&[ "${shortname}" != "mc" ]&&[ "${engine}" != "renderware" ]; then
	if [ "${arch}" == "x86_64" ]; then
		# lib32gcc1 is now called lib32gcc-s1 in debian 11
		if { [ "${distroid}" == "debian" ]&&[ "${distroversion}" == "11" ]; }|| { [ "${distroid}" == "ubuntu" ]&&[ "${distroversion}" == "20.10" ]; }; then
			array_deps_required+=( lib32gcc-s1 lib32stdc++6 )
		else
			array_deps_required+=( lib32gcc1 lib32stdc++6 )
		fi
	else
		array_deps_required+=( lib32stdc++6 )
	fi
fi
<!-- gh-comment-id:747839797 --> @Calian5 commented on GitHub (Dec 18, 2020): My guess is this may be the culprit in check_deps.sh ``` if [ "${shortname}" != "ts3" ]&&[ "${shortname}" != "mumble" ]&&[ "${shortname}" != "mc" ]&&[ "${engine}" != "renderware" ]; then if [ "${arch}" == "x86_64" ]; then # lib32gcc1 is now called lib32gcc-s1 in debian 11 if { [ "${distroid}" == "debian" ]&&[ "${distroversion}" == "11" ]; }|| { [ "${distroid}" == "ubuntu" ]&&[ "${distroversion}" == "20.10" ]; }; then array_deps_required+=( lib32gcc-s1 lib32stdc++6 ) else array_deps_required+=( lib32gcc1 lib32stdc++6 ) fi else array_deps_required+=( lib32stdc++6 ) fi fi ```
Author
Owner

@h3o66 commented on GitHub (Dec 19, 2020):

So, to sum this up:

You have ubuntu 18.04 installed and you have dependency problems ?

First of all why do you have the Debian sid and experimental repos enabled at all ?

from you above comment:

Hit:3 http://ftp.debian.org/debian experimental InRelease
Hit:5 http://ftp.debian.org/debian sid InRelease

Either the prio of the repo should be set lower vi apt pinning or disable it.
This should get you out of the dependency hell.

fyi: I reformatted your text for a better readability

<!-- gh-comment-id:748471596 --> @h3o66 commented on GitHub (Dec 19, 2020): So, to sum this up: You have ubuntu 18.04 installed and you have dependency problems ? First of all why do you have the Debian sid and experimental repos enabled at all ? from you above comment: ``` Hit:3 http://ftp.debian.org/debian experimental InRelease Hit:5 http://ftp.debian.org/debian sid InRelease ``` Either the prio of the repo should be set lower vi apt pinning or disable it. This should get you out of the dependency hell. fyi: I reformatted your text for a better readability
Author
Owner

@h3o66 commented on GitHub (Jan 10, 2021):

Not a bug in LGSM, see my above comment.

<!-- gh-comment-id:757511710 --> @h3o66 commented on GitHub (Jan 10, 2021): Not a bug in LGSM, see my above comment.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 11, 2022):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1009469220 --> @github-actions[bot] commented on GitHub (Jan 11, 2022): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2207
No description provided.