trytond_import_postal_codes command not found

In this troubleshooting guide we learn how to fix trytond_import_postal_codes command not found error message

Introduction

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

trytond_import_postal_codes: command not found

or when using sudo you get the following error message

sudo: trytond_import_postal_codes: command not found

Solutions to trytond_import_postal_codes: command not found

How To Fix trytond_import_postal_codes: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu trytond_import_postal_codes is provided by tryton-modules-country package.

tryton-modules-country is:

Tryton is a high-level general purpose application platform. It is the base of a complete business solution as well as a comprehensive health and hospital information system (GNUHealth).

This module defines all countries and subdivisions.

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

sudo apt-get -y install tryton-modules-country

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

You can also use apt command to install tryton-modules-country.

sudo apt -y install tryton-modules-country

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

sudo aptitude install tryton-modules-country

Summary

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