Closed jrmain closed 7 years ago
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
That sounded promising, but when I try to install libsdl1.2debian:i386
, I get this: libsdl1.2debian:i386 is already the newest version.
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.
can you post your updated code and I will look at adding a fix for this thanks. Good investigation 👍
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'
@jrmain thanks. This is fixed now.
Cool! When will the change appear? I mean, if I run update-lgsm now, will I get the fix?
Next release :)
Confirmed fixed in latest release. Thanks!
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.
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:
I checked whether the 'missing' package is in fact installed, and it does seem to be:
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.