public inbox for [email protected]  
help / color / mirror / Atom feed
Problems installing postgis and postgresql-16-postgis-3
5+ messages / 2 participants
[nested] [flat]

* Problems installing postgis and postgresql-16-postgis-3
@ 2024-09-23 07:40  Pavel Konoplev <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Pavel Konoplev @ 2024-09-23 07:40 UTC (permalink / raw)
  To: pgsql-pkg-debian

I have certain problems installing postgis and postgresql-16-postgis-3:

$ sudo apt-get install postgresql-16-postgis-3
[sudo] password for user:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 postgresql-16-postgis-3 : Depends: libgdal26 (>= 2.4.0) but it is not
installable
                           Depends: libjson-c4 (>= 0.13.1) but it is not
installable
                           Depends: libproj15 (>= 6.1.0) but it is not
installable
E: Unable to correct problems, you have held broken packages.

When I search this package on Ubuntu packages:
[image: image.png]
[image: image.png]
so I don't have the option to install a lower version of gdal, but in this
case I need to have the 16th version of postgres.. What could I do?


Attachments:

  [image/png] image.png (90.2K, 3-image.png)
  download | view image

  [image/png] image.png (159.9K, 4-image.png)
  download | view image

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Problems installing postgis and postgresql-16-postgis-3
@ 2024-09-23 10:51  Christoph Berg <[email protected]>
  parent: Pavel Konoplev <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Christoph Berg @ 2024-09-23 10:51 UTC (permalink / raw)
  To: Pavel Konoplev <[email protected]>; +Cc: pgsql-pkg-debian

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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Problems installing postgis and postgresql-16-postgis-3
@ 2024-09-23 14:52  Pavel Konoplev <[email protected]>
  parent: Christoph Berg <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Pavel Konoplev @ 2024-09-23 14:52 UTC (permalink / raw)
  To: Christoph Berg <[email protected]>; Pavel Konoplev <[email protected]>; pgsql-pkg-debian

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 <[email protected]>:

> 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
>


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Problems installing postgis and postgresql-16-postgis-3
@ 2024-09-23 15:57  Christoph Berg <[email protected]>
  parent: Pavel Konoplev <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Christoph Berg @ 2024-09-23 15:57 UTC (permalink / raw)
  To: Pavel Konoplev <[email protected]>; +Cc: pgsql-pkg-debian

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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Problems installing postgis and postgresql-16-postgis-3
@ 2024-09-26 09:38  Pavel Konoplev <[email protected]>
  parent: Christoph Berg <[email protected]>
  0 siblings, 0 replies; 5+ messages in thread

From: Pavel Konoplev @ 2024-09-26 09:38 UTC (permalink / raw)
  To: Christoph Berg <[email protected]>; Pavel Konoplev <[email protected]>; pgsql-pkg-debian

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 <[email protected]>:

> 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
>


^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2024-09-26 09:38 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-23 07:40 Problems installing postgis and postgresql-16-postgis-3 Pavel Konoplev <[email protected]>
2024-09-23 10:51 ` Christoph Berg <[email protected]>
2024-09-23 14:52   ` Pavel Konoplev <[email protected]>
2024-09-23 15:57     ` Christoph Berg <[email protected]>
2024-09-26 09:38       ` Pavel Konoplev <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox