pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Kris Deugau <kdeugau@vianet.ca>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: install Postgres on RHED 7
Date: Wed, 19 Dec 2018 17:40:37 -0500
Message-ID: <16116df4-3ae8-688b-5794-440e47d61ba1@vianet.ca> (raw )
In-Reply-To: <1026281491.6868813.1545244876819@mail.yahoo.com >
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 >
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: <16116df4-3ae8-688b-5794-440e47d61ba1@vianet.ca>
Permalink: ../16116df4-3ae8-688b-5794-440e47d61ba1@vianet.ca/
Also on: postgresql.org/message-id/16116df4-3ae8-688b-5794-440e47d61ba1@vianet.ca
copy link · copy postgr.es
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: kdeugau@vianet.ca, pgsql-admin@lists.postgresql.org
Subject: Re: install Postgres on RHED 7
In-Reply-To: <16116df4-3ae8-688b-5794-440e47d61ba1@vianet.ca>
* 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