buildd-update-chroots command not found

In this troubleshooting guide we learn how to fix buildd-update-chroots command not found error message

Introduction

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

buildd-update-chroots: command not found

or when using sudo you get the following error message

sudo: buildd-update-chroots: command not found

Solutions to buildd-update-chroots: command not found

How To Fix buildd-update-chroots: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu buildd-update-chroots is provided by buildd package.

buildd is:

The sbuild suite of programs (buildd and sbuild) are used to build binary packages from source packages. The wanna-build database tracks packages which require building; buildd schedules work from information it gets from the wanna-build database; sbuild does the actual package building.

buildd is a daemon which will build Debian packages automatically using the wanna-build database to identify which packages need to be built. Note that the wanna-build database is not packaged, and requires installing separately.

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

sudo apt-get -y install buildd

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

You can also use apt command to install buildd.

sudo apt -y install buildd

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

sudo aptitude install buildd

Summary

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