mmdebstrap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mmdebstrap: command not found
or when using sudo you get the following error message
sudo: mmdebstrap: command not found
Solutions to mmdebstrap: command not found
How To Fix mmdebstrap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mmdebstrap is provided by mmdebstrap package.
mmdebstrap is:
Downloads, unpacks and installs Debian packages to either directly create a directory which can be chrooted into, or a tarball of it. In contrast to debootstrap it uses apt, supports more than one mirror, automatically uses security and updates mirrors for Debian stable chroots, is 3-6 times faster, produces smaller output by removing unnecessary cruft, is bit-by-bit reproducible if $SOURCE_DATE_EPOCH is set, allows unprivileged operation using Linux user namespaces, fakechroot or proot and can setup foreign architecture chroots using qemu-user.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mmdebstrap
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mmdebstrap.
sudo apt -y install mmdebstrap
Or if you have aptitude installed you can use the following command.
sudo aptitude install mmdebstrap
Summary
In this tutorial we learn how to fix mmdebstrap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.