landscape-sysinfo command not found

In this troubleshooting guide we learn how to fix landscape-sysinfo command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

landscape-sysinfo: command not found

or when using sudo you get the following error message

sudo: landscape-sysinfo: command not found

Solutions to landscape-sysinfo: command not found

How To Fix landscape-sysinfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu landscape-sysinfo is provided by landscape-common package.

landscape-common is:

Landscape is a web-based tool for managing Ubuntu systems. This package is necessary if you want your machine to be managed in a Landscape account.

This package provides the core libraries, as well as the landscape-sysinfo command. It also sets up the landscape user, landscape directories, and the hook that runs landscape-sysinfo on startup.

To fix this problem, we can install more using the command below.

sudo apt-get -y install landscape-common

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install landscape-common.

sudo apt -y install landscape-common

Or if you have aptitude installed you can use the following command.

sudo aptitude install landscape-common

Summary

In this tutorial we learn how to fix landscape-sysinfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.