Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4CvD-0004mO-A3 for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 16 Oct 2017 21:27:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e4CvB-00089v-Sd for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 16 Oct 2017 21:27:37 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e4Cv6-00082f-5O for pgsql-pkg-yum@postgresql.org; Mon, 16 Oct 2017 21:27:32 +0000 Received: from mail-it0-x22f.google.com ([2607:f8b0:4001:c0b::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e4Cv2-000716-F4 for pgsql-pkg-yum@postgresql.org; Mon, 16 Oct 2017 21:27:30 +0000 Received: by mail-it0-x22f.google.com with SMTP id f187so35869itb.1 for ; Mon, 16 Oct 2017 14:27:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eS5JAp4AEolygtsnqH/PALOc1sXhsTb1WAn6eB0qHQo=; b=AbaTsIJ9ccVvkT1TPwCohIu8BkO3lL7SfbaWau92fCwGWf/NnXxerGKcz8zVDJ4Bew 6JiRw9gwgRUEYAJwDkjj/B5DkOS8CpAAirodVvtlTJYimMM4FXsUTzv7+bfKrOgF2iPw cQZMQdYMXyPpVPa68oOnLkqe2yJk83zX+1ISrfo1TLgIB7dbpbyyOBLAFSblM9fBU0L6 txLGcC1zslgAFhmi1y4x43GVHB30dXEGsqASmHqM4PYN9Q9QA82Q9aNoC5edRzC+q1xS Lx9cCRNlXjYm7NY9UbrUlGRNxhOTjxBr2HvHkbZsq9UOn0zp/cZ3gpHcr5HNH3/osYge OT8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eS5JAp4AEolygtsnqH/PALOc1sXhsTb1WAn6eB0qHQo=; b=tXpZ3Il4MCB85ZkaS5nOlqIDjR8KHak5sDb8i77J+CsuQKP+wdCuQ8DNoifT96iCJg uujQcEqsePWvYFtZGUPBYM/bDb/37GkgFllUCAG+6HDk8bSbkgSsiA71rxEq+oExWV/G /bFzMEO5szgAUzQ1niFKYoLnZ1pJk/uFsHUbpQlVO5wf7eSpJA/BSLHldbVrB4H+qpCI 0ts88MWdrRTq64iqON/vCzpeptVKRMGgpiQlzb7v3kPCVcF3rOD0xqXx5nmHdipfbAj7 F2sPk8llbDax7hnE4mnb2GULEfLDE5N3/SBLvD1dWXeFSqrObCuFbB6whPcF/TK9m7XU 8F6A== X-Gm-Message-State: AMCzsaXWIxs9UYttO1GGp7vpKI3Aa+SJC5oq9tzpdIsMvPk7jtreDTbT BIKGyNBC4g7qxEOMPDg5rauGEg== X-Google-Smtp-Source: ABhQp+RaHpRtexukMrrgmjCMvKlmxvAlRHnzH/m/JijIMnvFRBOqu4R/FMgkuuiS+f7WeRmh0G+voQ== X-Received: by 10.36.81.21 with SMTP id s21mr2919004ita.144.1508189247016; Mon, 16 Oct 2017 14:27:27 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id k86sm4273231ioi.23.2017.10.16.14.27.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2017 14:27:26 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id A8CBC80129D; Mon, 16 Oct 2017 16:27:25 -0500 (CDT) Date: Mon, 16 Oct 2017 16:27:25 -0500 From: Justin Pryzby To: pgsql-pkg-yum@postgresql.org Cc: Jimmy Angelakos Subject: Re: postgis24_* package Message-ID: <20171016212725.GA14720@telsasoft.com> References: <20171008225229.GH25298@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171008225229.GH25298@telsasoft.com> User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org On Sun, Oct 08, 2017 at 05:52:29PM -0500, Justin Pryzby wrote: > Just curious how the postgis package upgrades are intended to work ? It seems ... > Further, how do I actually install postgis24_96 ? Do I actually have to run > "rpm -e postgis23_96" first ? Or is some particular yum incanatation intended I've upgraded nearly all our customers to postgis24_96. For most this has, at worst, first required rpm -e postgis2_96. Here's one, final, issue with our otherwise up-to-date customers: [pryzbyj@TELSASOFT01 ~]$ sudo yum install postgis24_96 ... Installing: postgis24_96 x86_64 2.4.0-1.rhel6 pgdg96 9.3 M Transaction Check Error: file /usr/pgsql-9.6/lib/liblwgeom.so from install of postgis24_96-2.4.0-1.rhel6.x86_64 conflicts with file from package postgis22_96-2.2.5-1.rhel6.x86_64 file /usr/pgsql-9.6/share/extension/address_standardizer.control from install of postgis24_96-2.4.0-1.rhel6.x86_64 conflicts with file from package postgis22_96-2.2.5-1.rhel6.x86_64 [...] [pryzbyj@TELSASOFT01 ~]$ sudo rpm -e postgis22_96 error: Failed dependencies: postgis is needed by (installed) python-mapscript-5.0.2-3.x86_64 So I ended up having to remove multiple packages in order to upgrade: [pryzbyj@TELSASOFT01 ~]$ sudo rpm -e python-mapscript.x86_64 postgis22_96-2.2.5-1.rhel6.x86_64 I think postgis24_96 should conflict postgis23_96 (et al) and postgis24_96 should have a redhat equivalent of what in debian's package metadata would be expressed as Conflicts+Replaces: postgis2_96, forcing removal of postgis2_96. And optionally Provides: postgis2_96, if it's intended to allow other packages to "Depend: postgis2_96" for postgis2 rather than enumerating supported version (Depends: postgis24_96|postgis23_96|postgis22_96). Justin -- Sent via pgsql-pkg-yum mailing list (pgsql-pkg-yum@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-yum