Thread: Install issue on Kubuntu

Install issue on Kubuntu

From
P G
Date:
Hello,

I am hoping this is the right place.

I have recently switched to Kubuntu and I just installed Postgres on it.  The installation was successful.

When I try psql, I get this error message, though:

% psql postgres
Error: You must install at least one postgresql-client-<version> package.

But I have installed postgresql-client-common and re-installs do not seem to help.

Any suggestions?

Thanks in advance!



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.

Re: Install issue on Kubuntu

From
Leonel Nunez
Date:
P G wrote:
> Hello,
>
> I am hoping this is the right place.
>
> I have recently switched to Kubuntu and I just installed Postgres on
> it.  The installation was successful.
>
> When I try psql, I get this error message, though:
>
> % psql postgres
> Error: You must install at least one postgresql-client-<version> package.
>
> But I have installed postgresql-client-common and re-installs do not
> seem to help.
>
> Any suggestions?
>
> Thanks in advance!
>
>
> ------------------------------------------------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
> rates starting at 1¢/min.
> <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com>


Ubuntu has  postgresql  8.0 and  7.4

you need to install

postgresql-client-8.0  or   postgresql-client-7.4


Leonel


Re: Install issue on Kubuntu

From
Douglas McNaught
Date:
P G <pgress5@yahoo.com> writes:

> Hello,
>
> I am hoping this is the right place.
>
> I have recently switched to Kubuntu and I just installed Postgres on it.  The
> installation was successful.
>
> When I try psql, I get this error message, though:
>
> % psql postgres
> Error: You must install at least one postgresql-client-<version> package.
>
> But I have installed postgresql-client-common and re-installs do not seem to
> help.

This is an Ubuntu problem and should be addressed on their forums.

-Doug

Re: Install issue on Kubuntu

From
Martijn van Oosterhout
Date:
On Mon, Apr 24, 2006 at 08:52:14AM -0700, P G wrote:
> I have recently switched to Kubuntu and I just installed Postgres on it.  The installation was successful.
>
> When I try psql, I get this error message, though:
>
> % psql postgres
> Error: You must install at least one postgresql-client-<version> package.
>
> But I have installed postgresql-client-common and re-installs do not seem to help.

"common" is not a version, I presume. Perhaps you should be looking for
a package like postgresql-client-8.1.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

Re: Install issue on Kubuntu

From
Stuart Bishop
Date:
P G wrote:

> I have recently switched to Kubuntu and I just installed Postgres on
> it.  The installation was successful.
>
> When I try psql, I get this error message, though:
>
> % psql postgres
> Error: You must install at least one postgresql-client-<version> package.
>
> But I have installed postgresql-client-common and re-installs do not
> seem to help.
>
> Any suggestions?

Does /etc/postgresql-common/user_clusters exist? If not, you have struck a
known bug in the Ubuntu packaging that I was told has since been fixed. An
update should fix things (sudo apt-get update; sudo apt-get dist-upgrade).
Or 'sudo /etc/postgresql-common/user_clusters' will get you going.

If this doesn't help, you can open a support request at
https://launchpad.net/distros/ubuntu/+source/postgresql-8.1/+tickets

Or, if you think you know what is going wrong, a bug report at
https://launchpad.net/distros/ubuntu/+source/postgresql-8.1/+bugs might be
more appropriate.

--
Stuart Bishop <stuart.bishop@canonical.com>   http://www.canonical.com/
Canonical Ltd.                                http://www.ubuntu.com/


Attachment