Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUXG4-00084E-I4 for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 12 Nov 2019 14:35:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iUXG3-0003Qs-8e for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 12 Nov 2019 14:35:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUVxk-0006hR-9U for pgsql-pkg-debian@lists.postgresql.org; Tue, 12 Nov 2019 13:12:04 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUVxh-0001hi-PP for pgsql-pkg-debian@lists.postgresql.org; Tue, 12 Nov 2019 13:12:03 +0000 Received: by mail-pl1-x644.google.com with SMTP id a18so9360879plm.10 for ; Tue, 12 Nov 2019 05:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+75kK2j1OQ+yHsHCDU6Q957xzm5xkpcOI/VWehYz8k4=; b=Pqjm3T0cTC/PYYlrzVMORCrHeAm+/p77GhU7G3XKL5yXNh1/XroXKHct013kBh8R1c t87dyNBkSnahNCHU6OvF/iRZHLdNkawCaEi1HaJcCX1xvEwh3Ae8wCGtARDq9ZXejslb Qa5G2XqTTwZUK8sgbpaODHpGLXVS71CMWmSpSzRGg+LgxaBRpQ5nwyGK4orQAasTMS99 EU/D8nhXHVTMbcvtKRvAbmJ+Vg5AtRoEK0XhROICoa20eMt3ku8iBz2FhC9yP98MlYTF wzvgXu66tQlIXEqxjEP2LhrNbSuHLflYOgo4+zQUkdZv9+Fn976kpE7cnxP50vEqyLJj X9Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+75kK2j1OQ+yHsHCDU6Q957xzm5xkpcOI/VWehYz8k4=; b=CY5qTsR2mPyCcNeR9goMhtd9fQYIAF/p7hTTaSCkJSUlv2juZ57k2y8/UbnB+KyHfT VDSfgNfWmdSqwlGxFUBWRl/NVGSfyjFpoifNqWCKnVN6z5aWlZzOabLbKiVU6/qlOR09 Sn4MV0G9iHUJ5kuP2IwFstWWJZ3Rn7xmojOyHTPHez4ODou2iIEWmjJK7UF6Fi0QqOVy WhVE+2/m2WSlyT5wDcuPYZZoEIP3fAAUBQeF7ZSrlTBEekedCnQ5yuRBt/S9V3nyuhZ7 NljnOF8uyXOwN48TrJYrqyqp1gUGb/wNphzx5cBT5UCyGCsz+HKk4/LescRuI1HAoQBB QsHQ== X-Gm-Message-State: APjAAAU/olDnj84MFElldfzvQv5197pBHY6nmzO7l0W/ST9DDVIFnRT3 I1AU0IsEi5Ao310WvOQsXXD17W/AwAKhf67dBEKRubsx X-Google-Smtp-Source: APXvYqzCq7lyK4YryWqib+66IMNY00n7u8rJjJTAHCJPWWUXVo+rnLBnJ914k3zbY1A4D2Z1XTN/8PnwIQLZ07VqUnY= X-Received: by 2002:a17:902:b215:: with SMTP id t21mr29055577plr.332.1573564317929; Tue, 12 Nov 2019 05:11:57 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Michael_B=C3=B6hm?= Date: Tue, 12 Nov 2019 14:11:46 +0100 Message-ID: Subject: postgis update from 2.5 to 3 To: pgsql-pkg-debian@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000033983d059725fe8a" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000033983d059725fe8a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, i tried to upgrade a test-system from postgis 2.5 to 3 and had a little bit of trouble. Just wanted to let you know about that and ask if my actions were okay or if can do anything different when upgrading the live-system. As always i wanted to install the newer version beside the current one and then do the extension upgrade in postgres. Problem is that installing the package "postgresql-10-postgis-3-scripts" tries to overwrite some files already provided by " postgresql-10-postgis-2.5-scripts": =C2=BB/usr/share/postgresql/10/applications/shp2pgsql-gui.desktop=C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/16x16/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/22x22/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/24x24/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/32x32/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/36x36/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/40x40/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/42x42/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/48x48/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/64x64/apps/shp2pgsql-gui.png= =C2=AB =C2=BB/usr/share/postgresql/10/icons/hicolor/8x8/apps/shp2pgsql-gui.png=C2= =AB 1. Removing all 2.5-packages, then installing 3 was one solution, but "ALTER EXTENSION postgis UPDATE;" afterwards wasn't possible as it complained about the missing 2.5-scripts-folder 2. Installing postgis-3(-scripts) with "-o Dpkg::Options::=3D"--force-overwrite"" was successful and i could finish th= e upgrade with "ALTER EXTENSION postgis UPDATE;" and "SELECT PostGIS_Extensions_Upgrade();" Is this a packaging-bug, everything working as expected or did i mess up? Regards Michael (Please CC me as i'm not subscribed to the list) --00000000000033983d059725fe8a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

i tried to upgrade a test-system= from postgis 2.5 to 3 and had a little bit of trouble. Just wanted to let = you know about that and ask if my actions were okay or if can do anything d= ifferent when upgrading the live-system.

As always= i wanted to install the newer version beside the current one and then do t= he extension upgrade in postgres. Problem is that installing the package &q= uot;postgresql-10-postgis-3-scripts" tries to overwrite some files alr= eady provided by " postgresql-10-postgis-2.5-scripts":

=C2=BB/us= r/share/postgresql/10/applications/shp2pgsql-gui.desktop=C2=AB
=C2=BB/us= r/share/postgresql/10/icons/hicolor/16x16/apps/shp2pgsql-gui.png=C2=AB
= =C2=BB/usr/share/postgresql/10/icons/hicolor/22x22/apps/shp2pgsql-gui.png= =C2=AB
=C2=BB/usr/share/postgresql/10/icons/hicolor/24x24/apps/shp2pgsql= -gui.png=C2=AB
=C2=BB/usr/share/postgresql/10/icons/hicolor/32x32/apps/s= hp2pgsql-gui.png=C2=AB
=C2=BB/usr/share/postgresql/10/icons/hicolor/36x3= 6/apps/shp2pgsql-gui.png=C2=AB
=C2=BB/usr/share/postgresql/10/icons/hico= lor/40x40/apps/shp2pgsql-gui.png=C2=AB
=C2=BB/usr/share/postgresql/10/ic= ons/hicolor/42x42/apps/shp2pgsql-gui.png=C2=AB
=C2=BB/usr/share/postgres= ql/10/icons/hicolor/48x48/apps/shp2pgsql-gui.png=C2=AB
=C2=BB/usr/share/= postgresql/10/icons/hicolor/64x64/apps/shp2pgsql-gui.png=C2=AB
=C2=BB/us= r/share/postgresql/10/icons/hicolor/8x8/apps/shp2pgsql-gui.png=C2=AB

1. Removing all 2.5-packages, then installing 3 was = one solution, but "ALTER EXTENSION postgis UPDATE;" afterwards wa= sn't possible as it complained about the missing 2.5-scripts-folder

2. Installing postgis-3(-scripts) with "-o Dpkg:= :Options::=3D"--force-overwrite"" was successful and i could= finish the upgrade with "ALTER EXTENSION postgis UPDATE;" and &q= uot;SELECT PostGIS_Extension= s_Upgrade();"

Is this a packaging-bug, eve= rything working as expected or did i mess up?

Rega= rds

Michael

(Please CC me= as i'm not subscribed to the list)
--00000000000033983d059725fe8a--