python3-merge_metadata command not found

In this troubleshooting guide we learn how to fix python3-merge_metadata command not found error message

Introduction

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

python3-merge_metadata: command not found

or when using sudo you get the following error message

sudo: python3-merge_metadata: command not found

Solutions to python3-merge_metadata: command not found

How To Fix python3-merge_metadata: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu python3-merge_metadata is provided by python3-pysaml2 package.

python3-pysaml2 is:

This package provides a Python implementation of SAML Version 2 to be used in a WSGI environment.

From wikipedia: Security Assertion Markup Language 2.0 (SAML 2.0) is a version of the SAML standard for exchanging authentication and authorization data between security domains. SAML 2.0 is an XML-based protocol that uses security tokens containing assertions to pass information about a principal (usually an end user) between a SAML authority, that is, an identity provider, and a SAML consumer, that is, a service provider. SAML 2.0 enables web-based authentication and authorization scenarios including cross-domain single sign-on (SSO), which helps reduce the administrative overhead of distributing multiple authentication tokens to the user.

This package contains the Python 3.x module.

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

sudo apt-get -y install python3-pysaml2

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

You can also use apt command to install python3-pysaml2.

sudo apt -y install python3-pysaml2

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

sudo aptitude install python3-pysaml2

Summary

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