debootstick command not found

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

Introduction

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

debootstick: command not found

or when using sudo you get the following error message

sudo: debootstick: command not found

Solutions to debootstick: command not found

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

In Ubuntu debootstick is provided by debootstick package.

debootstick is:

debootstick is used to generate a bootable image from a Debian or Ubuntu chroot environment (such as one generated with debootstrap, docker export, etc.). This image should then be copied to a USB stick or disk and used to boot any amd64 machine (BIOS- or UEFI-based). debootstick can also generate an SD card image for a raspberry pi board. The embedded system is ready to be started live (no installation procedure needed), and is fully upgradeable (kernel and bootloader included).

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

sudo apt-get -y install debootstick

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

You can also use apt command to install debootstick.

sudo apt -y install debootstick

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

sudo aptitude install debootstick

Summary

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