FOG 1.6.0-beta.2641 - Instalation on Debian 13
-
Hello everyone,
I am currently testing the FOG Project
working-1.6branch on a fresh installation of Debian 13 (Trixie) and encountered a fatal error during the installation script. I wanted to share the bug and a proposed fix.The Issue
During the package installation phase, the installer fails with the following error:
Installing package: sysv-rc-conf............................Failed! (Will try later) ... sysv-rc-conf:amd64=0.99-10 is selected for install sysv-rc-conf:amd64 Depends on sysvinit-coreBecause Debian 13 uses
systemd, trying to installsysv-rc-confforces the package manager to attempt installingsysvinit-core, which conflicts directly withsystemd-sysv. The OS prevents this to avoid breaking the system, causing the FOG installation to halt.The Cause
In
/lib/ubuntu/config.sh, the variablesysvrcconfis hardcoded for all Debian versions:bash if [[ $linuxReleaseName_lower == +(*bian*) ]]; then sysvrcconf="sysv-rc-conf"Proposed Fix
Since sysv-rc-conf is completely obsolete on modern Debian systems, we should exclude it for Debian 13 (and newer). I modified /lib/ubuntu/config.sh on my machine as follows, which allowed the installation to finish successfully:
if [[ $linuxReleaseName_lower == +(*bian*) ]]; then # Exclude sysv-rc-conf for Debian 13 and newer if [[ "$OSVersion" -ge 13 ]] 2>/dev/null; then sysvrcconf="" else sysvrcconf="sysv-rc-conf" fi elif [[ $linuxReleaseName_lower == +(*ubuntu*|*mint*) ]]; thenI hope this helps anyone else trying to deploy FOG on the upcoming Debian releases, and perhaps this check could be merged into the repository for future compatibility.
Thanks for all the great work on FOG!