Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awFJi-0003qI-Ec for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 29 Apr 2016 20:47:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1awFJi-0000qa-17 for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 29 Apr 2016 20:47:14 +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 1awFJh-0000qT-IH for pgsql-pkg-yum@postgresql.org; Fri, 29 Apr 2016 20:47:13 +0000 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1awFJe-00042D-GM for pgsql-pkg-yum@postgresql.org; Fri, 29 Apr 2016 20:47:12 +0000 Received: by mail-oi0-x236.google.com with SMTP id v145so98755155oie.0 for ; Fri, 29 Apr 2016 13:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=montagesoftware-com-au.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=kyjRGZ0fEBYn5aa3AD+H/DuZLV9fzqUKM1xQGTj2v+A=; b=1zjPKhqlWVScUjX6/A1zC4aZtNlC2UmdvuYAkHXnSExTpkxP4h7ctBBjsQbvyISWmC urG7BCA90V944ynXxksvXdpJhAilLwVsHHy6ogJg9M2sq0W5TTCNPMQxSzacCuE2rpf2 98wfo7ha7iPFIjPoy8eyEOMBH6/uYaTPI4bnJmgVg/XiYK5VDbuRvCOsY7dr/d5sRbU8 D4DqVnce5actN5a7oqDPZ+6Sv53i7KOKH4Xgo52mD4lZpxYoVBFGeEUXKxtpsh8EEmFA RBabJc9GMwSHtc7NnN72use3N97kJskKiedVt8w8S3ELMGo+gVPGW/MXsvHP95Wkw8xG j5uA== 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:date :message-id:subject:from:to:cc; bh=kyjRGZ0fEBYn5aa3AD+H/DuZLV9fzqUKM1xQGTj2v+A=; b=WxabiszulljpO+tCQL2RLlNtRRgmJgCGr/djY3Uz3gUxJxHKUAXY2jJiDc3BqThyu8 uUmW7Z553AwynYwPbmXAXn3mGkO5Pb5zicREqT/Yj08u7U3WmxckCyAvnyqTgg2f0r78 w+LnRFdEa/XmOuqb7xppthJnXrG0asOLbx9iR4Y8U2GZLSl3Iuvdq8yBcien3sOjCwEV aNEK/qh3RlKXGnK5dDZhRmHHfPkg7pK4dDGUTXr9CoKMqAPmdHChnmlxwvLn4ODcGmjk 5Bzq06+HHmsr4wjiR+5PeB6kLc/N+CRZ8LTlB5t0GdTZa84YrHjfZPUSVwyUTIZsBX9r POuQ== X-Gm-Message-State: AOPr4FWvMr+OMUaCxf9bHjpPdqY8jD0EUPqqPSp2Nqk2JsZsDtbZaaz1YRhT50tHMNh28LNAxEjoGINkI7mR+w== MIME-Version: 1.0 X-Received: by 10.202.183.7 with SMTP id h7mr9222496oif.118.1461962829875; Fri, 29 Apr 2016 13:47:09 -0700 (PDT) Received: by 10.202.175.17 with HTTP; Fri, 29 Apr 2016 13:47:09 -0700 (PDT) In-Reply-To: <4B763CD0-331F-426E-B28F-23A9CF84C148@gunduz.org> References: <4B763CD0-331F-426E-B28F-23A9CF84C148@gunduz.org> Date: Sat, 30 Apr 2016 06:47:09 +1000 Message-ID: Subject: Re: Postgres yum links currently have 404 errors From: David Micallef To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= Cc: pgsql-pkg-yum@postgresql.org Content-Type: multipart/alternative; boundary=001a113ce0462667400531a5bf9f X-Pg-Spam-Score: -1.9 (-) 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 --001a113ce0462667400531a5bf9f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Half asleep this morning. I did get past that last night and tried sudo yum install postgresql95-server postgresql95 Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest | 2.1 kB 00:00 amzn-updates/latest | 2.3 kB 00:00 pgdg93/latest/x86_64 | 3.6 kB 00:00 https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-latest-x86_64= /repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. One of the configured repositories failed (PostgreSQL 9.5 latest - x86_64)= , and yum doesn't have enough cached data to continue. At this point the onl= y 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 pgdg95 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=3Dpgdg95.skip_if_unavailable=3Dtrue failure: repodata/repomd.xml from pgdg95: [Errno 256] No more mirrors to try. David +61 3 9036 2788 On 30 April 2016 at 06:34, Devrim G=C3=BCnd=C3=BCz wrot= e: > Hi David, > > Blog post has a .rpm suffix at the end of the file. Please use the exact > URL there. That is why you get 404. > > Regards, Devrim > > > On April 29, 2016 11:28:49 PM GMT+03:00, David Micallef < > dave@montagesoftware.com.au> wrote: >> >> Hi >> >> Currently trying to update to 9.5.2 from 9.4.5 on a test web server with >> amazon linux and unfortunately the rpm links seem to have 404. >> >> sudo rpm -Uvh >> http://yum.postgresql.org/9.5/redhat/rhel-6-x86_64/pgdg-redhat95-9.5-2.n= oarch >> >> Error >> >>Retrieving >> http://yum.postgresql.org/9.5/redhat/rhel-6-x86_64/pgdg-redhat95-9.5-2.n= oarch >> curl: (22) The requested URL returned error: 404 Not Found >> error: skipping >> http://yum.postgresql.org/9.5/redhat/rhel-6-x86_64/pgdg-redhat95-9.5-2.n= oarch >> - transfer failed >> >> I was following instructions from this link]( >> http://tecadmin.net/install-postgresql-9-5-on-centos/) >> >> Cheers >> >> Dave >> >> > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > --001a113ce0462667400531a5bf9f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Half asleep this morning. I did get past that last night a= nd tried

=C2=A0 =C2=A0 =C2=A0sudo yum install postg= resql95-server postgresql95


Loaded = plugins: priorities, update-motd, upgrade-helper
amzn-main/latest= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2.1 kB= =C2=A0 =C2=A0 00:00
amzn-updates/latest =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2.3 kB =C2=A0 =C2=A0 00:00
pg= dg93/latest/x86_64 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 3.6= kB =C2=A0 =C2=A0 00:00
https://= download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-latest-x86_64/repodat= a/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL retu= rned error: 404 Not Found"
Trying other mirror.

=C2=A0One of the configured repositories failed= (PostgreSQL 9.5 latest - x86_64),
=C2=A0and yum doesn't have= enough cached data to continue. At this point the only
=C2=A0saf= e thing yum can do is fail. There are a few ways to work "fix" th= is:

=C2=A0 =C2=A0 =C2=A01. Contact the upstream fo= r the repository and get them to fix the problem.

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

=C2=A0 =C2=A0 =C2=A03. Disabl= e the repository, so yum won't use it by default. Yum will then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 just ignore the repository until you permane= ntly enable it again or use
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --enabler= epo for temporary usage:

=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 yum-config-manager --disable pgdg95

<= div>=C2=A0 =C2=A0 =C2=A04. Configure the failing repository to be skipped, = if it is unavailable.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Note that yum w= ill try to contact the repo. when it runs most commands,
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 so will have to try and fail each time (and thus. yum = will be be much
=C2=A0 =C2=A0 =C2=A0 =C2=A0 slower). If it is a v= ery temporary problem though, this is often a nice
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 compromise:

=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 yum-config-manager --save --setopt=3Dpgdg95.skip_if_unava= ilable=3Dtrue

failure: repodata/repomd.xml from pg= dg95: [Errno 256] No more mirrors to try.

<= div class=3D"gmail_extra">
David
+61 3 9036 2788


On 30 April 2016 at 06:34, Devrim G=C3=BCnd= =C3=BCz <devrim@gunduz.org> wrote:
Hi David,

Blog post has a .rpm suffix at the end of the file. Please use the exact UR= L there. That is why you get 404.

Regards, Devrim


On= April 29, 2016 11:28:49 PM GMT+03:00, David Micallef <dave@montagesoftware.com.au= > wrote:
Hi

Currently trying to updat= e to 9.5.2 from 9.4.5 on a test web server with amazon linux and unfortunat= ely the rpm links seem to have 404.


=
Error =C2=A0 =C2=A0
curl: (22) The requested URL returned er= ror: 404 Not Found

I was following instru= ctions from this link](http://tecadmin.net/install-postgresql-9-5-on-centos/)

Cheers

Dave


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
=

--001a113ce0462667400531a5bf9f--