tsspolicyrestart command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tsspolicyrestart: command not found
or when using sudo you get the following error message
sudo: tsspolicyrestart: command not found
Solutions to tsspolicyrestart: command not found
How To Fix tsspolicyrestart: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tsspolicyrestart is provided by tss2 package.
tss2 is:
TSS2 is a user space Trusted Computing Group’s Software Stack (TSS) for TPM 2.0. It implements the functionality equivalent to the TCG TSS working group’s ESAPI, SAPI, and TCTI layers (and perhaps more) but with a hopefully far simpler interface.
It comes with about 80 “TPM tools” that can be used for rapid prototyping, education and debugging.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tss2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tss2.
sudo apt -y install tss2
Or if you have aptitude installed you can use the following command.
sudo aptitude install tss2
Summary
In this tutorial we learn how to fix tsspolicyrestart command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.