uclean command not found

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

Introduction

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

uclean: command not found

or when using sudo you get the following error message

sudo: uclean: command not found

Solutions to uclean: command not found

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

In Ubuntu uclean is provided by svn-buildpackage package.

svn-buildpackage is:

svn-buildpackage (formerly svn-devscripts) contains tools that help to automate the task of maintaining Debian packages inside of a Subversion repository. They are intended to be used by Debian maintainers to simplify the error-prone actions with the svn, devscripts, and dpkg-dev utilities.

  • svn-inject: creates the initial directory structure of a Debian-SVN repository and imports existing packages
  • svn-upgrade: imports upstream changes into the upstream branch and updates the Debian trunk directory, merging and tagging as needed
  • svn-buildpackage: wrapper around dpkg-buildpackage (or other builders), exporting/merging/tagging source as needed
  • svn-do: exports a source, runs a command inside the exported source and, if the command succeeds, copies back the debian/ tree
  • uclean: removes redundant files from upstream source packages

The package also includes a detailed HOWTO document.

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

sudo apt-get -y install svn-buildpackage

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

You can also use apt command to install svn-buildpackage.

sudo apt -y install svn-buildpackage

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

sudo aptitude install svn-buildpackage

Summary

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