apt-listchanges command not found

In this troubleshooting guide we learn how to fix apt-listchanges command not found error message

Introduction

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

apt-listchanges: command not found

or when using sudo you get the following error message

sudo: apt-listchanges: command not found

Solutions to apt-listchanges: command not found

How To Fix apt-listchanges: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu apt-listchanges is provided by apt-listchanges package.

apt-listchanges is:

The tool apt-listchanges can compare a new version of a package with the one currently installed and show what has been changed, by extracting the relevant entries from the Debian changelog and NEWS files.

It can be run on several .deb archives at a time to get a list of all changes that would be caused by installing or upgrading a group of packages. When configured as an APT plugin it will do this automatically during upgrades.

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

sudo apt-get -y install apt-listchanges

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

You can also use apt command to install apt-listchanges.

sudo apt -y install apt-listchanges

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

sudo aptitude install apt-listchanges

Summary

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