deb-scrub-obsolete command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
deb-scrub-obsolete: command not found
or when using sudo you get the following error message
sudo: deb-scrub-obsolete: command not found
Solutions to deb-scrub-obsolete: command not found
How To Fix deb-scrub-obsolete: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu deb-scrub-obsolete is provided by lintian-brush package.
lintian-brush is:
This package contains a set of scripts that can automatically fix more than 140 common lintian issues in Debian packages.
It comes with a wrapper script that invokes the scripts, updates the changelog (if desired) and commits each change to version control.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lintian-brush
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lintian-brush.
sudo apt -y install lintian-brush
Or if you have aptitude installed you can use the following command.
sudo aptitude install lintian-brush
Summary
In this tutorial we learn how to fix deb-scrub-obsolete command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.