greenbone-scapdata-sync command not found

In this troubleshooting guide we learn how to fix greenbone-scapdata-sync command not found error message

Introduction

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

greenbone-scapdata-sync: command not found

or when using sudo you get the following error message

sudo: greenbone-scapdata-sync: command not found

Solutions to greenbone-scapdata-sync: command not found

How To Fix greenbone-scapdata-sync: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu greenbone-scapdata-sync is provided by gvmd package.

gvmd is:

The Greenbone Vulnerability Manager is the central management service between security scanners and the user clients.

It manages the storage of any vulnerability management configurations and of the scan results. Access to data, control commands and workflows is offered via the XML-based Greenbone Management Protocol (GMP). The primary scanner, openVAS Scanner is controlled directly via protocol OTP while any other remote scanner is coupled with the Open Scanner Protocol (OSP).

This package contains the gvmd files architecture dependent.

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

sudo apt-get -y install gvmd

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

You can also use apt command to install gvmd.

sudo apt -y install gvmd

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

sudo aptitude install gvmd

Summary

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