GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.32k stars 821 forks source link

Debian 11 dependency issues because of package changes [BUG] #3543

Closed kintarowonders closed 3 years ago

kintarowonders commented 3 years ago

User Story

After updating my hl2dmserver system from Debian 10 (buster) to Debian 11 (bullseye) it would not start because of missing dependencies and could not install them because of package name changes. The Buster package lib32gcc1 on Bullseye is now called lib32gcc-s1, and the package bsdmainutils is replaced by bsdutils and bsdextrautils and because of that the server would not start as it could not install these non-existent packages.

I successfully worked around the issue by making dummy packages for bsdextrautils and lib32gcc1 using the 'equivs' tool. Once I had installed these dummy packages my server started working and would start once again.

Basic info

Further Information

I created these two files...

bsdmainutils.equivs

Package: bsdmainutils
Version: 99:99
Maintainer: John Tate <john@johntate.org>
Architecture: all
Description: dummy bsdmainutils package

lib32gcc1.equivs

Package: lib32gcc1
Version: 99:99
Maintainer: John Tate <john@johntate.org>
Architecture: all
Description: dummy lib32gcc1 package
 A dummy of a dependency for sourcemod.

I then created the dummy packages with equivs-build

# equivs-build lib32gcc1.equivs
# equivs-build bsdmainuntils.equivs

And installed them with dpkg -i

# dpkg -i bsdmainutils_99_all.deb lib32gcc1_99_all.deb

To Reproduce

Steps to reproduce the behaviour:

  1. Update to Debian 11 from Debian 10
  2. Try to restart the server with ./hl2dmserver restart

Expected behaviour

For the server to start expecting the new dependencies instead of the old when running on Debian 11.

Claiyc commented 3 years ago

Issues with dependencies on newer distros are already known and dependency checks are currently being refactored. Thanks for your report!

github-actions[bot] commented 2 years ago

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.