Re: postgresql-17 on debian bookworm - directories missing

From: Hu Bert <revirii(at)googlemail(dot)com>
To: rob stone <floriparob(at)tpg(dot)com(dot)au>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: postgresql-17 on debian bookworm - directories missing
Date: 2025-11-20 12:37:59
Message-ID: CAAV-989Dn50WdkBQ__AGed+gDkvoUR2LdjW-uM-Eqnf0y=D6Fw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Rob,

yes, this directory exists with all the files, but the rest doesn't -
so one has to create the other directories and the cluster manually?
"Long time ago" this happened when installing the packages - must've
changed at some point :-)

Thx,
Hubert

Am Do., 20. Nov. 2025 um 13:26 Uhr schrieb rob stone <floriparob(at)tpg(dot)com(dot)au>:
>
> On Thu, 2025-11-20 at 12:35 +0100, Hu Bert wrote:
> > Hi there,
> > i have a debian bookworm with postgresql-16 installed, from
> > postgresql
> > repository. I wanted to install postgresql-17 and then do a an
> > inplace
> > upgrade via pg_upgrade.
> >
> > Install: apt install postgresql-17 postgresql-17-postgis-3
> > postgresql-17-postgis-3-scripts postgresql-client-17
> >
> > But after the installation there's no v17 cluster:
> >
> > pg_lsclusters
> > Ver Cluster Port Status Owner Data directory Log file
> > 16 main 5432 online postgres /var/lib/postgresql/16/main
> > /var/log/postgresql/postgresql-16-main.log
> >
> > and these directories are missing:
> > /etc/postgresql/17/
> > /var/lib/postgresql/17/
> >
> > Same happens when i try to install postgresql-18.
> >
> > Am i doing smth wrong? Did i miss anything?
> >
> >
> > Thx,
> > Hubert
> >
>
>
> The binaries are at /usr/lib/postgresql/17 where the number 17
> indicates the major version.
>
> HTH
> Rob

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Álvaro Herrera 2025-11-20 12:46:52 Re: postgresql-17 on debian bookworm - directories missing
Previous Message rob stone 2025-11-20 12:26:29 Re: postgresql-17 on debian bookworm - directories missing