[GH-ISSUE #1004] 'missing dependencies' even though they're installed #794

Closed
opened 2026-02-27 02:53:32 +03:00 by kerem · 16 comments
Owner

Originally created by @shavitush on GitHub (Aug 14, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1004

Originally assigned to: @UltimateByte on GitHub.

[ERROR ] Starting css-server: Checking dependencies: missing: curl wget ca-certificates file bsdmainutils util-linux python bzip2 gzip lib32gcc1 libstdc++6:i386 lib32tinfo5

I am running CentOS6 and I verified everything is installed. The server starts, but those errors are very misleading!

Originally created by @shavitush on GitHub (Aug 14, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1004 Originally assigned to: @UltimateByte on GitHub. `[ERROR ] Starting css-server: Checking dependencies: missing: curl wget ca-certificates file bsdmainutils util-linux python bzip2 gzip lib32gcc1 libstdc++6:i386 lib32tinfo5` I am running CentOS6 and I verified everything is installed. The server starts, but those errors are very misleading!
kerem 2026-02-27 02:53:32 +03:00
Author
Owner

@UltimateByte commented on GitHub (Aug 15, 2016):

I don't have a CentOS 6 machine to try diagnosing stuff on it.
Can you please input this and share the output ?

command -v yum
command -v dpkg-query

If this is allright, i might ask you for some more. Unless a CentOS expert comes up before. :o))

Function to check : https://github.com/dgibbs64/linuxgsm/blob/master/lgsm/functions/check_deps.sh
CentOS important part : https://github.com/dgibbs64/linuxgsm/blob/master/lgsm/functions/check_deps.sh#L195

<!-- gh-comment-id:239826037 --> @UltimateByte commented on GitHub (Aug 15, 2016): I don't have a CentOS 6 machine to try diagnosing stuff on it. Can you please input this and share the output ? ``` command -v yum command -v dpkg-query ``` If this is allright, i might ask you for some more. Unless a CentOS expert comes up before. :o)) Function to check : https://github.com/dgibbs64/linuxgsm/blob/master/lgsm/functions/check_deps.sh CentOS important part : https://github.com/dgibbs64/linuxgsm/blob/master/lgsm/functions/check_deps.sh#L195
Author
Owner

@dgibbs64 commented on GitHub (Aug 15, 2016):

I have never had this sort of issue before. Need to find out whats different.

<!-- gh-comment-id:239846985 --> @dgibbs64 commented on GitHub (Aug 15, 2016): I have never had this sort of issue before. Need to find out whats different.
Author
Owner

@shavitush commented on GitHub (Aug 15, 2016):

@UltimateByte

[cssserver@gilgames ~]$ logout
[root@gilgames ~]# command -v yum
/usr/bin/yum
[root@gilgames ~]# command -v dpkg-query
/usr/bin/dpkg-query

Would also like to note this is what I'm getting:

Warning! cssserver does not have sudo access. Manually install dependencies.
        sudo dpkg --add-architecture i386; sudo apt-get install curl wget ca-certificates file bsdmainutils util-linux python bzip2 gzip lib32gcc1 libstdc++6:i386 lib32tinfo5

apt-get is clearly for Ubuntu (or also Debian? I'm not sure!) and I think it detects the wrong distro

Also LGSM works perfectly on my Ubnutu Server 16.04LTS dedicated server, so it's definitely something with CentOS (which I don't like myself; but I don't have a choice)

<!-- gh-comment-id:239873350 --> @shavitush commented on GitHub (Aug 15, 2016): @UltimateByte ``` [cssserver@gilgames ~]$ logout [root@gilgames ~]# command -v yum /usr/bin/yum [root@gilgames ~]# command -v dpkg-query /usr/bin/dpkg-query ``` Would also like to note this is what I'm getting: ``` Warning! cssserver does not have sudo access. Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt-get install curl wget ca-certificates file bsdmainutils util-linux python bzip2 gzip lib32gcc1 libstdc++6:i386 lib32tinfo5 ``` `apt-get` is clearly for Ubuntu (or also Debian? I'm not sure!) and I think it detects the wrong distro Also LGSM works perfectly on my Ubnutu Server 16.04LTS dedicated server, so it's definitely something with CentOS (which I don't like myself; but I don't have a choice)
Author
Owner

@UltimateByte commented on GitHub (Aug 15, 2016):

command -v dpkg-query
/usr/bin/dpkg-query

To me it means that you got apt & yum installed which messes up with how lgsm detects your package management system and checks for installed packages. It takes the first one that is checks which is apt and then considers your distro to be a debian based.

We might need an additional check.

<!-- gh-comment-id:239877490 --> @UltimateByte commented on GitHub (Aug 15, 2016): ``` command -v dpkg-query /usr/bin/dpkg-query ``` To me it means that you got apt & yum installed which messes up with how lgsm detects your package management system and checks for installed packages. It takes the first one that is checks which is apt and then considers your distro to be a debian based. We might need an additional check.
Author
Owner

@shavitush commented on GitHub (Aug 15, 2016):

Are you sure?

[root@gilgames ~]# apt
-bash: apt: command not found

[root@gilgames ~]# apt-get
-bash: apt-get: command not found
<!-- gh-comment-id:239877680 --> @shavitush commented on GitHub (Aug 15, 2016): Are you sure? ``` [root@gilgames ~]# apt -bash: apt: command not found [root@gilgames ~]# apt-get -bash: apt-get: command not found ```
Author
Owner

@UltimateByte commented on GitHub (Aug 15, 2016):

Well maybe not apt, but least you got the dpkg system, which, it seems, is unusual for CentOS as you're the first one showing up with this issue :o))

<!-- gh-comment-id:239878001 --> @UltimateByte commented on GitHub (Aug 15, 2016): Well maybe not apt, but least you got the dpkg system, which, it seems, is unusual for CentOS as you're the first one showing up with this issue :o))
Author
Owner

@dgibbs64 commented on GitHub (Aug 15, 2016):

Yes its odd that you have dpkg-query on your system.

<!-- gh-comment-id:239879833 --> @dgibbs64 commented on GitHub (Aug 15, 2016): Yes its odd that you have dpkg-query on your system.
Author
Owner

@UltimateByte commented on GitHub (Aug 15, 2016):

@dgibbs64 How should we deal with it ?
Check with distroname rather than by yum/dpkg installed ?
Add a distroname check but keep the current check ?

<!-- gh-comment-id:239894355 --> @UltimateByte commented on GitHub (Aug 15, 2016): @dgibbs64 How should we deal with it ? Check with distroname rather than by yum/dpkg installed ? Add a distroname check but keep the current check ?
Author
Owner

@jaredballou commented on GitHub (Aug 17, 2016):

/etc/redhat-release will tell you that you're on a RHEL family distro. I believe Ubuntu has a similar file. Probably better than relying upon the package manager existing, I have built RPMs in Debian and Apt packages from CentOS.

<!-- gh-comment-id:240522896 --> @jaredballou commented on GitHub (Aug 17, 2016): /etc/redhat-release will tell you that you're on a RHEL family distro. I believe Ubuntu has a similar file. Probably better than relying upon the package manager existing, I have built RPMs in Debian and Apt packages from CentOS.
Author
Owner

@dgibbs64 commented on GitHub (Sep 1, 2016):

Thr fix to this is to detect apt-get rather than dpkg-query

<!-- gh-comment-id:244227336 --> @dgibbs64 commented on GitHub (Sep 1, 2016): Thr fix to this is to detect apt-get rather than dpkg-query
Author
Owner

@shavitush commented on GitHub (Sep 17, 2016):

I've updated the script and this is actually not fixed yet, can you re-open please?

[cssserver@gilgames ~]$ ./cssserver start
[ERROR ] Starting css-server: Checking dependencies: missing: bsdmainutils util-linux lib32gcc1 libstdc++6:i386 lib32tinfo5

Warning! cssserver does not have sudo access. Manually install dependencies.
        sudo dpkg --add-architecture i386; sudo apt-get install bsdmainutils util-linux lib32gcc1 libstdc++6:i386 lib32tinfo5

[  OK  ] Log-Manager css-server: Starting
[ INFO ] Log-Manager css-server: Removing logs older than 7 days
[  OK  ] Log-Manager css-server: Removed 283 log files
[  OK  ] Starting css-server: bhop.online ~ whitelisted auto

I fixed it by running sudo yum remove dpkg but it's just a workaround.

<!-- gh-comment-id:247773568 --> @shavitush commented on GitHub (Sep 17, 2016): I've updated the script and this is actually not fixed yet, can you re-open please? ``` [cssserver@gilgames ~]$ ./cssserver start [ERROR ] Starting css-server: Checking dependencies: missing: bsdmainutils util-linux lib32gcc1 libstdc++6:i386 lib32tinfo5 Warning! cssserver does not have sudo access. Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt-get install bsdmainutils util-linux lib32gcc1 libstdc++6:i386 lib32tinfo5 [ OK ] Log-Manager css-server: Starting [ INFO ] Log-Manager css-server: Removing logs older than 7 days [ OK ] Log-Manager css-server: Removed 283 log files [ OK ] Starting css-server: bhop.online ~ whitelisted auto ``` I fixed it by running `sudo yum remove dpkg` but it's just a workaround.
Author
Owner

@DigitalFriends commented on GitHub (Jan 16, 2017):

Hi, thanks.

Workaround is still to remove dpkg.

<!-- gh-comment-id:272843504 --> @DigitalFriends commented on GitHub (Jan 16, 2017): Hi, thanks. Workaround is still to remove dpkg.
Author
Owner

@rokam commented on GitHub (Jan 22, 2017):

python shown as missing, although it's installed
$ yum -q list installed python* Installed Packages python26.x86_64 2.6.9-2.88.amzn1 @amzn-main python26-libs.x86_64 2.6.9-2.88.amzn1 @amzn-main python27.x86_64 2.7.12-2.120.amzn1 installed python27-PyYAML.x86_64 3.10-3.10.amzn1 installed python27-babel.noarch 0.9.4-5.1.8.amzn1 installed python27-backports.x86_64 1.0-3.14.amzn1 installed python27-backports-ssl_match_hostname.noarch 3.4.0.2-1.12.amzn1 installed python27-boto.noarch 2.42.0-1.1.amzn1 installed python27-botocore.noarch 1.4.86-1.62.amzn1 installed python27-chardet.noarch 2.0.1-7.7.amzn1 installed python27-colorama.noarch 0.2.5-1.7.amzn1 installed python27-configobj.noarch 4.7.2-7.15.amzn1 installed python27-crypto.x86_64 2.6.1-1.12.amzn1 installed python27-daemon.noarch 1.5.2-1.5.amzn1 installed python27-dateutil.noarch 2.1-1.3.amzn1 installed python27-devel.x86_64 2.7.12-2.120.amzn1 installed python27-docutils.noarch 0.11-1.15.amzn1 installed python27-ecdsa.noarch 0.11-3.3.amzn1 installed python27-futures.noarch 3.0.3-1.3.amzn1 installed python27-imaging.x86_64 1.1.6-19.9.amzn1 installed python27-iniparse.noarch 0.3.1-2.1.9.amzn1 installed python27-jinja2.noarch 2.7.2-2.15.amzn1 installed python27-jmespath.noarch 0.9.0-1.11.amzn1 installed python27-jsonpatch.noarch 1.2-2.5.amzn1 installed python27-jsonpointer.noarch 1.0-3.4.amzn1 installed python27-kitchen.noarch 1.1.1-5.6.amzn1 installed python27-libs.x86_64 2.7.12-2.120.amzn1 installed python27-lockfile.noarch 0.8-3.5.amzn1 installed python27-markupsafe.x86_64 0.11-4.6.amzn1 installed python27-paramiko.noarch 1.15.1-1.5.amzn1 installed python27-pip.noarch 6.1.1-1.23.amzn1 installed python27-ply.noarch 3.4-3.12.amzn1 installed python27-pyasn1.noarch 0.1.7-2.9.amzn1 installed python27-pycurl.x86_64 7.19.0-17.12.amzn1 installed python27-pygpgme.x86_64 0.3-9.12.amzn1 installed python27-pyliblzma.x86_64 0.5.3-11.6.amzn1 installed python27-pystache.noarch 0.5.3-2.8.amzn1 installed python27-pyxattr.x86_64 0.5.0-1.6.amzn1 installed python27-requests.noarch 1.2.3-5.10.amzn1 installed python27-rsa.noarch 3.4.1-1.8.amzn1 installed python27-setuptools.noarch 12.2-1.32.amzn1 installed python27-simplejson.x86_64 3.6.5-1.12.amzn1 installed python27-six.noarch 1.8.0-1.23.amzn1 installed python27-urlgrabber.noarch 3.9.1-9.13.amzn1 installed python27-urllib3.noarch 1.8.2-1.5.amzn1 installed python27-virtualenv.noarch 12.0.7-1.13.amzn1 installed

<!-- gh-comment-id:274331734 --> @rokam commented on GitHub (Jan 22, 2017): python shown as missing, although it's installed `$ yum -q list installed python* Installed Packages python26.x86_64 2.6.9-2.88.amzn1 @amzn-main python26-libs.x86_64 2.6.9-2.88.amzn1 @amzn-main python27.x86_64 2.7.12-2.120.amzn1 installed python27-PyYAML.x86_64 3.10-3.10.amzn1 installed python27-babel.noarch 0.9.4-5.1.8.amzn1 installed python27-backports.x86_64 1.0-3.14.amzn1 installed python27-backports-ssl_match_hostname.noarch 3.4.0.2-1.12.amzn1 installed python27-boto.noarch 2.42.0-1.1.amzn1 installed python27-botocore.noarch 1.4.86-1.62.amzn1 installed python27-chardet.noarch 2.0.1-7.7.amzn1 installed python27-colorama.noarch 0.2.5-1.7.amzn1 installed python27-configobj.noarch 4.7.2-7.15.amzn1 installed python27-crypto.x86_64 2.6.1-1.12.amzn1 installed python27-daemon.noarch 1.5.2-1.5.amzn1 installed python27-dateutil.noarch 2.1-1.3.amzn1 installed python27-devel.x86_64 2.7.12-2.120.amzn1 installed python27-docutils.noarch 0.11-1.15.amzn1 installed python27-ecdsa.noarch 0.11-3.3.amzn1 installed python27-futures.noarch 3.0.3-1.3.amzn1 installed python27-imaging.x86_64 1.1.6-19.9.amzn1 installed python27-iniparse.noarch 0.3.1-2.1.9.amzn1 installed python27-jinja2.noarch 2.7.2-2.15.amzn1 installed python27-jmespath.noarch 0.9.0-1.11.amzn1 installed python27-jsonpatch.noarch 1.2-2.5.amzn1 installed python27-jsonpointer.noarch 1.0-3.4.amzn1 installed python27-kitchen.noarch 1.1.1-5.6.amzn1 installed python27-libs.x86_64 2.7.12-2.120.amzn1 installed python27-lockfile.noarch 0.8-3.5.amzn1 installed python27-markupsafe.x86_64 0.11-4.6.amzn1 installed python27-paramiko.noarch 1.15.1-1.5.amzn1 installed python27-pip.noarch 6.1.1-1.23.amzn1 installed python27-ply.noarch 3.4-3.12.amzn1 installed python27-pyasn1.noarch 0.1.7-2.9.amzn1 installed python27-pycurl.x86_64 7.19.0-17.12.amzn1 installed python27-pygpgme.x86_64 0.3-9.12.amzn1 installed python27-pyliblzma.x86_64 0.5.3-11.6.amzn1 installed python27-pystache.noarch 0.5.3-2.8.amzn1 installed python27-pyxattr.x86_64 0.5.0-1.6.amzn1 installed python27-requests.noarch 1.2.3-5.10.amzn1 installed python27-rsa.noarch 3.4.1-1.8.amzn1 installed python27-setuptools.noarch 12.2-1.32.amzn1 installed python27-simplejson.x86_64 3.6.5-1.12.amzn1 installed python27-six.noarch 1.8.0-1.23.amzn1 installed python27-urlgrabber.noarch 3.9.1-9.13.amzn1 installed python27-urllib3.noarch 1.8.2-1.5.amzn1 installed python27-virtualenv.noarch 12.0.7-1.13.amzn1 installed `
Author
Owner

@UltimateByte commented on GitHub (Jan 22, 2017):

@rokam Distro ?
apt or dpgk installed on top of yum ?

<!-- gh-comment-id:274360564 --> @UltimateByte commented on GitHub (Jan 22, 2017): @rokam Distro ? apt or dpgk installed on top of yum ?
Author
Owner

@braunsonm commented on GitHub (Jan 26, 2017):

Reopen the issue if you have additional information for us @rokam

<!-- gh-comment-id:275307551 --> @braunsonm commented on GitHub (Jan 26, 2017): Reopen the issue if you have additional information for us @rokam
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread 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:406119505 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread 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#794
No description provided.