listsources command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
listsources: command not found
or when using sudo you get the following error message
sudo: listsources: command not found
Solutions to listsources: command not found
How To Fix listsources: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu listsources is provided by xbuilder package.
xbuilder is:
This package contains scripts to run a batch-job of cross-builds, using various methods, on a list of source packages. It also has a simple cross-bootstraping helper (using build-profiles), and scripts for generating html tables summarising the results of a build run, and generating the packagelists to build.
It is not a proper buildd, or smart in any way, just really a collection of scripts wrtten for a particular task. Nevertheless they remain useful for this particular job.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xbuilder
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xbuilder.
sudo apt -y install xbuilder
Or if you have aptitude installed you can use the following command.
sudo aptitude install xbuilder
Summary
In this tutorial we learn how to fix listsources command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.