pki-server-upgrade command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pki-server-upgrade: command not found
or when using sudo you get the following error message
sudo: pki-server-upgrade: command not found
Solutions to pki-server-upgrade: command not found
How To Fix pki-server-upgrade: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pki-server-upgrade is provided by pki-server package.
pki-server is:
The PKI Server Framework is required by the following four PKI subsystems:
the Certificate Authority (CA),
the Data Recovery Manager (DRM),
the Online Certificate Status Protocol (OCSP) Manager, and
the Token Key Service (TKS).
This package is a part of the PKI Core used by the Certificate System. The package contains scripts to create and remove PKI subsystems.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pki-server
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pki-server.
sudo apt -y install pki-server
Or if you have aptitude installed you can use the following command.
sudo aptitude install pki-server
Summary
In this tutorial we learn how to fix pki-server-upgrade command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.