Subject: FOG dev-branch - lsb_release: command not found on Oracle Linux 10.3
-
Hi,
During a fresh installation of the latest FOG dev-branch on Oracle Linux 10.3 (x86_64), I encountered the following error:
./installfog.sh: line 801: lsb_release: command not found
The installer attempts to execute lsb_release, but the utility is not installed by default.
The installation continues and eventually reports “Setup complete”.
Workaround:
The required package is lsb_release, available through EPEL 10.
sudo dnf install -y oracle-epel-release-el10
sudo dnf makecache
sudo dnf install -y lsb_releaseVerify:
command -v lsb_release
lsb_release -aSuggested improvements:
- Check whether lsb_release is installed before executing it.
- Automatically install the required package when available.
- Use /etc/os-release as a fallback.
- Avoid displaying a “command not found” error during installation.
Could you please update the FOG installer to handle this automatically on Oracle Linux 10 and other RHEL-compatible distributions?