Add support for Ubuntu 22.04, 24.04 and Debian 11/12#320
Draft
Add support for Ubuntu 22.04, 24.04 and Debian 11/12#320
Conversation
- Fix lib32gcc1 → lib32gcc-s1 package rename (Ubuntu 22.04+, Debian 11+) - Fix mlocate → plocate for Ubuntu 22.04+ and Debian 12+ - Add Ubuntu 24.04 manual steamcmd download (removed from apt repos) - Add Debian 12 non-free/contrib repo setup for steamcmd - Update steamcmd symlink logic for Ubuntu 24.04+ - Update set_steamexe() for Ubuntu 24.04 manual install path - Apply all changes consistently in njordmenu.sh and rebirth/lib/ - Update README to list Ubuntu 22.04, 24.04, Debian 11/12 as supported Co-authored-by: Nimdy <16698453+Nimdy@users.noreply.github.com> Agent-Logs-Url: https://github.com/Nimdy/Dedicated_Valheim_Server_Script/sessions/d637b7eb-a7f6-4272-b60f-607d47f6c03d
Copilot
AI
changed the title
[WIP] Add support for Ubuntu 24.04 and Debian 12
Add support for Ubuntu 22.04, 24.04 and Debian 11/12
Mar 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ubuntu 20.04 reaches EOL in May 2025. Several package-level breaking changes in newer Debian-based distros prevent the install scripts from working correctly.
Package name changes
lib32gcc1→lib32gcc-s1on Ubuntu 22.04+ and Debian 11+mlocate→plocateon Ubuntu 22.04+ and Debian 12+Both are now resolved via version detection using
$IDand$VERSION_IDfrom/etc/os-release.Ubuntu 24.04: steamcmd removed from apt
steamcmdis no longer in the Ubuntu 24.04 multiverse repo. On Ubuntu 24.04+, the script now downloads and extracts steamcmd manually from Valve's CDN into/home/steam/steamcmd/, andsteamexeis set to/home/steam/steamcmd/steamcmd.shaccordingly. The apt symlink step is skipped for this path.Debian 12: steamcmd requires non-free sources
steamcmdis in Debian'snon-freecomponent. Whennon-freeis not present in sources, the script adds a new drop-in file:Uses
$VERSION_CODENAMErather than hardcodingbookwormto stay correct for future Debian releases.Scope
Changes applied consistently across both
njordmenu.sh(legacy monolithic script) andrebirth/lib/server.sh+rebirth/lib/core.sh(modular codebase). README prerequisites updated to reflect the newly supported OS versions.Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.