Search Postgresql Archives

Re: Trouble installing postgresql server on Amazon Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.klaver@xxxxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux