Re: getting rhel7 packages instead of rhel6 packages

From: Sebastian Steuer <sebastian(at)cirrushq(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: getting rhel7 packages instead of rhel6 packages
Date: 2016-09-08 14:25:40
Message-ID: CAL_41Y-c_8GQRJGwnn1RCRKcqBU47UpKzUD6Y=C8yntXPTFGkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi,

it is correct

# cat /etc/yum.repos.d/pgdg-93-ami201503.repo
[pgdg93]
name=PostgreSQL 9.3 - Amazon Linux AMI 2015.03 - $basearch
baseurl=
https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93

[pgdg93-source]
name=PostgreSQL 9.3 Amazon Linux AMI 2015.03 - $basearch - Source
failovermethod=priority
baseurl=
https://download.postgresql.org/pub/repos/yum/srpms/9.3/redhat/rhel-6-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93

On Thu, Sep 8, 2016 at 3:18 PM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:

>
> Hi,
>
> On Thu, 2016-09-08 at 13:50 +0100, Sebastian Steuer wrote:
> > when using repository config from this package:
> > Amazon Linux AMI 2015.03 - x86_64
> > https://download.postgresql.org/pub/repos/yum/9.3/redhat/
> rhel-6-x86_64/pgdg-a
> > mi201503-93-9.3-2.noarch.rpm
> >
> > i'm getting *.PGDG.rhel7.x86_64 instead of PGDG.rhel6.x86_64
> >
> > that breaks things as these packages do not exist in:
> > https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64
> >
> > also if they would some will require systemd
> >
> > i believe repodata is broken
>
> AFAICS from the .repo file in git repo, they all point to RHEL6 directory:
>
> https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/
>
> Can you please paste contents of .repo file under
> /etc/yum.reposs.d/pgdg-93-
> ami201503.repo ?
>
> Thanks!
>
> Regards,
> --
> Devrim GÜNDÜZ
> EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2016-09-08 14:41:23 Re: getting rhel7 packages instead of rhel6 packages
Previous Message Devrim Gündüz 2016-09-08 14:18:13 Re: getting rhel7 packages instead of rhel6 packages