mh_resolve_dependencies command not found

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

Introduction

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

mh_resolve_dependencies: command not found

or when using sudo you get the following error message

sudo: mh_resolve_dependencies: command not found

Solutions to mh_resolve_dependencies: command not found

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

In Ubuntu mh_resolve_dependencies is provided by maven-debian-helper package.

maven-debian-helper is:

maven-debian-helper is a set of tools used to generate Debian packages from Maven projects and build them in a manner that complies with the Debian policies.

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

sudo apt-get -y install maven-debian-helper

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

You can also use apt command to install maven-debian-helper.

sudo apt -y install maven-debian-helper

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

sudo aptitude install maven-debian-helper

Summary

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