write-mime-multipart command not found

In this troubleshooting guide we learn how to fix write-mime-multipart command not found error message

Introduction

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

write-mime-multipart: command not found

or when using sudo you get the following error message

sudo: write-mime-multipart: command not found

Solutions to write-mime-multipart: command not found

How To Fix write-mime-multipart: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu write-mime-multipart is provided by cloud-image-utils package.

cloud-image-utils is:

This package provides a useful set of utilities for working with cloud images. It contains tools to help in modifying cloud images, running, and querying data related to cloud-images.

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

sudo apt-get -y install cloud-image-utils

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

You can also use apt command to install cloud-image-utils.

sudo apt -y install cloud-image-utils

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

sudo aptitude install cloud-image-utils

Summary

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