apt-show-versions command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apt-show-versions: command not found
or when using sudo you get the following error message
sudo: apt-show-versions: command not found
Solutions to apt-show-versions: command not found
How To Fix apt-show-versions: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apt-show-versions is provided by apt-show-versions package.
apt-show-versions is:
apt-show-versions parses the dpkg status file and the APT lists for the installed and available package versions and distribution and shows upgrade options within the specific distribution of the selected package.
This is really useful if you have a mixed stable/testing environment and want to list all packages which are from testing and can be upgraded in testing.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apt-show-versions
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apt-show-versions.
sudo apt -y install apt-show-versions
Or if you have aptitude installed you can use the following command.
sudo aptitude install apt-show-versions
Summary
In this tutorial we learn how to fix apt-show-versions command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.