fai-do-scripts command not found

In this troubleshooting guide we learn how to fix fai-do-scripts command not found error message

Introduction

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

fai-do-scripts: command not found

or when using sudo you get the following error message

sudo: fai-do-scripts: command not found

Solutions to fai-do-scripts: command not found

How To Fix fai-do-scripts: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fai-do-scripts is provided by fai-client package.

fai-client is:

FAI is a non-interactive system to install, customize and manage Linux systems and software configurations on computers as well as virtual machines and chroot environments, from small networks to large infrastructures and clusters.

This is the client package for FAI. It contains the parts necessary to run the softupdate functionality on already installed systems, and is needed for the dirinstall functionality and others on a FAI server.

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

sudo apt-get -y install fai-client

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

You can also use apt command to install fai-client.

sudo apt -y install fai-client

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

sudo aptitude install fai-client

Summary

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