os-config-applier command not found

In this troubleshooting guide we learn how to fix os-config-applier command not found error message

Introduction

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

os-config-applier: command not found

or when using sudo you get the following error message

sudo: os-config-applier: command not found

Solutions to os-config-applier: command not found

How To Fix os-config-applier: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu os-config-applier is provided by python3-os-apply-config package.

python3-os-apply-config is:

os-apply-config apply configuration out of the cloud metadata (JSON) that it receives from a metadata server.

It turns metadata from one or more JSON files like this:

{“keystone”: {“database”: {“host”: “127.0.0.1”, “user”: “keystone”, “password”: “foobar”} } }

into service config files like this:

[sql] connection = mysql://keystone:[email protected]/keystone

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

sudo apt-get -y install python3-os-apply-config

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

You can also use apt command to install python3-os-apply-config.

sudo apt -y install python3-os-apply-config

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

sudo aptitude install python3-os-apply-config

Summary

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