public inbox for [email protected]  
help / color / mirror / Atom feed
Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17
3+ messages / 2 participants
[nested] [flat]

* Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17
@ 2025-06-23 10:38 Hanefi Onaldi <[email protected]>
  2025-06-23 10:50 ` Re: Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17 Christoph Berg <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Hanefi Onaldi @ 2025-06-23 10:38 UTC (permalink / raw)
  To: [email protected] <[email protected]>

Hi,

I wanted to create a development environment on Ubuntu 22.04 using several packages from pgdg repositories. I want to share the error messages with you here in the hopes that this is correct venue.

Postgresql-server-dev-17 depends on libpq-dev and libpq-dev has two broken dependencies:
- libldap only has versions 2.6.X on Ubuntu 24.04 and is not compatible with libldap-2.4-2 dependency requirement.
- libssl1.1 is not available on Ubuntu 24.04. A quick search shows that it is not available in any Ubuntu version, and Debian 11 is the only Debian version that has that package available in official packaging repositories.


sh$ sudo apt install libpq-dev=17.5-1.pgdg110+1
...
The following packages have unmet dependencies:
 libpq5 : Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
          Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

Thanks for the help,
Hanefi


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

* Re: Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17
  2025-06-23 10:38 Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17 Hanefi Onaldi <[email protected]>
@ 2025-06-23 10:50 ` Christoph Berg <[email protected]>
  2025-06-23 12:24   ` Re: [EXTERNAL] Re: Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17 Hanefi Onaldi <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Christoph Berg @ 2025-06-23 10:50 UTC (permalink / raw)
  To: Hanefi Onaldi <[email protected]>; +Cc: [email protected] <[email protected]>

Re: Hanefi Onaldi
> I wanted to create a development environment on Ubuntu 22.04 using several packages from pgdg repositories. I want to share the error messages with you here in the hopes that this is correct venue.

> sh$ sudo apt install libpq-dev=17.5-1.pgdg110+1

You can't install packages for bullseye (pgdg110) on Ubuntu 22.04
(jammy). Please use the correct repository.

Christoph





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

* Re: [EXTERNAL] Re: Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17
  2025-06-23 10:38 Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17 Hanefi Onaldi <[email protected]>
  2025-06-23 10:50 ` Re: Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17 Christoph Berg <[email protected]>
@ 2025-06-23 12:24   ` Hanefi Onaldi <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Hanefi Onaldi @ 2025-06-23 12:24 UTC (permalink / raw)
  To: Christoph Berg <[email protected]>; +Cc: [email protected] <[email protected]>

Thanks Christoph,

You are right. It was my mistake.

I updated my repo installation scripts with the latest steps from documentation, and I can install everything now.

For reference: https://www.postgresql.org/download/linux/ubuntu/

Best,
Hanefi
________________________________
From: Christoph Berg <[email protected]>
Sent: Monday, June 23, 2025 1:50 PM
To: Hanefi Onaldi <[email protected]>
Cc: [email protected] <[email protected]>
Subject: [EXTERNAL] Re: Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17

Re: Hanefi Onaldi
> I wanted to create a development environment on Ubuntu 22.04 using several packages from pgdg repositories. I want to share the error messages with you here in the hopes that this is correct venue.

> sh$ sudo apt install libpq-dev=17.5-1.pgdg110+1

You can't install packages for bullseye (pgdg110) on Ubuntu 22.04
(jammy). Please use the correct repository.

Christoph


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


end of thread, other threads:[~2025-06-23 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-06-23 10:38 Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17 Hanefi Onaldi <[email protected]>
2025-06-23 10:50 ` Christoph Berg <[email protected]>
2025-06-23 12:24   ` Hanefi Onaldi <[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