I was try to install postgresql11 on CentOS7. I found the instruction of install in offical site: https://www.postgresql.org/download/linux/redhat/
Then I follow it's step and select following parameter:
1.version: 11
2.platform: RedHat Enterprise,CentOS, Scientific or Oracle version 7
3.architecture: x86_64
Got the command for install the resository RPM:
yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
I run it on server successful. Then I try to run the command for install the client packages:
yum install postgresql11
I got following error when I execute this command:
File contains parsing errors: file:///etc/yum.repos.d/pgdg-redhat-all.repo
[line 196]: [pgdg96-updates-debuginfo]k
[line 203]: [pgdg95-updates-debuginfo]k
I met same error when I try to erase this package use command:
yum erase pgdg-redhat-repo
I couldn't found any content in /etc/yum.repos.d use command:
cd /etc/yum.repos.d/ && grep pgdg-redhat-all.repo ./*
I had already search this error in google and seems no one met this error. Does anyone knows how to solve this problem?