[GH-ISSUE #1428] Checking dependencies: missing: libsdl1.2debian #1111

Closed
opened 2026-02-27 02:55:22 +03:00 by kerem · 10 comments
Owner

Originally created by @jrmain on GitHub (May 8, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1428

I've just installed ut99server on my Ubuntu 14.04 server, and although it seems to run okay, whenever I stop or start it, I see these messages:

[ERROR ] Starting ut99-server: Checking dependencies: missing: libsdl1.2debian
Warning! ut99server does not have sudo access. Manually install dependencies.
sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get install libsdl1.2debian

I checked whether the 'missing' package is in fact installed, and it does seem to be:

$ sudo dpkg -s libsdl1.2debian
Package: libsdl1.2debian
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 484
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: libsdl1.2
Version: 1.2.15-8ubuntu1.1
Replaces: libsdl1.2debian-all, libsdl1.2debian-alsa, libsdl1.2debian-esd, libsdl1.2debian-nas, libsdl1.2debian-oss, libsdl1.2debian-pulseaudio
Depends: libasound2 (>= 1.0.16), libc6 (>= 2.15), libcaca0 (>= 0.99.beta17-1), libpulse0 (>= 1:0.99.1), libx11-6 (>= 2:1.4.99.1), libxext6
Pre-Depends: multiarch-support
Conflicts: libsdl1.2, libsdl1.2-all, libsdl1.2-esd, libsdl1.2-nas, libsdl1.2-oss, libsdl1.2debian-all, libsdl1.2debian-alsa, libsdl1.2debian-esd, libsdl1.2debian-nas, libsdl1.2debian-oss, libsdl1.2debian-pulseaudio

If I try to install libsdl1.2debian, Linux tells me 'libsdl1.2debian is already the newest version.'

If I try the suggested command from the error message (sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get install libsdl1.2debian), Linux tells me 'libsdl1.2debian is already the newest version.'

What functionality is provided by libsdl1.2debian that I may be missing? If it's actually working, does that mean there's a problem in how ut99server is detecting libsdl1.2debian?

Let me know if there's any more diagnostic information I can provide.

Update: I just installed ut2k4server, and although it seems to run fine, I get the same messages about libsdl1.2debian when I stop or start the server.

Originally created by @jrmain on GitHub (May 8, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1428 I've just installed ut99server on my Ubuntu 14.04 server, and although it seems to run okay, whenever I stop or start it, I see these messages: [ERROR ] Starting ut99-server: Checking dependencies: missing: libsdl1.2debian Warning! ut99server does not have sudo access. Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get install libsdl1.2debian I checked whether the 'missing' package is in fact installed, and it does seem to be: ``` $ sudo dpkg -s libsdl1.2debian Package: libsdl1.2debian Status: install ok installed Priority: optional Section: libs Installed-Size: 484 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: amd64 Multi-Arch: same Source: libsdl1.2 Version: 1.2.15-8ubuntu1.1 Replaces: libsdl1.2debian-all, libsdl1.2debian-alsa, libsdl1.2debian-esd, libsdl1.2debian-nas, libsdl1.2debian-oss, libsdl1.2debian-pulseaudio Depends: libasound2 (>= 1.0.16), libc6 (>= 2.15), libcaca0 (>= 0.99.beta17-1), libpulse0 (>= 1:0.99.1), libx11-6 (>= 2:1.4.99.1), libxext6 Pre-Depends: multiarch-support Conflicts: libsdl1.2, libsdl1.2-all, libsdl1.2-esd, libsdl1.2-nas, libsdl1.2-oss, libsdl1.2debian-all, libsdl1.2debian-alsa, libsdl1.2debian-esd, libsdl1.2debian-nas, libsdl1.2debian-oss, libsdl1.2debian-pulseaudio ``` If I try to install **libsdl1.2debian**, Linux tells me 'libsdl1.2debian is already the newest version.' If I try the suggested command from the error message (`sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get install libsdl1.2debian`), Linux tells me 'libsdl1.2debian is already the newest version.' What functionality is provided by **libsdl1.2debian** that I may be missing? If it's actually working, does that mean there's a problem in how ut99server is detecting **libsdl1.2debian**? Let me know if there's any more diagnostic information I can provide. Update: I just installed ut2k4server, and although it seems to run fine, I get the same messages about **libsdl1.2debian** when I stop or start the server.
kerem 2026-02-27 02:55:22 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@Grimston commented on GitHub (May 8, 2017):

Try this to enable support for 32 bit libraries.

sudo dpkg --add-architecture i386
sudo apt-get update

Then force it to install the 32bit version

sudo apt-get install libsdl1.2debian:i386
<!-- gh-comment-id:299892580 --> @Grimston commented on GitHub (May 8, 2017): Try this to enable support for 32 bit libraries. ```BASH sudo dpkg --add-architecture i386 sudo apt-get update ```` Then force it to install the 32bit version ```BASH sudo apt-get install libsdl1.2debian:i386 ```
Author
Owner

@jrmain commented on GitHub (May 8, 2017):

That sounded promising, but when I try to install libsdl1.2debian:i386, I get this: libsdl1.2debian:i386 is already the newest version.

<!-- gh-comment-id:299916516 --> @jrmain commented on GitHub (May 8, 2017): That sounded promising, but when I try to install `libsdl1.2debian:i386`, I get this: `libsdl1.2debian:i386 is already the newest version.`
Author
Owner

@jrmain commented on GitHub (May 12, 2017):

I think I found the problem. The command in check_deps.sh that checks for the existence of libsdl1.2debian is dpkg-query -W -f='${Status}' libsdl1.2debian. When I run that command on my server, I get this: install ok installedinstall ok installed. The script is looking for install ok installed on a line by itself, which it's not seeing. I think I'm getting the response I am because both the 32-bit and 64-bit versions of libsdl1.2debian are installed. Anyway, I changed the script to look for install ok installed at the start of a line, and I no longer see the dependency warnings. libsdl1.2debian is a requirement for the UT99 and UT2K4 servers, and it is installed, it just wasn't being detected properly by the gameservers script.

<!-- gh-comment-id:301138344 --> @jrmain commented on GitHub (May 12, 2017): I think I found the problem. The command in check_deps.sh that checks for the existence of libsdl1.2debian is `dpkg-query -W -f='${Status}' libsdl1.2debian`. When I run that command on my server, I get this: `install ok installedinstall ok installed`. The script is looking for `install ok installed` on a line by itself, which it's not seeing. I think I'm getting the response I am because both the 32-bit and 64-bit versions of libsdl1.2debian are installed. Anyway, I changed the script to look for `install ok installed` at the start of a line, and I no longer see the dependency warnings. libsdl1.2debian is a requirement for the UT99 and UT2K4 servers, and it is installed, it just wasn't being detected properly by the gameservers script.
Author
Owner

@dgibbs64 commented on GitHub (May 12, 2017):

can you post your updated code and I will look at adding a fix for this thanks. Good investigation 👍

<!-- gh-comment-id:301185248 --> @dgibbs64 commented on GitHub (May 12, 2017): can you post your updated code and I will look at adding a fix for this thanks. Good investigation 👍
Author
Owner

@jrmain commented on GitHub (May 12, 2017):

check_deps.sh
Line 22
Change:
dpkg-query -W -f='${Status}' ${deptocheck} 2>/dev/null | grep -q -P '^install ok installed$'
To:
dpkg-query -W -f='${Status}' ${deptocheck} 2>/dev/null | grep -q -P '^install ok installed'

<!-- gh-comment-id:301196930 --> @jrmain commented on GitHub (May 12, 2017): check_deps.sh Line 22 Change: `dpkg-query -W -f='${Status}' ${deptocheck} 2>/dev/null | grep -q -P '^install ok installed$'` To: `dpkg-query -W -f='${Status}' ${deptocheck} 2>/dev/null | grep -q -P '^install ok installed'`
Author
Owner

@dgibbs64 commented on GitHub (Oct 12, 2017):

@jrmain thanks. This is fixed now.

<!-- gh-comment-id:336228083 --> @dgibbs64 commented on GitHub (Oct 12, 2017): @jrmain thanks. This is fixed now.
Author
Owner

@jrmain commented on GitHub (Oct 13, 2017):

Cool! When will the change appear? I mean, if I run update-lgsm now, will I get the fix?

<!-- gh-comment-id:336329431 --> @jrmain commented on GitHub (Oct 13, 2017): Cool! When will the change appear? I mean, if I run update-lgsm now, will I get the fix?
Author
Owner

@dgibbs64 commented on GitHub (Oct 13, 2017):

Next release :)

<!-- gh-comment-id:336356796 --> @dgibbs64 commented on GitHub (Oct 13, 2017): Next release :)
Author
Owner

@jrmain commented on GitHub (Oct 15, 2017):

Confirmed fixed in latest release. Thanks!

<!-- gh-comment-id:336711964 --> @jrmain commented on GitHub (Oct 15, 2017): Confirmed fixed in latest release. Thanks!
Author
Owner

@lock[bot] commented on GitHub (Oct 15, 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:429861131 --> @lock[bot] commented on GitHub (Oct 15, 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#1111
No description provided.