Re: Trouble installing postgresql server on Amazon Linux

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Augori <augori(at)gmail(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trouble installing postgresql server on Amazon Linux
Date: 2016-02-08 16:33:35
Message-ID: 56B8C35F.9070809@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/07/2016 01:35 PM, Augori wrote:
> Thanks for the reply. Yes, it seems that you're right about having
> multiple pgdg93 repos,.
>
> # yum repolist
> Loaded plugins: priorities, update-motd, upgrade-helper
> Repository pgdg93 is listed more than once in the configuration
> Repository pgdg93-source is listed more than once in the configuration
> 8 packages excluded due to repository priority protections
> repo id repo name
> status
> !amzn-main/latest amzn-main-Base
> 5,443+50
> !amzn-updates/latest
> amzn-updates-Base 692+48
> percona-release-noarch/latest Percona-Release YUM repository -
> n 37
> percona-release-x86_64/latest/x86_64 Percona-Release YUM repository -
> x 724+4
> pgdg93/x86_64 PostgreSQL 9.3 - Amazon Linux
> AMI 284+4
> repolist: 7,180
>
> Can you suggest how I can go about removing the duplicate?
> # ls -l /etc/yum.repos.d /etc/yum.repos.d
> /etc/yum.repos.d:
> total 36
> -rw-r--r-- 1 root root 696 Feb 2 17:52 amzn-main.repo
> -rw-r--r-- 1 root root 328 Sep 16 00:48 amzn-nosrc.repo
> -rw-r--r-- 1 root root 694 Sep 16 00:48 amzn-preview.repo
> -rw-r--r-- 1 root root 714 Feb 2 17:52 amzn-updates.repo
> -rw-r--r-- 1 root root 957 Mar 1 2013 epel.repo
> -rw-r--r-- 1 root root 1056 Mar 1 2013 epel-testing.repo
> -rw-r--r-- 1 root root 2501 Sep 22 2014 percona-release.repo
> -rw-r--r-- 1 root root 490 Oct 21 09:07 pgdg-93-ami201503.repo
> -rw-r--r-- 1 root root 442 May 8 2013 pgdg-93-redhat.repo
>
>
> ... In fact, it seems like both of them must be the wrong repos? So I
> need to remove these?
> # rpm -e pgdg-93-redhat.repo
> error: package pgdg-93-redhat.repo is not installed
> # rpm -e pgdg-93-ami201503.repo
> error: package pgdg-93-ami201503.repo is not installed

Well these are repos not packages.

I do not use YUM as I am not a RH user, but I did find this:

http://www.if-not-true-then-false.com/2010/yum-remove-repo-repository-yum-disable-repo-repository/

>
>
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Holzman 2016-02-08 16:34:06 Re: FDW and transaction management
Previous Message Adrian Klaver 2016-02-08 16:25:35 Re: FDW and transaction management