Error: You Must Install at Least One Postgresql-Client-<Version> Package

Must install at least one postgresql-client-version package

EDIT:
begin by restarting postgresql server and see if that helps.

Run "netstat -tnlp" you should see a row that contains ":5432" like this:

tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      -   

If you you don't see 5432, but instead 5433 or 5434 it means postgres is not running on the default port. In that case edit

/etc/postgresql/11/main/postgresql.conf

and change "port = 5434" or whatever it is to "port = 5432", then restart postgresql server.

If that doesn't work, try downgrading to postgresql 10 and see if that works

Errors trying to install PostgreSQL on Debian 11

The problem is related to the existence of the previously installed snoopy package.

Uninstall snoopy with sudo apt remove snoopy and, after that install PostgreSQL or postgresql-client-13.

How to specify Postgresql client version to prevent server version mismatch?

Should have been more careful because, I was getting a mismatch error for 10.11. However, I wasn't using that version. pg_lsclusters only returns the 11 & 12.

Turns out, a couple of years ago, I have exported postgresql@10 to my PATH. It was causing, pg_wrapper to keep using 10.11 because, I had installed postgresql@10 even though no cluster was created.

I have uninstalled postgresql@10 and updated my .zshrc. Now, all works fine.

No existing local cluster is suitable error using pg_dump in docker

postgresql-client-common is a Ubuntu-specific package of scripts that allows users to work with multiple versions of Postgres (or multiple database clusters). It provies several scripts and symlinks that essentially override the functions of "real" postgres utilities (like pg_dump):

root@foo:/usr/bin# ls -al | grep pg_dump
lrwxrwxrwx 1 root root 37 Feb 8 2018 pg_dump -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root root 37 Feb 8 2018 pg_dumpall -> ../share/postgresql-common/pg_wrapper

You may need to also install postgresql-client-10 to make pg_dump work.

Note also that you have only installed the client tools. If you need to get a fully-functional PostgreSQL database up and running, I believe you will also need to install the postgresql-10 package

no usable version of libssl was found with .NET 5 on Heroku-22 stack

Ubuntu 22.04 (Focal) - what the Heroku-22 stack is based off - upgraded to OpenSSL 3.0 which is not supported by .net 5. You will need to either upgrade .net to some 7.x version (it appears based on GitHub issue details) or install OpenSSL 1.x.y in your stack so its present for your .net program to find it.



Related Topics



Leave a reply



Submit