sicherboot command not found

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

Introduction

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

sicherboot: command not found

or when using sudo you get the following error message

sudo: sicherboot: command not found

Solutions to sicherboot: command not found

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

In Ubuntu sicherboot is provided by sicherboot package.

sicherboot is:

sicher*boot manages kernels and systemd-boot on a secure boot machine. It installs kernels and systemd-boot, generates signing keys to enroll in the machine, and signs the kernels and the bootloader with it.

Keys are generated in /etc/sicherboot/keys, readable only to root. The private keys are unencrypted in the default configuration, but that can be changed, see /etc/sicherboot/sicherboot.conf after installing.

This package diverts the /etc/kernel/postinst.d/dracut file and replace it with its own file that calls the diverted one before running sicherboot, as dracut does not support any form of hooks. dpkg is not entirely happy with that and asks you if you want to replace a “deleted” dracut conffile - answer yes.

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

sudo apt-get -y install sicherboot

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

You can also use apt command to install sicherboot.

sudo apt -y install sicherboot

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

sudo aptitude install sicherboot

Summary

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