debdry command not found

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

Introduction

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

debdry: command not found

or when using sudo you get the following error message

sudo: debdry: command not found

Solutions to debdry: command not found

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

In Ubuntu debdry is provided by debdry package.

debdry is:

debdry is for debian/ directories what debhelper7 is for debian/rules.

It applies the Don’t Repeat Yourself idea to packaging, attempting to reuse as much as possible of upstream’s metadata and standard packaging practices.

debdry runs an appropriate auto-debianisation tool for a given source directory, then applies manual overrides from a debian.in directory.

debdry supports the following types of packages (in brackets you will find extra packages that need to be installed for each type of package):

  • Perl [dh-make-perl]
  • Python [python-stdeb, python3-stdeb]
  • Ruby [gem2deb]
  • Haskell [cabal-debian]

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

sudo apt-get -y install debdry

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

You can also use apt command to install debdry.

sudo apt -y install debdry

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

sudo aptitude install debdry

Summary

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