How To Install apt-listbugs on Debian 9
Introduction
In this tutorial we learn how to install apt-listbugs on Debian 9.
What is apt-listbugs
apt-listbugs is:
apt-listbugs is a tool which retrieves bug reports from the Debian Bug Tracking System and lists them. Especially, it is intended to be invoked before each installation/upgrade by APT in order to check whether the installation/upgrade is safe.
Many developers and users prefer the unstable version of Debian for its new features and packages. APT, the usual upgrade tool, can break your system by installing a buggy package.
apt-listbugs lists critical bug reports from the Debian Bug Tracking System. Run it from within the APT session, in order to see whether an installation or upgrade is known to be unsafe.
There are three methods to install apt-listbugs on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install apt-listbugs Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install apt-listbugs using apt-get by running the following command:
sudo apt-get -y install apt-listbugs
Install apt-listbugs Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install apt-listbugs using apt by running the following command:
sudo apt -y install apt-listbugs
Install apt-listbugs Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install apt-listbugs using aptitude by running the following command:
sudo aptitude -y install apt-listbugs
How To Uninstall apt-listbugs on Debian 9
To uninstall only the apt-listbugs package we can use the following command:
sudo apt-get remove apt-listbugs
Uninstall apt-listbugs And Its Dependencies
To uninstall apt-listbugs and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove apt-listbugs
Remove apt-listbugs Configurations and Data
To remove apt-listbugs configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge apt-listbugs
Remove apt-listbugs configuration, data, and all of its dependencies
We can use the following command to remove apt-listbugs configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge apt-listbugs
Dependencies
apt-listbugs have the following dependencies:
References
Summary
In this tutorial we learn how to install apt-listbugs package on Debian 9 using different package management tools: apt, apt-get and aptitude.