dep12-validate command not found

In this troubleshooting guide we learn how to fix dep12-validate command not found error message

Introduction

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

dep12-validate: command not found

or when using sudo you get the following error message

sudo: dep12-validate: command not found

Solutions to dep12-validate: command not found

How To Fix dep12-validate: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dep12-validate is provided by libdebian-dep12-perl package.

libdebian-dep12-perl is:

Debian::DEP12 is an object-oriented interface for Debian DEP 12 format, also known as debian/upstream/metadata. Primary focus of the initial development was validation and fixing of DEP 12 data.

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

sudo apt-get -y install libdebian-dep12-perl

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

You can also use apt command to install libdebian-dep12-perl.

sudo apt -y install libdebian-dep12-perl

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

sudo aptitude install libdebian-dep12-perl

Summary

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