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 1mHvMA-0004gG-Ly for pgsql-pkg-debian@arkaria.postgresql.org; Sun, 22 Aug 2021 21:50:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mHvM8-0005Pm-88 for pgsql-pkg-debian@arkaria.postgresql.org; Sun, 22 Aug 2021 21:50:16 +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 1mHvM7-0005Pd-TL for pgsql-pkg-debian@lists.postgresql.org; Sun, 22 Aug 2021 21:50:16 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mHvM0-0006nM-0P for pgsql-pkg-debian@lists.postgresql.org; Sun, 22 Aug 2021 21:50:14 +0000 Received: by mail-ed1-x532.google.com with SMTP id q17so1255022edv.2 for ; Sun, 22 Aug 2021 14:50:07 -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=HnCxKA+ffe3s+7Z0NiCX4OBLtgLODiFMhwJTvElWusU=; b=bLFjbus88/Fq8w6NoV2Xn6WdeubO61iG7PxQxclEod/zsuxCWwgpYQZzBQSDOKosGu OaAhrg/Z0Ly2HtP9lO+BJSIASqOiP6bZC5Rv15MmnrxxkVlnEOBnMeCVDc63MTeJ3XFl ysk1RtL44sioTDhqTA/ha1hafqk8nqFJJc/QLZsRA0YbRT3iTNu5rV8M9ELIgiZ8yhQS d3cmT/wXJnBk/u/wcgKGAm9PTCY+H412sCsBE7GrPWM73jlrpsMjDTnRuQeWHHufhw+r ySIszwzMUNFSd8l8FhLZIUW7qNex0esh1PJqegnnxyKAhNN2KBBri5BX6eqmyEZNhqZy r+uA== 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=HnCxKA+ffe3s+7Z0NiCX4OBLtgLODiFMhwJTvElWusU=; b=eMa70/d4KLC2NAMYKdMtfGeW1xeC6mds8ZypAlAt/Unyn1Q0FEFlpFhjweXSlnJSoe sIgtJ0L+Y/I7lg484AgM6d6ZOx+CO3+ZJasQ1daxUkA7S9s/ewrnS8biVcGTCPSIwhkq xbR/rMJ+jhHmoNGTvAutoeCCp+akKO+/ylXbEp+rz0vNVRvDjAW80hhPg0psABJekRL9 lxu52VO81eJQc5uupkUNK/rzwMDB03Plbmk2Lb1xBGanCBs9S1ksSpwC6xiZ3jkVPbp8 Vh/OdN8497bpUw/AI3QyfyB8AV6NZMuycri51t6Wh015I46orCZJadqYYKV5SajtDLXm Xs4g== X-Gm-Message-State: AOAM532glg8pgKD2FkEgMhJ2RjCLVTONl+RA3QpoFTt2C08/uS3A9Ayr tl4rklLP74UmYWEmSsUscWyWF/XLFYE6Ea9xvLI= X-Google-Smtp-Source: ABdhPJwkjKHFNnnvCdHyzxcxgAGDQ3FGqtsl7pXBrihOWuY+VIqkGQUgIy6H6vMIDlyhmtbbcCS1IDddnE45QtuUnFg= X-Received: by 2002:a05:6402:348e:: with SMTP id v14mr33853146edc.182.1629669005576; Sun, 22 Aug 2021 14:50:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Imre Samu Date: Sun, 22 Aug 2021 23:49:54 +0200 Message-ID: Subject: Re: postgresql-14-postgis-3-scripts has not been updated to 3.1.3 ? To: Christoph Berg Cc: pgsql-pkg-debian@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000002dcf9d05ca2ce2bb" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000002dcf9d05ca2ce2bb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > It's fixed now, but you'll still need to update the Dockerfile as the > -scripts package doesn't have the +b1 suffix since it's arch:all. Thank you for the fix - and the explanation. Probably the simplest fix is removing the " -scripts=3D$POSTGIS_VERSION" hard-coded version ( in the debian template - so every debian version) postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=3D$POSTGIS_VERSION \ postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \ > (Why is the version hard-coded there anyway?) IMHO: - probably - we try to copy the upstream "best practices" ... ( https://github.com/docker-library/postgres/search?q=3DPG_VERSION ) Thanks again, Imre Christoph Berg ezt =C3=ADrta (id=C5=91pont: 2021. aug. 20= ., P, 13:12): > Re: Imre Samu > > I am trying to update https://github.com/postgis/docker-postgis > project to > > the latest PostGIS 3.1.3 > > with https://github.com/postgis/docker-postgis/pull/253 > > and receiving this error : > > *Error: E: Version '3.1.3+dfsg-1~exp1.pgdg100+1+b1' for > > 'postgresql-14-postgis-3-scripts' was not found* > > > > as I see the - the postgresql-14-postgis-3-scripts is still on 3.1.2 > > * postgresql-14-postgis-3-scripts/buster-pgdg > 3.1.2+dfsg-1~exp2.pgdg100+1 > > Hi, > > thanks for spotting that. > > The problem arose because a new postgis version, me working on > supporting PG 14, and adding new distributions (impish, bookworm) all > happened at the same time. Add the necessity for a +b1 binNMU to the > mix, and the result was that the architecture _all .deb files for PG14 > were never built. > > Our repository QA scripts didn't catch that because > postgresql-14-postgis-3 depends on postgresql-14-postgis-3-scripts > without a version constraint, so everything was still installable. > > It's fixed now, but you'll still need to update the Dockerfile as the > -scripts package doesn't have the +b1 suffix since it's arch:all. > (Why is the version hard-coded there anyway?) > > Christoph > --0000000000002dcf9d05ca2ce2bb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> It's fixed now, but you'll still need to upda= te the Dockerfile as the
>=C2=A0-scripts package doesn't have th= e +b1 suffix since it's arch:all.

