Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXSjU-0003lT-4t for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 05 Jan 2018 14:12:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXSjT-00039x-CO for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 05 Jan 2018 14:12:27 +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 1eXMDe-0002S0-Ee for pgsql-pkg-yum@lists.postgresql.org; Fri, 05 Jan 2018 07:15:10 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eXMDa-0006qo-Qg for pgsql-pkg-yum@postgresql.org; Fri, 05 Jan 2018 07:15:08 +0000 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w057EX56066043 for ; Fri, 5 Jan 2018 02:15:02 -0500 Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.82]) by mx0a-001b2d01.pphosted.com with ESMTP id 2f9xuc3f1x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 05 Jan 2018 02:15:01 -0500 Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Fri, 5 Jan 2018 07:15:00 -0000 Received: from us1a3-smtp08.a3.dal06.isc4sb.com (10.146.103.57) by smtp.notes.na.collabserv.com (10.106.227.105) with smtp.notes.na.collabserv.com ESMTP; Fri, 5 Jan 2018 07:14:58 -0000 Received: from us1a3-mail192.a3.dal06.isc4sb.com ([10.146.77.75]) by us1a3-smtp08.a3.dal06.isc4sb.com with ESMTP id 2018010507153397-113907 ; Fri, 5 Jan 2018 07:15:33 +0000 To: pgsql-pkg-yum@postgresql.org Subject: Postgresql installation issue From: "Tabassum Fathima" Date: Fri, 5 Jan 2018 12:44:54 +0530 MIME-Version: 1.0 X-KeepSent: 30E34049:2F780492-0025820C:00262814; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0.1FP7 August 18, 2016 X-LLNOutbound: False X-Disclaimed: 9223 X-TNEFEvaluated: 1 Content-Type: multipart/alternative; boundary="=_alternative 0027D20A6525820C_=" x-cbid: 18010507-5101-0000-0000-000007BAA104 X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.430458; ST=0; TS=0; UL=0; ISC=; MB=0.048147 X-IBM-SpamModules-Versions: BY=3.00008321; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000244; SDB=6.00970481; UDB=6.00491520; IPR=6.00750453; BA=6.00005765; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00018883; XFM=3.00000015; UTC=2018-01-05 07:15:00 X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused X-IBM-AV-VERSION: SAVI=2018-01-05 03:17:05 - 6.00007864 x-cbparentid: 18010507-5102-0000-0000-0000238CAC80 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-05_04:,, signatures=0 X-Proofpoint-Spam-Reason: safe List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=_alternative 0027D20A6525820C_= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="US-ASCII" Hi, I am trying to install postgre into my linux machine (Linux=20 ip-172-31-35-138 4.9.70-22.55.amzn1.x86=5F64 #1 SMP Wed Dec 20 23:36:28 UTC= =20 2017 x86=5F64 x86=5F64 x86=5F64 GNU/Linux),=20 I have downloaded the pgdg-redhat10-10-2.noarch.rpm=20 first of all I don't find this below configuration file: /etc/yum/pluginconf.d/rhnplugin.conf =20 [ec2-user@ip-172-31-35-138 ~]$ ls /etc/yum/pluginconf.d priorities.conf update-motd.conf upgrade-helper.conf I ran, sudo yum install pgdg-redhat10-10-2.noarch.rpm.----------------->=20 successfully completed I am getting the error for these below commands: Install the client packages: yum install postgresql10 Optionally install the server packages: yum install postgresql10-server Optionally initialize the database and enable automatic start: service postgresql-10 initdb chkconfig postgresql-10 on service postgresql-10 start I am getting an below error, while executing the above commands: [ec2-user@ip-172-31-35-138 ~]$ sudo yum install postgresql10 Loaded plugins: priorities, update-motd, upgrade-helper amzn-main | 2.1 kB 00:00:00 amzn-updates | 2.5 kB 00:00:00 https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-latest-x86=5F6= 4/repodata/repomd.xml:=20 [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. To address this issue please refer to the below knowledge base article https://access.redhat.com/articles/1320623 If above article doesn't help to resolve this issue please open a ticket=20 with Red Hat Support. One of the configured repositories failed (PostgreSQL 10 latest -=20 x86=5F64), and yum doesn't have enough cached data to continue. At this point the=20 only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the=20 problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a=20 working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Disable the repository, so yum won't use it by default. Yum will=20 then just ignore the repository until you permanently enable it again=20 or use --enablerepo for temporary usage: yum-config-manager --disable pgdg10 4. Configure the failing repository to be skipped, if it is=20 unavailable. Note that yum will try to contact the repo. when it runs most=20 commands, so will have to try and fail each time (and thus. yum will be be=20 much slower). If it is a very temporary problem though, this is often a = nice compromise: yum-config-manager --save=20 --setopt=3Dpgdg10.skip=5Fif=5Funavailable=3Dtrue failure: repodata/repomd.xml from pgdg10: [Errno 256] No more mirrors to=20 try. https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-latest-x86=5F6= 4/repodata/repomd.xml:=20 [Errno 14] HTTPS Error 404 - Not Found Thanks tabassum --=_alternative 0027D20A6525820C_= Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="US-ASCII" Hi,

I am trying to install postgre into my linux machine (Linux ip-172-31-35-138 4.9.70-22.55.amzn1.x86=5F64 #1 SMP Wed Dec 20 23:36:28 UTC 2017 x86=5F64 x86=5F64 x86=5F64 GNU/Linux),  <= /font>

I have downloaded the pgdg= -redhat10-10-2.noarch.rpm

first of all I don't find= this below configuration file:

 /etc/yum/pluginco= nf.d/rhnplugin.conf 

[ec2-user@ip-172-31-35-138 ~]$ ls /etc/yum/plugin= conf.d
priorities.conf  u= pdate-motd.conf  upgrade-helper.conf

= I ran,  sudo yum install pgdg-redhat10-10-2.noarch.rpm.---------------= --> successfully completed

I a= m getting the error for these below commands:
  • Install the client = packages:

    yum install postgresql10=

  • Optionally install the server pa= ckages:

    yum install postgresql10-s= erver

  • Optionally initialize the d= atabase and enable automatic start:

    service po= stgresql-10 initdb
    chkconfig postgresql-10 on
    service postgresql-10 s= tart


I am getting an belo= w error, while executing the above commands:
[ec2-user@= ip-172-31-35-138 ~]$ sudo yum install postgresql10
Loade= d plugins: priorities, update-motd, upgrade-helper
amzn-main  = ;                                                                                                                                      | 2.1 kB  00:00:00
amzn-updates &n= bsp;                                                                                                                                   | 2.5 kB  00:00:00
https://download.postgresql.org/pub/repos/yum/10/redhat/rhe= l-latest-x86=5F64/repodata/repomd.xml:[Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

ht= tps://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.


 One of the configured repositories failed (PostgreSQL 10 latest - x86=5F64),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:


 = ;           yum-config-manager --disable pgdg10

     4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much

        slower). If it is a very temporary problem though, this is often a nice
        compromise:

        =     yum-config-manager --save --setopt=3Dpgdg10.skip=5Fif=5Funavailable=3Dtrue<= /font>

failure: repodata/repomd.x= ml from pgdg10: [Errno 256] No more mirrors to try.
https://download.post= gresql.org/pub/repos/yum/10/redhat/rhel-latest-x86=5F64/repodata/repomd.xml= :[Errno 14] HTTPS Error 404 -= Not Found


Thanks
tabassum
--=_alternative 0027D20A6525820C_=--