msgcleanup command not found

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

Introduction

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

msgcleanup: command not found

or when using sudo you get the following error message

sudo: msgcleanup: command not found

Solutions to msgcleanup: command not found

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

In Ubuntu msgcleanup is provided by ax25mail-utils package.

ax25mail-utils is:

This package provides utilities to download a message list or messages from a fbb AX.25 bbs:

  • axgetlist - read the message list from the BBS
  • axgetmail - automatically download messages from the F6FBB BBS
  • axgetmsg - download selected messages from F6FBB BBS
  • home_bbs - find home BBS or force a home BBS for the callsign
  • msgcleanup - delete the messages with their lifetime exceeded
  • ulistd - collect FBB BBS messages list sent via unproto frames
  • update_routes - update the database of BBS and callsigns

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

sudo apt-get -y install ax25mail-utils

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

You can also use apt command to install ax25mail-utils.

sudo apt -y install ax25mail-utils

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

sudo aptitude install ax25mail-utils

Summary

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