rootsign command not found

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

Introduction

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

rootsign: command not found

or when using sudo you get the following error message

sudo: rootsign: command not found

Solutions to rootsign: command not found

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

In Ubuntu rootsign is provided by bootmail package.

bootmail is:

bootmail is a handy utility that will automatically send an email to a configurable list of email addresses each time the system boots. This is perhaps useful for unattended servers that should not reboot often. It appends a configurable list of log files to the email body.

If you install the suggested packages, it will also cryptographically sign the email messages.

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

sudo apt-get -y install bootmail

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

You can also use apt command to install bootmail.

sudo apt -y install bootmail

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

sudo aptitude install bootmail

Summary

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