Cannot install postgresql 9.4 on Centos 7
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am following https://www.postgresql.org/download/linux/redhat/ to install postgrsql 9.4 on Centos 7, using the command:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
This gives output:
[root@localhost /]# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
Loaded plugins: fastestmirror
pgdg-centos94-9.4-3.noarch.rpm | 5.4 kB 00:00
Examining /var/tmp/yum-root-6jRPAn/pgdg-centos94-9.4-3.noarch.rpm: pgdg-centos94-9.4-3.noarch
/var/tmp/yum-root-6jRPAn/pgdg-centos94-9.4-3.noarch.rpm: does not update installed package.
Error: Nothing to do
Then, I run yum install postgresql94
, which gives:
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* epel: mirror.premi.st
* extras: ftp.jaist.ac.jp
* updates: ftp.jaist.ac.jp
No package postgresql94 available.
Error: Nothing to do
How can I install postgresql 9.4 on CentOS 7?
centos postgresql
add a comment |Â
up vote
1
down vote
favorite
I am following https://www.postgresql.org/download/linux/redhat/ to install postgrsql 9.4 on Centos 7, using the command:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
This gives output:
[root@localhost /]# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
Loaded plugins: fastestmirror
pgdg-centos94-9.4-3.noarch.rpm | 5.4 kB 00:00
Examining /var/tmp/yum-root-6jRPAn/pgdg-centos94-9.4-3.noarch.rpm: pgdg-centos94-9.4-3.noarch
/var/tmp/yum-root-6jRPAn/pgdg-centos94-9.4-3.noarch.rpm: does not update installed package.
Error: Nothing to do
Then, I run yum install postgresql94
, which gives:
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* epel: mirror.premi.st
* extras: ftp.jaist.ac.jp
* updates: ftp.jaist.ac.jp
No package postgresql94 available.
Error: Nothing to do
How can I install postgresql 9.4 on CentOS 7?
centos postgresql
Looks like you a version of postgresql already installed. Run "yum info postgresql" to verify. Then remove the current version before running the initial yum install command with the http link. You will in effect downgrade your currently installed version.
â Raman Sailopal
May 29 at 12:47
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am following https://www.postgresql.org/download/linux/redhat/ to install postgrsql 9.4 on Centos 7, using the command:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
This gives output:
[root@localhost /]# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
Loaded plugins: fastestmirror
pgdg-centos94-9.4-3.noarch.rpm | 5.4 kB 00:00
Examining /var/tmp/yum-root-6jRPAn/pgdg-centos94-9.4-3.noarch.rpm: pgdg-centos94-9.4-3.noarch
/var/tmp/yum-root-6jRPAn/pgdg-centos94-9.4-3.noarch.rpm: does not update installed package.
Error: Nothing to do
Then, I run yum install postgresql94
, which gives:
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* epel: mirror.premi.st
* extras: ftp.jaist.ac.jp
* updates: ftp.jaist.ac.jp
No package postgresql94 available.
Error: Nothing to do
How can I install postgresql 9.4 on CentOS 7?
centos postgresql
I am following https://www.postgresql.org/download/linux/redhat/ to install postgrsql 9.4 on Centos 7, using the command:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
This gives output:
[root@localhost /]# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
Loaded plugins: fastestmirror
pgdg-centos94-9.4-3.noarch.rpm | 5.4 kB 00:00
Examining /var/tmp/yum-root-6jRPAn/pgdg-centos94-9.4-3.noarch.rpm: pgdg-centos94-9.4-3.noarch
/var/tmp/yum-root-6jRPAn/pgdg-centos94-9.4-3.noarch.rpm: does not update installed package.
Error: Nothing to do
Then, I run yum install postgresql94
, which gives:
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* epel: mirror.premi.st
* extras: ftp.jaist.ac.jp
* updates: ftp.jaist.ac.jp
No package postgresql94 available.
Error: Nothing to do
How can I install postgresql 9.4 on CentOS 7?
centos postgresql
asked May 29 at 12:41
JasonStack
17410
17410
Looks like you a version of postgresql already installed. Run "yum info postgresql" to verify. Then remove the current version before running the initial yum install command with the http link. You will in effect downgrade your currently installed version.
â Raman Sailopal
May 29 at 12:47
add a comment |Â
Looks like you a version of postgresql already installed. Run "yum info postgresql" to verify. Then remove the current version before running the initial yum install command with the http link. You will in effect downgrade your currently installed version.
â Raman Sailopal
May 29 at 12:47
Looks like you a version of postgresql already installed. Run "yum info postgresql" to verify. Then remove the current version before running the initial yum install command with the http link. You will in effect downgrade your currently installed version.
â Raman Sailopal
May 29 at 12:47
Looks like you a version of postgresql already installed. Run "yum info postgresql" to verify. Then remove the current version before running the initial yum install command with the http link. You will in effect downgrade your currently installed version.
â Raman Sailopal
May 29 at 12:47
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
1
down vote
Did you update the cache with yum makecache fast
? Because on a clean system this makes postgres 9.4 available:
# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
# yum makecache fast
...
pgdg94 | 4.1 kB 00:00
...
# yum -y list | sort > yl
# grep -i postgresql yl | grep -v base
...
# yum info postgresql94
...
(I keep a yl
file around for easy grepping.)
After running these commands, still does cannot install postgresql 9.4.
â JasonStack
May 30 at 4:32
In fact, by running I was able to reinstall postgresql94 but again I cannot install postgresql94 even after runningyum makecache fast
.
â JasonStack
May 30 at 4:50
add a comment |Â
up vote
1
down vote
First of all try to find what packages related to postgresql are installed. For this run below commands:
rpm -qa|grep postgres
Above command will give a list of installed packages.
Now remove each of the listed packages one by one by giving below command:
rpm -e <package-name>
OR
yum remove <package-name>
After removing all the listed packages, try installing postgresql-9.4 the same way you were trying to install as mentioned in question.
add a comment |Â
up vote
0
down vote
Go to postgresql download site and select desired postgresql version and your distribution and architecture (In this case, 9.4, CentOS 7, and x86_64, respectively). Then a command appears you need to run to install postgresql94:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
In the above statement, change install to reinstall
and run it:
yum reinstall https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
You will then be able to successfully run:yum install postgresql94
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Did you update the cache with yum makecache fast
? Because on a clean system this makes postgres 9.4 available:
# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
# yum makecache fast
...
pgdg94 | 4.1 kB 00:00
...
# yum -y list | sort > yl
# grep -i postgresql yl | grep -v base
...
# yum info postgresql94
...
(I keep a yl
file around for easy grepping.)
After running these commands, still does cannot install postgresql 9.4.
â JasonStack
May 30 at 4:32
In fact, by running I was able to reinstall postgresql94 but again I cannot install postgresql94 even after runningyum makecache fast
.
â JasonStack
May 30 at 4:50
add a comment |Â
up vote
1
down vote
Did you update the cache with yum makecache fast
? Because on a clean system this makes postgres 9.4 available:
# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
# yum makecache fast
...
pgdg94 | 4.1 kB 00:00
...
# yum -y list | sort > yl
# grep -i postgresql yl | grep -v base
...
# yum info postgresql94
...
(I keep a yl
file around for easy grepping.)
After running these commands, still does cannot install postgresql 9.4.
â JasonStack
May 30 at 4:32
In fact, by running I was able to reinstall postgresql94 but again I cannot install postgresql94 even after runningyum makecache fast
.
â JasonStack
May 30 at 4:50
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Did you update the cache with yum makecache fast
? Because on a clean system this makes postgres 9.4 available:
# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
# yum makecache fast
...
pgdg94 | 4.1 kB 00:00
...
# yum -y list | sort > yl
# grep -i postgresql yl | grep -v base
...
# yum info postgresql94
...
(I keep a yl
file around for easy grepping.)
Did you update the cache with yum makecache fast
? Because on a clean system this makes postgres 9.4 available:
# yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
# yum makecache fast
...
pgdg94 | 4.1 kB 00:00
...
# yum -y list | sort > yl
# grep -i postgresql yl | grep -v base
...
# yum info postgresql94
...
(I keep a yl
file around for easy grepping.)
answered May 29 at 14:02
thrig
21.9k12751
21.9k12751
After running these commands, still does cannot install postgresql 9.4.
â JasonStack
May 30 at 4:32
In fact, by running I was able to reinstall postgresql94 but again I cannot install postgresql94 even after runningyum makecache fast
.
â JasonStack
May 30 at 4:50
add a comment |Â
After running these commands, still does cannot install postgresql 9.4.
â JasonStack
May 30 at 4:32
In fact, by running I was able to reinstall postgresql94 but again I cannot install postgresql94 even after runningyum makecache fast
.
â JasonStack
May 30 at 4:50
After running these commands, still does cannot install postgresql 9.4.
â JasonStack
May 30 at 4:32
After running these commands, still does cannot install postgresql 9.4.
â JasonStack
May 30 at 4:32
In fact, by running I was able to reinstall postgresql94 but again I cannot install postgresql94 even after running
yum makecache fast
.â JasonStack
May 30 at 4:50
In fact, by running I was able to reinstall postgresql94 but again I cannot install postgresql94 even after running
yum makecache fast
.â JasonStack
May 30 at 4:50
add a comment |Â
up vote
1
down vote
First of all try to find what packages related to postgresql are installed. For this run below commands:
rpm -qa|grep postgres
Above command will give a list of installed packages.
Now remove each of the listed packages one by one by giving below command:
rpm -e <package-name>
OR
yum remove <package-name>
After removing all the listed packages, try installing postgresql-9.4 the same way you were trying to install as mentioned in question.
add a comment |Â
up vote
1
down vote
First of all try to find what packages related to postgresql are installed. For this run below commands:
rpm -qa|grep postgres
Above command will give a list of installed packages.
Now remove each of the listed packages one by one by giving below command:
rpm -e <package-name>
OR
yum remove <package-name>
After removing all the listed packages, try installing postgresql-9.4 the same way you were trying to install as mentioned in question.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
First of all try to find what packages related to postgresql are installed. For this run below commands:
rpm -qa|grep postgres
Above command will give a list of installed packages.
Now remove each of the listed packages one by one by giving below command:
rpm -e <package-name>
OR
yum remove <package-name>
After removing all the listed packages, try installing postgresql-9.4 the same way you were trying to install as mentioned in question.
First of all try to find what packages related to postgresql are installed. For this run below commands:
rpm -qa|grep postgres
Above command will give a list of installed packages.
Now remove each of the listed packages one by one by giving below command:
rpm -e <package-name>
OR
yum remove <package-name>
After removing all the listed packages, try installing postgresql-9.4 the same way you were trying to install as mentioned in question.
answered May 30 at 6:07
Naushad Ahmad
1409
1409
add a comment |Â
add a comment |Â
up vote
0
down vote
Go to postgresql download site and select desired postgresql version and your distribution and architecture (In this case, 9.4, CentOS 7, and x86_64, respectively). Then a command appears you need to run to install postgresql94:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
In the above statement, change install to reinstall
and run it:
yum reinstall https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
You will then be able to successfully run:yum install postgresql94
add a comment |Â
up vote
0
down vote
Go to postgresql download site and select desired postgresql version and your distribution and architecture (In this case, 9.4, CentOS 7, and x86_64, respectively). Then a command appears you need to run to install postgresql94:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
In the above statement, change install to reinstall
and run it:
yum reinstall https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
You will then be able to successfully run:yum install postgresql94
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Go to postgresql download site and select desired postgresql version and your distribution and architecture (In this case, 9.4, CentOS 7, and x86_64, respectively). Then a command appears you need to run to install postgresql94:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
In the above statement, change install to reinstall
and run it:
yum reinstall https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
You will then be able to successfully run:yum install postgresql94
Go to postgresql download site and select desired postgresql version and your distribution and architecture (In this case, 9.4, CentOS 7, and x86_64, respectively). Then a command appears you need to run to install postgresql94:
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
In the above statement, change install to reinstall
and run it:
yum reinstall https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
You will then be able to successfully run:yum install postgresql94
answered May 30 at 5:50
JasonStack
17410
17410
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446685%2fcannot-install-postgresql-9-4-on-centos-7%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Looks like you a version of postgresql already installed. Run "yum info postgresql" to verify. Then remove the current version before running the initial yum install command with the http link. You will in effect downgrade your currently installed version.
â Raman Sailopal
May 29 at 12:47