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: Thu, 20 Dec 2018 17:53:03 +0000 (UTC)
Message-ID: <404624400.7401294.1545328383827@mail.yahoo.com> (raw)
In-Reply-To: <16116df4-3ae8-688b-5794-440e47d61ba1@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>

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.
thank you for all your advise and suggestion.
v/r,

 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 Wednesday, December 19, 2018 5:41 PM, Kris Deugau <kdeugau@vianet.ca> wrote:
 

 Pepe TD Vo wrote:
> I have downloaded 
> https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7server-x86_64/repodata/repo 
> <https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7server-x86_64/repodata/repomd.exl:>..., 
> what location should I put it in?  Also, I saw drmp folder, do I need to 
> download this folder too?

Unless you're maintaining the repository you shouldn't need to manually 
download parts of it;  that's what tools like yum are for.  (I'm not 
sure trying to hand-feed parts of a repository to yum is going to work 
well anyway;  parts of the local cache will end up mismatched and yum 
may delete the whole set as corrupt.  I haven't done much with RPM-based 
systems in a while so I'm not sure what yum would do.)

If yum can't access a public repository like PGDG, you'll need to 
investigate the network path and DNS results as suggested a couple of 
times.  Looking back up the messages you may also need to contact Red 
Hat support for assistance adding a third-party repository to the yum 
configuration.  The error you reported doesn't seem to make sense to me 
for a third-party repository, only for the primary official Red Hat one(s).

It's also sounding a little like you're behind a restrictive firewall 
that's blocking access;  in that case you should either work with your 
network administrators to open access, or skip the regular repository 
access entirely and manually download the .rpm package files you need 
for the Postgres components you want to eg a USB stick.  Or to another 
server that you *can* access from the machine you want to do the install on.

At that point you're back to "try to install this package file, see what 
dependencies it's missing, download the missing dependencies", and 
repeat until you've got things installed.  I don't recommend this;  for 
complex packages it can take hours.  And you have to do it all over 
again when a package update comes out.

-kgd



   

view thread (31+ messages)  latest in thread

Message-ID: <404624400.7401294.1545328383827@mail.yahoo.com>
Permalink:  ../404624400.7401294.1545328383827@mail.yahoo.com/
Also on:    postgresql.org/message-id/404624400.7401294.1545328383827@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: <404624400.7401294.1545328383827@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