RLim
RLim

Reputation: 73

ubuntu `env: ‘pg_dump’: No such file or directory` error

The pg_dump environment variable or the file is missing from ubuntu 16.10. After running and installing sudo apt-get install postgresql-client (see what is the meaning of the pg_dump and pg_restore errors) the error still persists. What environment variable or packages do I have to install to resolve this error.

Upvotes: 3

Views: 4678

Answers (1)

RLim
RLim

Reputation: 73

This is how I resolved the issue. I checked for the version of pg_dump pg_dump --version. If pg_dump isn't installed, install using sudo apt-get install postgresql-client-common

Upvotes: 2

Related Questions