sbuild-launchpad-chroot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sbuild-launchpad-chroot: command not found
or when using sudo you get the following error message
sudo: sbuild-launchpad-chroot: command not found
Solutions to sbuild-launchpad-chroot: command not found
How To Fix sbuild-launchpad-chroot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sbuild-launchpad-chroot is provided by sbuild-launchpad-chroot package.
sbuild-launchpad-chroot is:
This includes two sbuild hooks and a command line tool to setup and maintain build chroots that are as close as possible to a standard Launchpad sbuild chroot.
The sbuild-launchpad-chroot command can be used to setup, update and destroy those chroots. A schroot hook will also automatically update them should an update be available at the start of a build.
Those chroots also come with a series of useful aliases allowing the user to easily choose which pockets and components should be available for the build.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sbuild-launchpad-chroot
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sbuild-launchpad-chroot.
sudo apt -y install sbuild-launchpad-chroot
Or if you have aptitude installed you can use the following command.
sudo aptitude install sbuild-launchpad-chroot
Summary
In this tutorial we learn how to fix sbuild-launchpad-chroot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.