Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lobd1-0000JB-49 for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 03 Jun 2021 00:54:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lobcx-0007RG-0e for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 03 Jun 2021 00:54:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lobcw-0007R8-Gq for pgsql-pkg-debian@lists.postgresql.org; Thu, 03 Jun 2021 00:54:26 +0000 Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lobcs-0005ZR-3E for pgsql-pkg-debian@lists.postgresql.org; Thu, 03 Jun 2021 00:54:24 +0000 Received: by mail-io1-xd30.google.com with SMTP id z24so4580374ioi.3 for ; Wed, 02 Jun 2021 17:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pavely.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/Cy+UmAF3K1jNpribVL87XQmNzPGoM9ERJa2ALU/8uY=; b=HwQpdvidq4f+nK077Ulq4/Ls5cfLgD7aghD/ZOAEzn/qvSR9oh+LFMukIuLulXHcCw LnhDWcXfH+/rdhLqrg/tQMdkidqepCyfgANLSYIIvUaPHSgnlXhjmpo3NFb4ixuvUm9u Dql9MMfKKcqxipl35d4XDCcxfzRerI2fY/eiQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/Cy+UmAF3K1jNpribVL87XQmNzPGoM9ERJa2ALU/8uY=; b=Qq+jOgBewPpRyPVcbuWGX6Sbbb+GbLZ2armAC7Es/pytydvxGNwggz0Z0V4+tUsHiR +E6KM32aCIAzz58PgBUzge5Cep+N6abSvXzOgvY8u6i0GohhXMLrSBo9RZfEHjZpQrBN D/7gFmWtZdlVKclst67ehc2jhr0a2XD14fD/D8ftUfky/9G/O5DdCpTPXWTSJL5VGTE0 dTRVsjA0t7jBWYjscc+GDajrRqV06eSuZ/sMp0/WhVZZLZrW7phnLo/lsP50FP2vOqLi y5hCEQgYwtxoM9zm4xmKl4p3cewfPuAp2nF/ZgXhJ+xlfw8MhPB51tL8hBdxGSer9e5t EW2w== X-Gm-Message-State: AOAM530CLTUSK0QZ7s3d9WWD31RvMCFSxaITbOuY+ziPUP/nZVBNYEyc dwHiAh9cz4gjC0JdIIZK/Y88pHpBN5IyKfonGaaZlg== X-Google-Smtp-Source: ABdhPJyXOYq4PcS+eRw89xLS7ewsdhQM+WU14Fj8lkmc6MMERV9x/+KHoNKuk7VSD9O1BRXYBiPHH9gyEfU1ChIBIPY= X-Received: by 2002:a05:6638:3445:: with SMTP id q5mr33210491jav.120.1622681659094; Wed, 02 Jun 2021 17:54:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Aaron Pavely Date: Wed, 2 Jun 2021 19:54:08 -0500 Message-ID: Subject: Re: Postgres 13 package on Debian 10 has unmet dependencies To: Fernando Hevia Cc: pgsql-pkg-debian@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000dfcc7705c3d203f4" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000dfcc7705c3d203f4 Content-Type: text/plain; charset="UTF-8" On Wed, Jun 2, 2021 at 6:47 PM Fernando Hevia wrote: > Hi list. > > As the subject states, I am facing an unmet dependency issue with libpq5 > while installing Postgres 13 on Debian 10.9. (BTW, same thing happens with > PG 12). > > I am using postgresql repository: > > *# cat /etc/apt/sources.list.d/pgdg.list * > deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main > > *# apt install postgresql-13 postgresql-client-13* > Reading package lists... Done > Building dependency tree > 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-client-13 : Depends: libpq5 (>= 13.3) but 11.12-0+deb10u1 is > to be installed > E: Unable to correct problems, you have held broken packages. > > When looking for libpq5 available versions only v11.12 is listed. > > *# apt search libpq5* > Sorting... Done > Full Text Search... Done > libpq-dev/stable 11.12-0+deb10u1 amd64 > header files for libpq5 (PostgreSQL library) > > libpq5/stable 11.12-0+deb10u1 amd64 > PostgreSQL C client library > > libpq5-dbgsym/buster-pgdg 13.3-1.pgdg100+1 amd64 > debug symbols for libpq5 > > I could get around this by manually installing the correct libpq5 version, > but I still wanted to share this issue with the list. Could it be a > packaging error? > > Thanks, > Fernando. > Looks like there's a cross-over between Debian's own repository and the PGDG repository. I suspect there's differing weights between the priorities for each. What's the result of `apt-cache policy libpq5`? Aaron --000000000000dfcc7705c3d203f4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jun 2, 2021 at 6:47 PM Fernando Hevia <fhevia@gmail.com> wrote:
Hi list.

<= div>As the subject states, I am facing an unmet dependency issue with libpq= 5 while installing Postgres 13 on Debian 10.9. (BTW, same thing happens wit= h PG 12).

I am using postgresql repository:
<= div>
# cat /etc/apt/sources.list.d/pgdg.list
deb <= a href=3D"http://apt.postgresql.org/pub/repos/apt" target=3D"_blank">http:/= /apt.postgresql.org/pub/repos/apt buster-pgdg main=C2=A0
=
# apt install=C2=A0postgresql-13=C2=A0postgresql-client-1= 3
Reading package lists... Done
Building dependency tree = =C2=A0 =C2=A0 =C2=A0
Reading state information... Done
Some packages= could not be installed. This may mean that you have
requested an imposs= ible situation or if you are using the unstable
distribution that some r= equired packages have not yet been created
or been moved out of Incoming= .
The following information may help to resolve the situation:

Th= e following packages have unmet dependencies:
=C2=A0postgresql-client-13= : Depends: libpq5 (>=3D 13.3) but 11.12-0+deb10u1 is to be installedE: Unable to correct problems, you have held broken packages.

When looking for libpq5 available versions only v11.12 is = listed.

# apt search libpq5
Sorting... D= one
Full Text Search... Done
libpq-dev/stable 11.12-0+deb10u1 amd64=C2=A0 header files for libpq5 (PostgreSQL library)

libpq5/stable = 11.12-0+deb10u1 amd64
=C2=A0 PostgreSQL C client library

libpq5-d= bgsym/buster-pgdg 13.3-1.pgdg100+1 amd64
=C2=A0 debug symbols for libpq5=

I could get around this by manually installin= g the correct libpq5 version, but I still wanted to share this issue with t= he list. Could it be a packaging error?

Thanks,
Fernando.=C2=A0

Looks like there's a cross-over between Debian's own repo= sitory and the PGDG repository. I suspect there's differing weights bet= ween the priorities for each. What's the result of `apt-cache policy libpq5`?

=
Aaron
--000000000000dfcc7705c3d203f4--