Просто установите Postgresql на Ubuntu 18.04 и с ошибкой клиента PostgreSQL
Warning: No existing local cluster is suitable as a default target.
Please see man pg_wrapper(1) how to specify one.
Error: You must install at least one postgresql-client-<version> package
Я перепробовал все решения, которые есть на StackOverflow и других форумах, но не удалось устранить ошибку
Ниже приведены решения, которые я попробовал
1. psql --cluster 10/apps [other arguments]
when I try the first solution it give me the error
Error: Invalid version 10 specified with --cluster
2. psql -p 5432
3. sudo apt-get install postgresql-client-10
when try the third solution it shows the following
postgresql-client-10 is already the newest version (10.5-0ubuntu0.18.04).
4. gedit ~/.bashrc
PATH=/usr/local/pgsql/bin:$PATH
export PATH
Может кто-нибудь сказать, какое точное решение для устранения ошибки.