public inbox for [email protected]  
help / color / mirror / Atom feed
From: Hanefi Onaldi <[email protected]>
To: [email protected] <[email protected]>
Subject: Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17
Date: Mon, 23 Jun 2025 10:38:32 +0000
Message-ID: <PA4PR83MB0494D06C13D25656AD70E2C2E379A@PA4PR83MB0494.EURPRD83.prod.outlook.com> (raw)

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


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Missing dependencies on ubuntu 24.04 for libpq-dev and postgresql-server-dev-17
  In-Reply-To: <PA4PR83MB0494D06C13D25656AD70E2C2E379A@PA4PR83MB0494.EURPRD83.prod.outlook.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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