Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZkWL-00061m-G5 for pgsql-admin@arkaria.postgresql.org; Wed, 19 Dec 2018 22:40:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gZkWI-0006ZR-Tl for pgsql-admin@arkaria.postgresql.org; Wed, 19 Dec 2018 22:40:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZkWI-0006ZI-M8 for pgsql-admin@lists.postgresql.org; Wed, 19 Dec 2018 22:40:50 +0000 Received: from smtp1.vianet.ca ([209.91.128.18]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZkWA-0006ky-29 for pgsql-admin@lists.postgresql.org; Wed, 19 Dec 2018 22:40:49 +0000 Received: from [192.168.99.115] (pem-goatfarm.vianet.ca [209.91.179.158]) (Authenticated sender: kdeugau@vianet.ca) by smtp1.vianet.ca (Postfix) with ESMTPSA id 3F53F4045C for ; Wed, 19 Dec 2018 17:40:38 -0500 (EST) Subject: Re: install Postgres on RHED 7 To: "pgsql-admin@lists.postgresql.org" References: <1631501735.1420767.1545138861194.ref@mail.yahoo.com> <1631501735.1420767.1545138861194@mail.yahoo.com> <413070647.1500395.1545146432141@mail.yahoo.com> <655950091.6682015.1545227950414@mail.yahoo.com> <1647331387.6706670.1545231013241@mail.yahoo.com> <1026281491.6868813.1545244876819@mail.yahoo.com> From: Kris Deugau Organization: Vianet Internet Solutions Mail-Followup-To: "pgsql-admin@lists.postgresql.org" Message-ID: <16116df4-3ae8-688b-5794-440e47d61ba1@vianet.ca> Date: Wed, 19 Dec 2018 17:40:37 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <1026281491.6868813.1545244876819@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Pepe TD Vo wrote: > I have downloaded > https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7server-x86_64/repodata/repo > md.xml, > 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