Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd4Jv-0007Nw-6S for pgsql-odbc@arkaria.postgresql.org; Tue, 31 Mar 2015 22:07:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yd4Ju-0000dw-Jy for pgsql-odbc@arkaria.postgresql.org; Tue, 31 Mar 2015 22:07:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yd4Js-0000ag-Og for pgsql-odbc@postgresql.org; Tue, 31 Mar 2015 22:07:36 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yd4Jp-0006aA-7E for pgsql-odbc@postgresql.org; Tue, 31 Mar 2015 22:07:34 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3BE3520AD7 for ; Tue, 31 Mar 2015 18:07:29 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Tue, 31 Mar 2015 18:07:32 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=c3j3V17CMW+sewVOyDX2SfZEyJw=; b=JtPnN7 +U6rW9gIEq25EbUrwPGY69mO8jzCunLm41qwlWszKz+JDKvoZJEihELnS3Rz2BBy 1osc2mcyGQ0igbA6ta836DmKqaX9hHs+Z/1Fy3VbFT3ZX/q6LgfVUMMoQloEJHWq Go3LK1/OUDOea8X2RA/1/SkEZ+EKd2Ifuvu6A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=c3j3V17CMW+sewV OyDX2SfZEyJw=; b=e3kRbCVq7WVwbsogKscT5ePYYBfE7IKzlFmTopEiYfa8xOZ CRCJD6BzpioHvCIfjGPPWW1Q7A10H97oeojX3cGbPIP8J7DIASAdbjJdVDB52/lE vPhnwSWyVYlFoqKwPXBIXnVccuKfs5PYfNdfY3+yAbB3po9k8S3vMp0JVVYY= X-Sasl-enc: YzAyAtv7RTXULP46h3ysELZQi3eU5nJ9iLpsZ0VZGC2a 1427839652 Received: from [192.168.1.4] (unknown [174.21.191.40]) by mail.messagingengine.com (Postfix) with ESMTPA id E714DC00011; Tue, 31 Mar 2015 18:07:31 -0400 (EDT) Message-ID: <551B1AA3.7070603@aklaver.com> Date: Tue, 31 Mar 2015 15:07:31 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Jeremiah Penery , "pgsql-odbc@postgresql.org" Subject: Re: RPM meta package References: <551AC5E9.8040204@redskytech.com> <551AE85F.30801@aklaver.com> <551AF00F.9030800@redskytech.com> <551AF3C4.50402@aklaver.com> <551AFD77.1070204@redskytech.com> In-Reply-To: <551AFD77.1070204@redskytech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 03/31/2015 01:03 PM, Jeremiah Penery wrote: > On 03/31/2015 02:21 PM, Adrian Klaver wrote: >> On 03/31/2015 12:05 PM, Jeremiah Penery wrote: >>> On 03/31/2015 01:33 PM, Adrian Klaver wrote: >>>> On 03/31/2015 09:06 AM, Jeremiah Penery wrote: >>>>> Is there some reason that postgresqlxx-odbc RPMs don't provide the >>>>> virtual package for postgresql-odbc, so that whatever version I have >>>>> installed will fulfill the dependency? >>>> Not sure. >>>> >>>> What distro are you using? >>>> >>>> What repo are you pointing at? >>> CentOS 6, using any of the 'official' Postgres repos. Currently trying >>> both: >>> >>> pgdg92 PostgreSQL 9.2 6 - x86_64 >>> pgdg94 PostgreSQL 9.4 6 - x86_64 >>> >>> The .repo file for the second one looks like: >>> [pgdg94] >>> name=PostgreSQL 9.4 $releasever - $basearch >>> baseurl=http://yum.postgresql.org/9.4/redhat/rhel-$releasever-$basearch >>> enabled=1 >>> gpgcheck=1 >>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-94 >>> >>> [pgdg94-source] >>> ... >> You sure you do not have another repo configured. I ask because from you >> previous post: >> >> postgresql-odbc-08.04.0200-1.el6.x86_64 >> >> This does not look like the naming convention for the PGDG rpms: >> >> http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/ >> postgresql92-odbc-09.01.0200-1PGDG.rhel6.x86_64.rpm >> >> but does look like the CentOS naming: >> >> http://pkgs.org/centos-6/centos-x86_64/postgresql-odbc-08.04.0200-1.el6.x86_64.rpm.html >> > > That's from the CentOS-6 - Base repo. I can't exactly get rid of that > one. :) But it's not really the issue. > > If I install something that has a dependency on postgresql-libs, I can > install postgresql9x-libs and the dependency is satisfied. Aaah, I see now, I think. I do not have a CentOS instance available, but from here: http://www.postgresonline.com/journal/archives/329-An-almost-idiots-guide-to-install-PostgreSQL-9.3,-PostGIS-2.1-and-pgRouting-with-Yum.html postgresql-libs is a RH/CentOS meta-package from updates and postgresql-odbc is from base. > > If something depends on postgresql-odbc, it is *not* satisfied by > installing postgresql9x-odbc. I would say that is because it is a base package, see above. > > My question is whether there's a reason for that. You are using a mixed environment of CentOS and PGDG rpms? For the RPM we're > creating, we don't necessarily want to dictate exactly what version of > psql(-odbc) people are installing, as long as it fits the requirements. > It seems there's no way to do that. > > Thanks, > Jeremiah > > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc