Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3sh-0006Bo-Fo for pgsql-odbc@arkaria.postgresql.org; Tue, 31 Mar 2015 21:39:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yd3sg-0002vw-ER for pgsql-odbc@arkaria.postgresql.org; Tue, 31 Mar 2015 21:39:30 +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 1Yd3sf-0002vn-3P for pgsql-odbc@postgresql.org; Tue, 31 Mar 2015 21:39:29 +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 1Yd3sb-0005zx-A9 for pgsql-odbc@postgresql.org; Tue, 31 Mar 2015 21:39:27 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EAB5F20C58 for ; Tue, 31 Mar 2015 17:39:20 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 31 Mar 2015 17:39:24 -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=aG4h/J3j8wsowI9oWXM22V3Hd5c=; b=JLhlLX qM4qTAztBe8QVGpPUmwBS/r2B8xrXHA69+TN2L2eMhcL7jtW8IDwtRH6McbXhKTv 3jB22Kjhmf3kHxpDL3jCg6RWWNsRa+dvVhGAZYQ0FvXc2qxgjOXeLAHCV4cpA0Mj 3pn5yRUNHV9UD853Uwd59fktletoioC896Ooc= 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=aG4h/J3j8wsowI9 oWXM22V3Hd5c=; b=ZmPB3ZGElCN2tTYsia8VHcw7R1yRiAJDxCrm3FIAWRkmny/ ll5yjLNcODjE1CkBTgs5CC0EF9rVpPI2Awc/hnwGDmN3il4Aov3w9zthiIDp2xpK 0PZw25XQJsIOZ+82rGjNemMbjdGM6Eb3da6q+fOjGxe7Z5lvGT8S53lRUwTQ= X-Sasl-enc: NKlHEW6GtbCZt9uXoNTZEuKb/M9TrcZAkkXEhl8C04/6 1427837963 Received: from [192.168.1.4] (unknown [174.21.191.40]) by mail.messagingengine.com (Postfix) with ESMTPA id 9EA93C00011; Tue, 31 Mar 2015 17:39:23 -0400 (EDT) Message-ID: <551B140A.4090203@aklaver.com> Date: Tue, 31 Mar 2015 14:39:22 -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. But you can hide it: https://wiki.postgresql.org/wiki/YUM_Installation#Install_PGDG_RPM_file Configure your YUM repository exclude=postgresql* > > If I install something that has a dependency on postgresql-libs, I can > install postgresql9x-libs and the dependency is satisfied. > > If something depends on postgresql-odbc, it is *not* satisfied by > installing postgresql9x-odbc. I am missing something, can you show an example? Also you realize the ODBC version numbers do not match the Postgres version numbers? > > My question is whether there's a reason for that. 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. So you are creating your own RPM? > > 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