The error message you received indicates that the extension you are trying to install, "addme", does not have an installation script or an update path defined for version "0.0.1". In order to resolve this error, you will need to provide the necessary installation scripts and update paths for your extension.
The following steps should resolve this error:
Create a directory for your extension:
You can create a directory for your extension in the PostgreSQL shared extension directory. The default location for this directory is /usr/share/postgresql/extension
on Linux systems. You can create a subdirectory in this location for your extension.
You will need to create an installation script for your extension that specifies how it should be installed. This script should be named addme--0.0.1.sql
(assuming that the version of your extension is 0.0.1) and should be placed in the directory you created in step 1. The installation script should contain SQL commands that create any necessary tables, functions, or other database objects that your extension requires.
Once you have created the installation script and any necessary update paths, you can register your extension with PostgreSQL by running the CREATE EXTENSION
command. For example, you can run the following command to create the "addme" extension:
CREATE EXTENSION addme;
This command should execute successfully now, since you have provided the necessary installation script and update paths for your extension.
Ref:
Package installation Docs