Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PostgreSQL on Oracle Linux 6.7

JhilMay 4 2020 — edited May 4 2020

Dear Experts,

I am trying to install Postgres on Oracle LINUX 6.7

Why Yum got failed and wget was succeeded ?  Anyhow please throw some light on this.

>>

[root@ausuat1 ~]# yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-6-x86_64/pgdg-redhat-repo-latest.noarch.rpm

Loaded plugins: aliases, changelog, kabi, presto, refresh-packagekit, security, tmprepo, ulninfo, verify, versionlock

Loading support for kernel ABI

Setting up Install Process

Cannot open: https://download.postgresql.org/pub/repos/yum/reporpms/EL-6-x86_64/pgdg-redhat-repo-latest.noarch.rpm. Skipping.

Error: Nothing to do

>>

[root@ausuat1 ~]# cd /etc/yum.repos.d/

[root@ausuat1 yum.repos.d]# ls -l

total 8

-rw-r--r--. 1 root root 4949 Dec 30 19:44 public-yum-ol6.repo

>>

[root@ausuat1 yum.repos.d]#  wget https://download.postgresql.org/pub/repos/yum/reporpms/EL-6-x86_64/pgdg-redhat-repo-latest.noarch.rpm

--2020-05-04 15:38:59--  https://download.postgresql.org/pub/repos/yum/reporpms/EL-6-x86_64/pgdg-redhat-repo-latest.noarch.rpm

Resolving download.postgresql.org... 147.75.85.69, 72.32.157.246, 87.238.57.227, ...

Connecting to download.postgresql.org|147.75.85.69|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 6636 (6.5K) [application/x-redhat-package-manager]

Saving to: “pgdg-redhat-repo-latest.noarch.rpm”

100%[=============================================================================================================>] 6,636       --.-K/s   in 0.003s 

2020-05-04 15:39:00 (2.53 MB/s) - “pgdg-redhat-repo-latest.noarch.rpm” saved [6636/6636]

Thanks

This post has been answered by Dude! on May 4 2020
Jump to Answer
Comments
Post Details
Added on May 4 2020
6 comments
1,199 views