Issue
A Linux device managed by Automox returns an "lsb_release installation failed" message in one or more command or scan results. This occurs when the lsb_release utility is not present on the device. The Automox Agent uses lsb_release to identify the Linux distribution and release, so when it is missing, commands that depend on that information fail.
Environment
- Automox Agent on Linux
- Debian / Ubuntu, RHEL / CentOS / Rocky / AlmaLinux, SUSE / openSUSE
- Older Automox Agent releases (see Notes)
Resolution
- Confirm the Automox Agent is on the current release. Newer agent releases no longer depend on
lsb_release; updating the agent resolves the error on its own. See Updating the Automox Agent. -
If the utility is still required, install it for the device's distribution from an elevated shell:
Debian / Ubuntu
sudo apt-get update && sudo apt-get install -y lsb-release
RHEL / CentOS / Rocky / AlmaLinux
sudo dnf install -y redhat-lsb-core # older releases without dnf: sudo yum install -y redhat-lsb-core
SUSE / openSUSE
sudo zypper install -y lsb-release
-
Confirm the utility is now available:
lsb_release -a
- Run a scan on the device from the Automox Console (Devices select the device Scan Device) and confirm the error no longer appears.
Notes
-
lsb_releaseis provided by the LSB (Linux Standard Base) release package. Package names differ by distribution (lsb-releaseon Debian/Ubuntu and SUSE,redhat-lsb-coreon RHEL-family systems). - If the error persists after the utility is installed and confirmed present, contact Automox Support with the device's OS/version and agent version.