piuparts command not found

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

Introduction

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

piuparts: command not found

or when using sudo you get the following error message

sudo: piuparts: command not found

Solutions to piuparts: command not found

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

In Ubuntu piuparts is provided by piuparts package.

piuparts is:

piuparts tests that .deb packages (as used by Debian) handle installation, upgrading, and removal correctly. It does this by creating a minimal Debian installation in a chroot, and installing, upgrading, and removing packages in that environment, and comparing the state of the directory tree before and after. piuparts reports any files that have been added, removed, or modified during this process.

piuparts is meant as a quality assurance tool for people who create .deb packages to test them before they upload them to the Debian package archive.

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

sudo apt-get -y install piuparts

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

You can also use apt command to install piuparts.

sudo apt -y install piuparts

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

sudo aptitude install piuparts

Summary

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