vitrage-purge-data command not found

In this troubleshooting guide we learn how to fix vitrage-purge-data command not found error message

Introduction

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

vitrage-purge-data: command not found

or when using sudo you get the following error message

sudo: vitrage-purge-data: command not found

Solutions to vitrage-purge-data: command not found

How To Fix vitrage-purge-data: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vitrage-purge-data is provided by python3-vitrage package.

python3-vitrage is:

Vitrage provides a root cause analysis service, which is used for analyzing the topology and alarms of the cloud, and providing insights about it.

This package provides the Python libraries.

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

sudo apt-get -y install python3-vitrage

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

You can also use apt command to install python3-vitrage.

sudo apt -y install python3-vitrage

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

sudo aptitude install python3-vitrage

Summary

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