Re: Update to pg9.4.12 failing with Error: Cannot find a valid baseurl for repo

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Payal Singh <payal(at)omniti(dot)com>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: Update to pg9.4.12 failing with Error: Cannot find a valid baseurl for repo
Date: 2017-05-16 15:51:28
Message-ID: 1494949888.2785.30.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi,

On Tue, 2017-05-16 at 11:01 -0400, Payal Singh wrote:
> Running into 'invalid release' error when trying to update postgres to the
> latest minor version 9.4.12 on CentOS 5.11:
>
> sudo yum update postgresql94.x86_64 postgresql94-contrib.x86_64
> postgresql94-devel.x86_64 postgresql94-libs.x86_64
> postgresql94-server.x86_64
> Loaded plugins: dellsysid, fastestmirror
> Loading mirror speeds from cached hostfile
> YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
>  Eg. Invalid release/

You are getting this message from CentOS-Base repo, not from us, as you can see
from this message:

> Error: Cannot find a valid baseurl for repo: base

So, you will need to disable CentOS repos first.

Regards,

--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Bruno Wolff III 2017-05-23 12:42:51 Beta 1 packages not available for Fedora
Previous Message Payal Singh 2017-05-16 15:01:48 Update to pg9.4.12 failing with Error: Cannot find a valid baseurl for repo