Resolving lsb_release installation failed on Linux

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

  1. 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.
  2. 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
  3. Confirm the utility is now available:

    lsb_release -a
  4. 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_release is provided by the LSB (Linux Standard Base) release package. Package names differ by distribution (lsb-release on Debian/Ubuntu and SUSE, redhat-lsb-core on 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.
Was this article helpful?
0 out of 0 found this helpful