Re: RPM meta package

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Jeremiah Penery <jpenery(at)redskytech(dot)com>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: RPM meta package
Date: 2015-03-31 22:07:31
Message-ID: 551B1AA3.7070603@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Stephen Frost 2015-04-01 01:06:26 Re: Fwd: SSPI authentication ASC_REQ_REPLAY_DETECT flag
Previous Message Adrian Klaver 2015-03-31 21:39:22 Re: RPM meta package