cnid_dbd command not found

In this troubleshooting guide we learn how to fix cnid_dbd command not found error message

Introduction

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

cnid_dbd: command not found

or when using sudo you get the following error message

sudo: cnid_dbd: command not found

Solutions to cnid_dbd: command not found

How To Fix cnid_dbd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cnid_dbd is provided by netatalk package.

netatalk is:

Netatalk is an implementation of the Apple Filing Protocol (AFP), for offering file service (mainly) to macOS clients.

Compared to the Windows-native SMB protocol (which is also supported on macOS), the Macintosh-native AFP protocol is accessible from a different network, can be simpler to setup and faster for some operations (e.g. server-to-server copying), and some features (e.g. the backup service Time Machine) may work more reliably than over SMB.

This package contains all daemon and utility programs as well as Netatalk’s libraries.

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

sudo apt-get -y install netatalk

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

You can also use apt command to install netatalk.

sudo apt -y install netatalk

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

sudo aptitude install netatalk

Summary

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