bootinfoscript command not found

In this troubleshooting guide we learn how to fix bootinfoscript command not found error message

Introduction

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

bootinfoscript: command not found

or when using sudo you get the following error message

sudo: bootinfoscript: command not found

Solutions to bootinfoscript: command not found

How To Fix bootinfoscript: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bootinfoscript is provided by boot-info-script package.

boot-info-script is:

boot-info-script generates a report of your boot environment. This report can easily be read or sent to someone else in case you can not fix the problem yourself.

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

sudo apt-get -y install boot-info-script

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

You can also use apt command to install boot-info-script.

sudo apt -y install boot-info-script

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

sudo aptitude install boot-info-script

Summary

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