Re: BUG #13586: Repository/Distribution issues

From: Dmitry Shvedov <dmt(dot)shvedov(at)gmail(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13586: Repository/Distribution issues
Date: 2015-08-26 03:48:53
Message-ID: CAE5RxeK2o1XjxJwQadkfOjK-8B-17qcNX=YTD-rBpPN801YRXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Michael, thanks for your response.
You're right about the PATH. However, it's a fresh linux install and
postgres has not been installed here before. What happened was that the
installation from this repo:
deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
did not add the executable to the PATH automatically as any installation on
Debian derivatives always does. Perhaps there's a valid reason for this,
but it's not a behavior that I expected. If it makes sense maybe the
installation packages should be modified to do that? Thanks.

On Tue, Aug 25, 2015 at 8:39 PM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
wrote:

> On Wed, Aug 26, 2015 at 1:06 AM, <dmt(dot)shvedov(at)gmail(dot)com> wrote:
> > Operating system: Linux Mint
> > After installing all packages, cannot launch postgres:
> >
> > $ postgres -D /usr/local/pgsql/data
> > The program 'postgres' is currently not installed. You can install it by
> > typing:
> > sudo apt-get install postgres-xc
> > [...]
> > I assume I need postgres-xc, but that package is not in your repo, I only
> > have the one from Ubuntu - for older version of Postgres.
>
> No, Postgres-XC is a fork of Postgres. You don't need XC when
> attempting to use only Postgres.
>
> > Am I doing something wrong here?
>
> So, you are trying to use Postgres and not Postgres-XC here, right?
> Postgres-XC uses the same binary names as Postgres, so perhaps you
> have in your PATH some left garbage of an ancient Postgres-XC
> installation? In any case, this is not a PostgreSQL bug, this is
> either an issue with the packaging of the distribution you are using
> or your environment.
> --
> Michael
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Mu 2015-08-26 06:42:35 Issue when using ltree
Previous Message Gavin Flower 2015-08-26 02:00:13 Re: BUG #13589: content error