Thank y= ou for the fix - and the explanation.

Probab= ly the simplest fix is removing the=C2=A0 " -scripts=3D$POSTGIS_VERSION" hard-coded version
=C2=A0 =C2=A0 ( in the debian template - so every debian version)=C2= =A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=3D$POSTGIS_VERSION \<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0postgresql-$PG_MAJOR-postgis-$P= OSTGIS_MAJOR-scripts \

>=C2=A0(Why i= s the version hard-coded there anyway?)

IMHO:
- probably - we try to copy the upstream "best practices"= =C2=A0 ...
=C2=A0=C2=A0
Than= ks again,
=C2=A0 Imre




Christoph Berg <myon@debian.or= g> ezt =C3=ADrta (id=C5=91pont: 2021. aug. 20., P, 13:12):
=
Re: Imre Samu
> I am trying to update https://github.com/postgis/docke= r-postgis project=C2=A0 to
> the latest PostGIS 3.1.3
> with https://github.com/postgis/docker-postgi= s/pull/253
> and receiving this error :
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 *Error:=C2=A0 E: Version '3.1.3+dfsg-1~= exp1.pgdg100+1+b1' for
> 'postgresql-14-postgis-3-scripts' was not found*
>
> as I see the - the postgresql-14-postgis-3-scripts=C2=A0 is still on 3= .1.2
> *=C2=A0 =C2=A0postgresql-14-postgis-3-scripts/buster-pgdg 3.1.2+dfsg-1= ~exp2.pgdg100+1

Hi,

thanks for spotting that.

The problem arose because a new postgis version, me working on
supporting PG 14, and adding new distributions (impish, bookworm) all
happened at the same time. Add the necessity for a +b1 binNMU to the
mix, and the result was that the architecture _all .deb files for PG14
were never built.

Our repository QA scripts didn't catch that because
postgresql-14-postgis-3 depends on postgresql-14-postgis-3-scripts
without a version constraint, so everything was still installable.

It's fixed now, but you'll still need to update the Dockerfile as t= he
-scripts package doesn't have the +b1 suffix since it's arch:all. (Why is the version hard-coded there anyway?)

Christoph
--0000000000002dcf9d05ca2ce2bb--