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

Closed
opened 2026-02-27 03:06:40 +03:00 by kerem · 1 comment
Owner

Originally created by @marcsello on GitHub (Oct 2, 2025).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4829

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
Originally created by @marcsello on GitHub (Oct 2, 2025). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4829 ### 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 ```shell 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`
Author
Owner

@marcsello commented on GitHub (Jan 18, 2026):

PR got merged.

<!-- gh-comment-id:3765310151 --> @marcsello commented on GitHub (Jan 18, 2026): PR got merged.
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#2996
No description provided.