apt-forktracer command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apt-forktracer: command not found
or when using sudo you get the following error message
sudo: apt-forktracer: command not found
Solutions to apt-forktracer: command not found
How To Fix apt-forktracer: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apt-forktracer is provided by apt-forktracer package.
apt-forktracer is:
apt-forktracer tries to alleviate the problem that APT stops tracking official versions of a package after you pin it or install a newer version.
apt-forktracer displays a list of packages which are in an inconsistent state, or whose installed version is different than the newest official one. You can choose to ignore certain packages - if they match certain criteria - using a configuration file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apt-forktracer
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apt-forktracer.
sudo apt -y install apt-forktracer
Or if you have aptitude installed you can use the following command.
sudo aptitude install apt-forktracer
Summary
In this tutorial we learn how to fix apt-forktracer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.