debconf-set command not found

In this troubleshooting guide we learn how to fix debconf-set command not found error message

Introduction

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

debconf-set: command not found

or when using sudo you get the following error message

sudo: debconf-set: command not found

Solutions to debconf-set: command not found

How To Fix debconf-set: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu debconf-set is provided by ubiquity package.

ubiquity is:

This is a simple live CD installer designed to integrate well with Debian- and Ubuntu-based systems, and to reuse code from d-i for ease of maintenance.

Installing this package on a normal system is unlikely to be useful.

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

sudo apt-get -y install ubiquity

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

You can also use apt command to install ubiquity.

sudo apt -y install ubiquity

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

sudo aptitude install ubiquity

Summary

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