Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi0Jh-0000kG-Pz for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 08 Sep 2016 14:28:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bi0Jh-0000JN-7L for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 08 Sep 2016 14:28: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 1bi0HJ-0007w6-SL for pgsql-pkg-yum@postgresql.org; Thu, 08 Sep 2016 14:26:10 +0000 Received: from mail-it0-x236.google.com ([2607:f8b0:4001:c0b::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bi0HC-0007Gk-8c for pgsql-pkg-yum@postgresql.org; Thu, 08 Sep 2016 14:26:08 +0000 Received: by mail-it0-x236.google.com with SMTP id c198so83187458ith.1 for ; Thu, 08 Sep 2016 07:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrushq-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Z+RHV0wJIxMOdtDCLA5tbe0+YfSw0Gswa0BWq3ApfTI=; b=xIWZ7GaZ6+jsygiJd+7csMNQJSYXQyvvNUgAD+yrfqFqanBPGDxAWiluTS7S/Lv4To pWYezEb1/+LHEl94zBfDVRypn6M/8PNgX9PCnKCy+ycEF8COixgIf1uaK3WKExbvBhv2 rt8uEnsrZpeM1AJPU0zU67+g9Ze7S/DV9ZCUDoD2XGC1b0MgUu0WOOpaWYa16eaghHqM RrynwD5PywqxgSKQZRM5N5vI2EBevky1ovZaTZQSfo+p26LWnOPIUz4ioxvq6q3zZNo0 9FQYBFIWzT3SZPIkZ1c1uw5c//DcKU8lgbRrqV0sWFlZ5zi1Mqn9L5LnDZqpxMDyLbVk PFGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Z+RHV0wJIxMOdtDCLA5tbe0+YfSw0Gswa0BWq3ApfTI=; b=OQ0d7bOs291fGT/GRbaQDYQEhrmx7TsNqsOhehmxLAgUdYogeZTxE/zSh4rhOEPGHX w+EL5z+MkAn+Pfc6tNkIIJ+SHS4EoQMl3Zq1iPgyetzV7AVwlaU2pY3IHoffgzWnjqYC L8aHBuy82rDsrWQgYs89KZeUp0kVbhody2eR7NX/MT+eXK3eUq4Mm1SdNSUhZD7TFMZP m5GKD/5upW95NSgcar9MEb37euBf08CS4uSulp7ZBs8A3UKvY6RRW+0HQfDQex+zVflv LzcS9ut0a5+Cpe9M2N9teJUruvFXjxpZ0mwkrVO0lbWKcEo01rVisXmVbOpxwVQuauoU x5Kg== X-Gm-Message-State: AE9vXwPXvWJKuuNMY7U56w1z6lH372LmOWsc2w3lVqJE+p0qwLhiye6MmdFuPQW3PPpEDQT0W9KwmHxG1vtViw== X-Received: by 10.36.36.214 with SMTP id f205mr15732700ita.50.1473344760775; Thu, 08 Sep 2016 07:26:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.174.167 with HTTP; Thu, 8 Sep 2016 07:25:40 -0700 (PDT) X-Originating-IP: [86.159.17.80] In-Reply-To: <1473344293.23849.21.camel@gunduz.org> References: <1473344293.23849.21.camel@gunduz.org> From: Sebastian Steuer Date: Thu, 8 Sep 2016 15:25:40 +0100 Message-ID: Subject: Re: getting rhel7 packages instead of rhel6 packages To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= Cc: pgsql-pkg-yum@postgresql.org Content-Type: multipart/alternative; boundary=001a114741ae191a3d053bffcfaa X-Pg-Spam-Score: -2.6 (--) 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 --001a114741ae191a3d053bffcfaa Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, it is correct # cat /etc/yum.repos.d/pgdg-93-ami201503.repo [pgdg93] name=3DPostgreSQL 9.3 - Amazon Linux AMI 2015.03 - $basearch baseurl=3D https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-$basearch enabled=3D1 gpgcheck=3D1 gpgkey=3Dfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93 [pgdg93-source] name=3DPostgreSQL 9.3 Amazon Linux AMI 2015.03 - $basearch - Source failovermethod=3Dpriority baseurl=3D https://download.postgresql.org/pub/repos/yum/srpms/9.3/redhat/rhel-6-$base= arch enabled=3D0 gpgcheck=3D1 gpgkey=3Dfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93 On Thu, Sep 8, 2016 at 3:18 PM, Devrim G=C3=BCnd=C3=BCz = 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=C3=9CND=C3=9CZ > EnterpriseDB: http://www.enterprisedb.com > PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Enginee= r > Twitter: @DevrimGunduz , @DevrimGunduzTR > --001a114741ae191a3d053bffcfaa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

it is correct

# cat /et= c/yum.repos.d/pgdg-93-ami201503.repo
[pgdg93]
name=3DPo= stgreSQL 9.3 - Amazon Linux AMI 2015.03 - $basearch
enabled=3D1
gpgcheck=3D1
gpgkey=3D= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93

[pgdg9= 3-source]
name=3DPostgreSQL 9.3 Amazon Linux AMI 2015.03 - $basea= rch - Source
failovermethod=3Dpriority
enabled=3D0
gpgcheck=3D1
= gpgkey=3Dfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93


On Thu,= Sep 8, 2016 at 3:18 PM, Devrim G=C3=BCnd=C3=BCz <devrim@gunduz.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.p= ostgresql.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.postgres= ql.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 dire= ctory:

https://download.postgresql.<= wbr>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=C3=9CND=C3=9CZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer<= br> Twitter: @DevrimGunduz , @DevrimGunduzTR

--001a114741ae191a3d053bffcfaa--