bdii-update command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bdii-update: command not found
or when using sudo you get the following error message
sudo: bdii-update: command not found
Solutions to bdii-update: command not found
How To Fix bdii-update: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bdii-update is provided by bdii package.
bdii is:
The Berkeley Database Information Index (BDII) consists of a standard LDAP database which is updated by an external process. The update process obtains LDIF from a number of sources and merges them. It then compares this to the contents of the database and creates an LDIF file of the differences. This is then used to update the database.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bdii
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bdii.
sudo apt -y install bdii
Or if you have aptitude installed you can use the following command.
sudo aptitude install bdii
Summary
In this tutorial we learn how to fix bdii-update command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.