Skip to content

[Bug]: openjdk-22-jre is not available on Debian Trixie (13) #4829

@marcsello

Description

@marcsello

User story

As a user, I want to install mcserver without errors.

Game

Minecraft

Linux distro

Other

Command

command: install

Further information

Hello there! I'm not sure if Debian 13 is officially supported by now, but I can see there Is a relevant dependency list for it here: https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/data/debian-13.csv

In this file openjdk-22-jre is listed for Minecraft (and some other games as well) but this package is not available in Debian 13:

https://packages.debian.org/search?keywords=openjdk-22-jre&searchon=names&suite=all&section=all

(It's only available in Sid)

The available versions in Debian 13 are openjdk-25-jre and openjdk-21-jre. But I think a better approach would be to just use default-jre-headless (I'm not sure tho.)

Relevant log output

vagrant@minecraft:~$ ./mcserver debug
fetching GitHub [ command_debug.sh ] ... OK

Minecraft Debugging
=================================
[ WARN ] Debugging mcserver: Missing dependencies: distro-info lib32gcc-s1 lib32stdc++6 netcat-openbsd openjdk-22-jre pigz uuid-runtimeInformation! Automatically installing missing dependencies.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = (unset),
	LC_NUMERIC = (unset),
	LC_COLLATE = (unset),
	LC_TIME = "hu_HU.UTF-8",
	LC_MESSAGES = (unset),
	LC_MONETARY = "hu_HU.UTF-8",
	LC_ADDRESS = (unset),
	LC_IDENTIFICATION = (unset),
	LC_MEASUREMENT = "hu_HU.UTF-8",
	LC_PAPER = (unset),
	LC_TELEPHONE = (unset),
	LC_NAME = (unset),
	LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = (unset),
	LC_NUMERIC = (unset),
	LC_COLLATE = (unset),
	LC_TIME = "hu_HU.UTF-8",
	LC_MESSAGES = (unset),
	LC_MONETARY = "hu_HU.UTF-8",
	LC_ADDRESS = (unset),
	LC_IDENTIFICATION = (unset),
	LC_MEASUREMENT = "hu_HU.UTF-8",
	LC_PAPER = (unset),
	LC_TELEPHONE = (unset),
	LC_NAME = (unset),
	LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
Hit:1 https://security.debian.org/debian-security trixie-security InRelease
Hit:2 https://deb.debian.org/debian trixie InRelease   
Get:3 https://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:4 https://deb.debian.org/debian trixie-backports InRelease [53.8 kB]
Get:5 https://deb.debian.org/debian trixie-backports/main Sources.diff/Index [63.3 kB]
Get:6 https://deb.debian.org/debian trixie-backports/main amd64 Packages.diff/Index [63.3 kB]
Get:7 https://deb.debian.org/debian trixie-backports/main Translation-en.diff/Index [42.0 kB]
Get:8 https://deb.debian.org/debian trixie-backports/main Sources T-2025-10-02-2004.04-F-2025-10-02-2004.04.pdiff [634 B]
Get:9 https://deb.debian.org/debian trixie-backports/main amd64 Packages T-2025-10-02-2004.04-F-2025-10-02-2004.04.pdiff [230 B]
Get:8 https://deb.debian.org/debian trixie-backports/main Sources T-2025-10-02-2004.04-F-2025-10-02-2004.04.pdiff [634 B]
Get:9 https://deb.debian.org/debian trixie-backports/main amd64 Packages T-2025-10-02-2004.04-F-2025-10-02-2004.04.pdiff [230 B]
Get:10 https://deb.debian.org/debian trixie-backports/main Translation-en T-2025-10-02-2004.04-F-2025-10-02-2004.04.pdiff [3260 B]
Get:10 https://deb.debian.org/debian trixie-backports/main Translation-en T-2025-10-02-2004.04-F-2025-10-02-2004.04.pdiff [3260 B]
Fetched 274 kB in 0s (1565 kB/s)   
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package openjdk-22-jre
 Run: 'sudo apt update; sudo apt install distro-info lib32gcc-s1 lib32stdc++6 netcat-openbsd openjdk-22-jre pigz uuid-runtime' as root to install missing dependencies.

Steps to reproduce

  1. download linuxgsm.sh
  2. run linuxgsm.sh gmodserver
  3. run ./gmodserver auto-install

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🆕 New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions