sqlobject-convertOldURI command not found

In this troubleshooting guide we learn how to fix sqlobject-convertOldURI command not found error message

Introduction

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

sqlobject-convertOldURI: command not found

or when using sudo you get the following error message

sudo: sqlobject-convertOldURI: command not found

Solutions to sqlobject-convertOldURI: command not found

How To Fix sqlobject-convertOldURI: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sqlobject-convertOldURI is provided by sqlobject-admin package.

sqlobject-admin is:

SQLObject is an object-relational mapper. It allows you to translate RDBMS table rows into Python objects, and manipulate those objects to transparently manipulate the database.

In using SQLObject, you will create a class definition that will describe how the object connects to the database (in addition to any other methods you may wish to add to the class). SQLObject will produce the code to access the database, and update the database with your changes. The interface to the database is meant to be indistinguishable from other interfaces you may add to the object.

SQLObject also includes a novel feature to generate WHERE clauses using Python syntax and objects (instead of generating SQL using string substitution, as is traditional).

This package includes the sqlobject-admin and sqlobject-convertOldURI helper applications for use with SQLObject.

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

sudo apt-get -y install sqlobject-admin

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

You can also use apt command to install sqlobject-admin.

sudo apt -y install sqlobject-admin

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

sudo aptitude install sqlobject-admin

Summary

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