Thread: Re: Problems installing postgis and postgresql-16-postgis-3

Re: Problems installing postgis and postgresql-16-postgis-3

From
Christoph Berg
Date:
Re: Pavel Konoplev
> The following packages have unmet dependencies:
>  postgresql-16-postgis-3 : Depends: libgdal26 (>= 2.4.0) but it is not
> installable

Hi,

libgdal26 is for focal.

Which Ubuntu release are you on? Are you using the right *-pgdg suite
in /etc/apt/sources.list.d/pgdg.sources?

Christoph



Re: Problems installing postgis and postgresql-16-postgis-3

From
Pavel Konoplev
Date:
I use:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

ahh, i haven't this file (etc/apt/sources.list.d/pgdg.sources)... what should be in this file?

пн, 23 сент. 2024 г. в 13:51, Christoph Berg <myon@debian.org>:
Re: Pavel Konoplev
> The following packages have unmet dependencies:
>  postgresql-16-postgis-3 : Depends: libgdal26 (>= 2.4.0) but it is not
> installable

Hi,

libgdal26 is for focal.

Which Ubuntu release are you on? Are you using the right *-pgdg suite
in /etc/apt/sources.list.d/pgdg.sources?

Christoph

Re: Problems installing postgis and postgresql-16-postgis-3

From
Christoph Berg
Date:
Re: Pavel Konoplev
> I use:
> Distributor ID: Ubuntu
> Description: Ubuntu 22.04.5 LTS
> Release: 22.04
> Codename: jammy
> 
> ahh, i haven't this file (etc/apt/sources.list.d/pgdg.sources)... what
> should be in this file?

You should have some file in /etc/apt/sources.list* which mentions
focal-pgdg. Update that to jammy-pgdg.

Christoph



Re: Problems installing postgis and postgresql-16-postgis-3

From
Pavel Konoplev
Date:
Thank you for helping me with the solution, but apparently I decided to update Ubuntu to version 24 and it helped me install postgis easily

пн, 23 сент. 2024 г. в 18:57, Christoph Berg <myon@debian.org>:
Re: Pavel Konoplev
> I use:
> Distributor ID: Ubuntu
> Description: Ubuntu 22.04.5 LTS
> Release: 22.04
> Codename: jammy
>
> ahh, i haven't this file (etc/apt/sources.list.d/pgdg.sources)... what
> should be in this file?

You should have some file in /etc/apt/sources.list* which mentions
focal-pgdg. Update that to jammy-pgdg.

Christoph