pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pepe TD Vo <pepevo@yahoo.com>
To: Kris Deugau <kdeugau@vianet.ca>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: install Postgres on RHED 7
Date: Tue, 8 Jan 2019 18:07:25 +0000 (UTC)
Message-ID: <1417769599.15062732.1546970845229@mail.yahoo.com> (raw)
In-Reply-To: <b5ece8ff-866c-703d-1a1f-30cd2170980f@vianet.ca>
References: <1631501735.1420767.1545138861194.ref@mail.yahoo.com>
	<1631501735.1420767.1545138861194@mail.yahoo.com>
	<CACX1UnkYGqvyfafnFFTwrJv-Enhy4JbQvVeWW8vGnNX3u4K1Fg@mail.gmail.com>
	<413070647.1500395.1545146432141@mail.yahoo.com>
	<fbc8e83b-9589-f5f5-99e4-3f8cc9a510e2@quadratum-braccas.com>
	<655950091.6682015.1545227950414@mail.yahoo.com>
	<CAGDYbUOCN+Sg5ik2joFRdAO=5b6Vpi6+Q28iYr0k=xS3T12xPg@mail.gmail.com>
	<1647331387.6706670.1545231013241@mail.yahoo.com>
	<CAGDYbUNCxw0T-wPrFC-L8kQ5asROzxXOAiFXR171PzFp5ShrEg@mail.gmail.com>
	<1026281491.6868813.1545244876819@mail.yahoo.com>
	<16116df4-3ae8-688b-5794-440e47d61ba1@vianet.ca>
	<404624400.7401294.1545328383827@mail.yahoo.com>
	<b5ece8ff-866c-703d-1a1f-30cd2170980f@vianet.ca>

finally the SA installed the OS libraries and I installed the server packages successful but not postgres11-contrib.#yum install postgresql11-server postgresql11-contrib  --> I see no package postgresql11-contrib availabeDependencies resolvedTransaction test succeededrunning transaction installing: libicu-50.1.2.17.el7.x86_64   1/2Installing: postgresql11-11.1-1PGDG.rhel7.x86_64   2/3failed to link /usr/bin/psql -> /etc/alternative/pgsql-psql: /usr/bin/pgql exists and it's not a a symlinkfailed to link /usr/bin/clusterdb -> /etc/alternatives/pgsql-clusterdb: /usr/bin/clusterdb exist and itis not a symlink
failed to link /usr/bin/createdb -> /etc/alternatives/pgsql-createdb: /usr/bin/createdb exist and it is not a symlinkfailed to link /usr/bin/createuser -> /etc/alternatives/pgsql-createuser: /usr/bin/createuse exist and it is not a symlink
failed to link /usr/bin/dropdb -> /etc/alternatives/pgsql-dropdb: /usr/bin/dropdb exist and it is not a symlinkfailed to link /usr/bin/dropuser -> /etc/alternatives/pgsql-dropuser: /usr/bin/dropuser exist and it is not a symlinkfailed to link /usr/bin/pg_basebackup -> /etc/alternatives/pgsql-pg_basebackup: /usr/bin/pg_basebackup exist and itis not a symlinkfailed to link /usr/bin/pg_dump -> /etc/alternatives/pgsql-pg_dump: /usr/bin/pg_dump exist and it is not a symlinkfailed to link /usr/bin/pg_dumpall -> /etc/alternatives/pgsql-pgdumpall: /usr/bin/pg_dumpall exist and it is not a symlinkfailed to link /usr/bin/pg_dumpall -> /etc/alternatives/pgsql-pgdumpall: /usr/bin/pg_dumpall exist and it is not a symlink



After the server successful install, I initialize the database an/usr/pgsql-11/bin/postgresql-11-setup initdb Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing success 

    On Thursday, December 20, 2018 4:17 PM, Kris Deugau <kdeugau@vianet.ca> wrote:
 

 Pepe TD Vo wrote:
> May you suggest me exactly repositories packages needed for install 
> PostgreSQL?  Seem to me this link, 
> https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/  
> all rpm files needed another dependencies.  Total more than 300 files 
> and only a few allow me to install the rest of them needed another 
> dependencies and didn't give me exactly what they are.

Some of them will be from the stock Red Hat repositories, and some will 
be from the PGDG repository.  I haven't used that repository, and I 
haven't done much on an RPM-based system for a while so I can't give you 
any more specific information.

It's possible - but very tedious and difficult - to install a package 
with a large dependency tree entirely by hand.  I *have* done this 
myself in the past, and I recall a few cases where it literally took two 
or three hours to get everything installed to support the specific 
package I started out trying to install.  This is why tools like yum 
were developed;  they do the work of checking through the list to see 
what's required, and where it can be installed from.

This isn't specific to Postgres;  it's how the underlying OS package 
system works.  You may want to see if someone in your office has more 
experience installing packages on RHEL with yum and ask them to give you 
a hand.  You've got several issues around yum's basic operation that you 
need to fix, and local network/systems admins should know enough about 
your setup to help a lot faster.

-kgd



   

view thread (31+ messages)  latest in thread

Message-ID: <1417769599.15062732.1546970845229@mail.yahoo.com>
Permalink:  ../1417769599.15062732.1546970845229@mail.yahoo.com/
Also on:    postgresql.org/message-id/1417769599.15062732.1546970845229@mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pepevo@yahoo.com, kdeugau@vianet.ca, pgsql-admin@lists.postgresql.org
  Subject: Re: install Postgres on RHED 7
  In-Reply-To: <1417769599.15062732.1546970845229@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox