safelease command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
safelease: command not found
or when using sudo you get the following error message
sudo: safelease: command not found
Solutions to safelease: command not found
How To Fix safelease: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu safelease is provided by safelease package.
safelease is:
Safelease is a legacy cluster lock utility used by Vdsm. It is based on the algorithm presented in the article “Light-Weight Leases for Storage-Centric Coordination” by G Chockler and D Malkhi.
To fix this problem, we can install more using the command below.
sudo apt-get -y install safelease
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install safelease.
sudo apt -y install safelease
Or if you have aptitude installed you can use the following command.
sudo aptitude install safelease
Summary
In this tutorial we learn how to fix safelease command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.