openqa-dump-templates command not found

In this troubleshooting guide we learn how to fix openqa-dump-templates command not found error message

Introduction

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

openqa-dump-templates: command not found

or when using sudo you get the following error message

sudo: openqa-dump-templates: command not found

Solutions to openqa-dump-templates: command not found

How To Fix openqa-dump-templates: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu openqa-dump-templates is provided by openqa-client package.

openqa-client is:

This package includes scripts such as ‘openqa-cli’ and ‘openqa-clone-job’ to provide easy control of openQA servers, via the REST API, as well as commands useful when administering an OpenQA server.

openQA is a testing framework that allows you to run tests on pretty-much anything that you can ‘remotely’ control. For instance, a VM that can be accessed via VNC.

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

sudo apt-get -y install openqa-client

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

You can also use apt command to install openqa-client.

sudo apt -y install openqa-client

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

sudo aptitude install openqa-client

Summary

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