debsecan-create-cron command not found

In this troubleshooting guide we learn how to fix debsecan-create-cron command not found error message

Introduction

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

debsecan-create-cron: command not found

or when using sudo you get the following error message

sudo: debsecan-create-cron: command not found

Solutions to debsecan-create-cron: command not found

How To Fix debsecan-create-cron: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu debsecan-create-cron is provided by debsecan package.

debsecan is:

debsecan is a tool to generate a list of vulnerabilities which affect a particular Debian installation. debsecan runs on the host which is to be checked, and downloads vulnerability information over the Internet. It can send mail to interested parties when new vulnerabilities are discovered or when security updates become available.

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

sudo apt-get -y install debsecan

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

You can also use apt command to install debsecan.

sudo apt -y install debsecan

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

sudo aptitude install debsecan

Summary

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