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 1locpN-0002mp-Uh for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 03 Jun 2021 02:11:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1locpM-0006n4-Pc for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 03 Jun 2021 02:11:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1locpM-0006mZ-GZ for pgsql-pkg-debian@lists.postgresql.org; Thu, 03 Jun 2021 02:11:20 +0000 Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1locpK-0006jG-1N for pgsql-pkg-debian@lists.postgresql.org; Thu, 03 Jun 2021 02:11:19 +0000 Received: by mail-yb1-xb2c.google.com with SMTP id n133so6635335ybf.6 for ; Wed, 02 Jun 2021 19:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6VhD8X+5xVNsW8aKWYIV0jYaQpUO1lH/bHIjAI8eUmU=; b=WK3YAia7VdD/AvNEYF8/J2VB9p3m167FcWH0oHo4zgN2xAj0PRSukqEeej/FluTFtk RGS5DTScC5bx8N8ppDkvtejdd60SiRaQsj+hGMsz8cqwkgLmqwhoASlA4hIc4b5Z8mpr ta+8Y/WdmlxaunTsUNVcOW5bJS3xBrWHDZ8SMi45ytl5K9MXX2A6Ft3qgpXbDcQ+u1FX XnVKCPRo9zECQ+f7ioRK8zv9NbaUezr6p6BOmY/0VvxDgqPWSLiodq/3InwdW4susxVR XQfuW3uzHOOpP9MxM7fuB5+/n/2Ua+W/nbS06//ymB+8MS+oSZmCcWAub5A7DygBaPzJ SXcg== 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=6VhD8X+5xVNsW8aKWYIV0jYaQpUO1lH/bHIjAI8eUmU=; b=NRWXy6Ss8HslbrvLRkLCZkCsZaBg/GV2gg3ndKcMgkeQT4fkxydcT5YAyb+DLLid/C T1Z0g6EyzM4+LUrmavGCBebqVNPZRgozfl5C8AnQO9zWvB3TmhMl3vNNe4oTZa98LM8G KAWJzU9Z/bGn/wJe6cSCs3aZ+mTROMWzskn5561HUzgebqid9+XcyiIycZhsFzYw/ZUx w80c7ZGjF5Gzs2DRd3g6rymJ/EihCDF3BSSvcQcmiBbGuhGGXkgbyQSnxAVwLp+HZGh+ l44qw6QaFUJjkcICaILSQ4GEW8mnHbtVMyg0h5NsE1erine8jnaQoGg4LDMW/++5eRXa pz2Q== X-Gm-Message-State: AOAM530lznCS/Ug5h4BgP+P0czMVJlRU/+Q3hdZ5fgzHZv6442NtgVRx ChyAG0ZZDORhk6buaPvpkZGZizd2q9sKHjukQBfpK55/vii6RQ== X-Google-Smtp-Source: ABdhPJz64Q74musq8N97MbNL6WFzfffRqJhon+iGwxltvXnUh9LK0dN9fDspHkJ1FyUEA+RyakuwfL4YFw9Pd+rHzd4= X-Received: by 2002:a25:cac6:: with SMTP id a189mr32146138ybg.33.1622686277276; Wed, 02 Jun 2021 19:11:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Fernando Hevia Date: Wed, 2 Jun 2021 23:11:05 -0300 Message-ID: Subject: Re: Postgres 13 package on Debian 10 has unmet dependencies To: Aaron Pavely Cc: pgsql-pkg-debian@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000002398de05c3d31745" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000002398de05c3d31745 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable *# apt-cache policy libpq5* libpq5: Installed: (none) Candidate: 11.12-0+deb10u1 Version table: 13.3-1.pgdg100+1 500 500 http://apt.postgresql.org/pub/repos/apt buster-pgdg/main amd64 Packages 11.12-0+deb10u1 990 990 http://security.debian.org/debian-security buster/updates/main amd64 Packages 11.11-0+deb10u1 990 990 http://ftp.us.debian.org/debian buster/main amd64 Packages El mi=C3=A9, 2 de jun. de 2021 a la(s) 21:54, Aaron Pavely (aaron@pavely.ne= t) escribi=C3=B3: > 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 wi= th >> 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 (>=3D 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 prioriti= es > for each. What's the result of `apt-cache policy libpq5`? > > Aaron > --0000000000002398de05c3d31745 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
# apt-cache policy libpq5
libpq5:
=C2=A0 Inst= alled: (none)
=C2=A0 Candidate: 11.12-0+deb10u1
=C2=A0 Version table:=
=C2=A0 =C2=A0 =C2=A013.3-1.pgdg100+1 500
=C2=A0 =C2=A0 =C2=A0 =C2=A0= 500 http://apt.postgre= sql.org/pub/repos/apt buster-pgdg/main amd64 Packages
=C2=A0 =C2=A0 = =C2=A011.12-0+deb10u1 990
=C2=A0 =C2=A0 =C2=A0 =C2=A0 990 http://security.debian.org/debian-= security buster/updates/main amd64 Packages
=C2=A0 =C2=A0 =C2=A011.1= 1-0+deb10u1 990
=C2=A0 =C2=A0 =C2=A0 =C2=A0 990 http://ftp.us.debian.org/debian buster/main amd64 P= ackages



El mi=C3=A9, 2 de jun. de 2021 a l= a(s) 21:54, Aaron Pavely (aaron@pavely.= net) escribi=C3=B3:
On Wed, Jun 2, 2021 at 6:47 PM Fernando Hevia <fhevia@gmail.com> wro= te:
Hi list.

As the subject states, I am facing an unme= t 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.l= ist.d/pgdg.list
deb http://apt.postgresql.org/pub/repos/apt buster-p= gdg main=C2=A0

# apt install=C2=A0postgresq= l-13=C2=A0postgresql-client-13
Reading package lists... Done<= br>Building dependency tree =C2=A0 =C2=A0 =C2=A0
Reading state informat= ion... 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
o= r been moved out of Incoming.
The following information may help to reso= lve the situation:

The following packages have unmet dependencies:=C2=A0postgresql-client-13 : Depends: libpq5 (>=3D 13.3) but 11.12-0+d= eb10u1 is to be installed
E: Unable to correct problems, you have held b= roken packages.

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

# apt searc= h libpq5
Sorting... Done
Full Text Search... Done
libpq-dev/st= able 11.12-0+deb10u1 amd64
=C2=A0 header files for libpq5 (PostgreSQL li= brary)

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

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

I could get aroun= d this by manually installing the correct libpq5 version, but I still wante= d to share this issue with the list. Could it be a packaging error?

Thanks,
Fernando.=C2=A0

Looks like there's a cross-over b= etween Debian's own repository and the PGDG repository. I suspect there= 's differing weights between the priorities for each. What's the re= sult of `apt-cache policy libpq5`?
Aaron
--0000000000002398de05c3d31745--