LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[Bug]: Missing dependencies on Debian 12

Open quonic opened this issue 2 years ago • 2 comments

User story

Attempted to install an ECO server on a Debian 12 VM, but the supplied command to install dependencies failed.

Game

ECO

Linux distro

Debian 12

Command

command: install

Further information

Running this worked for me.

sudo dpkg --add-architecture i386; sudo apt update; sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python3 util-linux ca-certificates binutils bc jq tmux netcat-openbsd 
lib32gcc-s1 lib32stdc++6 libgdiplus distro-info libsdl2-2.0-0:i386 uuid-runtime

Suggested changes:

Adding a Debian => 12 section with netcat replaced with netcat-openbsd and distro-info libsdl2-2.0-0:i386 uuid-runtime added to apt install

Replacing the Debian => 11 section with Debian = 11

Relevant log output

root@eco-server:~# sudo dpkg --add-architecture i386; sudo apt update; sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python3 util-linux ca-certificates binutils bc jq tmux netcat 
lib32gcc-s1 lib32stdc++6 libgdiplus
Hit:1 http://ftp.debian.org:80/debian bookworm InRelease
Get:2 http://ftp.debian.org:80/debian bookworm/main i386 Packages [8,678 kB]
Get:3 http://ftp.debian.org:80/debian bookworm/non-free-firmware i386 Packages [5,892 B]
Fetched 8,684 kB in 7s (1,297 kB/s)                                                                                                                                                              
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package netcat is a virtual package provided by:
  netcat-openbsd 1.219-1
  netcat-traditional 1.10-47
You should explicitly select one to install.

E: Package 'netcat' has no installation candidate

------Install--------

Checking Eco Dependencies
=================================
fetching GitHub debian-12.csv...OK
bc
binutils
bsdmainutils
bzip2
ca-certificates
cpio
curl
distro-info
file
gzip
hostname
jq
lib32gcc-s1
lib32stdc++6
libgdiplus
libsdl2-2.0-0:i386
netcat-openbsd
python3
tar
tmux
unzip
util-linux
uuid-runtime
wget
xz-utils
Warning! Missing dependencies: distro-info libsdl2-2.0-0:i386 uuid-runtime
Warning! ecoserver does not have sudo access. Manually install dependencies or run ./ecoserver install as root.
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install distro-info libsdl2-2.0-0:i386 uuid-runtime
Failure! Missing dependencies required to run SteamCMD.
fetching GitHub core_exit.sh...OK

Steps to reproduce

Go to https://linuxgsm.com/servers/ecoserver/

Go to Dependencies for Debian

Run dependency commands for Debian => 11 on Debian 12

quonic avatar Dec 26 '23 18:12 quonic

I can confirm this.

Using @quonic's instructions it worked for me. Thank you mate.

fyrak1s avatar Feb 17 '24 23:02 fyrak1s

this has since be updated to use netcat-openbsd. The website still however needs updating

dgibbs64 avatar Feb 28 '24 23:02 dgibbs64

I have updated the website to remove the dependency instructions and rely on LinuxGSM itself to do the work. It's very difficult for me to keep everything updated on the website

dgibbs64 avatar Jun 13 '24 13:06 dgibbs64