systray-mdstat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
systray-mdstat: command not found
or when using sudo you get the following error message
sudo: systray-mdstat: command not found
Solutions to systray-mdstat: command not found
How To Fix systray-mdstat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu systray-mdstat is provided by systray-mdstat package.
systray-mdstat is:
systray-mdstat is a system tray icon indicating the state of local Linux Software RAIDs (as set up with mdadm) by checking /proc/mdstat for changes — especially failures — periodically.
The use case for this utility is a desktop or laptop with a software RAID setup and no remote monitoring of the RAID (e.g. for privacy reasons or due to lacking a permanent network connection or an appropriate monitoring server).
To fix this problem, we can install more using the command below.
sudo apt-get -y install systray-mdstat
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install systray-mdstat.
sudo apt -y install systray-mdstat
Or if you have aptitude installed you can use the following command.
sudo aptitude install systray-mdstat
Summary
In this tutorial we learn how to fix systray-mdstat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.