Re: Download question

From: Martín Marqués <martin(at)2ndquadrant(dot)com>
To: Jeff Frost <jeff(at)pgexperts(dot)com>, "WHITMORE, MARK J GS-12 USAF AFMC 517 SMXS/MXDEC" <mark(dot)whitmore(dot)1(at)us(dot)af(dot)mil>
Cc: "pgsql-pkg-yum(at)postgresql(dot)org" <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: Download question
Date: 2015-10-04 22:44:45
Message-ID: 5611ABDD.7010800@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

El 29/09/15 a las 14:22, Jeff Frost escribió:
> Mark,
>
> I just launched a fresh centos7 vagrant, configured the yum repo and installed postgresql94 postgresql94-contrib postgresql94-libs and postgresql94-server.
>
> Here’s what all yum decided to download:
>
> =============================================================================================================================================================================================================================================
> Package Arch Version Repository Size
> =============================================================================================================================================================================================================================================
> Installing:
> postgresql94 x86_64 9.4.4-1PGDG.rhel6 pgdg94 1.0 M
> postgresql94-contrib x86_64 9.4.4-1PGDG.rhel6 pgdg94 529 k
> postgresql94-libs x86_64 9.4.4-1PGDG.rhel6 pgdg94 193 k
> postgresql94-server x86_64 9.4.4-1PGDG.rhel6 pgdg94 4.3 M
> Installing for dependencies:
> libxslt x86_64 1.1.26-2.el6_3.1 base 452 k
> Updating for dependencies:
> openssl x86_64 1.0.1e-42.el6 base 1.5 M
> openssl-devel x86_64 1.0.1e-42.el6 base 1.2 M
>
>
> Let me know if you want any of the other packages and I can test that as well.

If you were installing on a centos7 system, why did you get rhel6 packages?

I get this on my centos local VM:

[root(at)rhel7 ~]# yum install postgresql94-libs postgresql94-contrib
postgresql94-server
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
* base: mirrors.dcarsat.com.ar
* extras: mirrors.dcarsat.com.ar
* updates: mirrors.dcarsat.com.ar
Resolving Dependencies
--> Running transaction check
---> Package postgresql94-contrib.x86_64 0:9.4.4-1PGDG.rhel7 will be
installed
--> Processing Dependency: postgresql94(x86-64) = 9.4.4-1PGDG.rhel7 for
package: postgresql94-contrib-9.4.4-1PGDG.rhel7.x86_64
---> Package postgresql94-libs.x86_64 0:9.4.4-1PGDG.rhel7 will be installed
---> Package postgresql94-server.x86_64 0:9.4.4-1PGDG.rhel7 will be
installed
--> Running transaction check
---> Package postgresql94.x86_64 0:9.4.4-1PGDG.rhel7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================
Package Arch Version
Repository Size
=================================================================================
Installing:
postgresql94-contrib x86_64 9.4.4-1PGDG.rhel7 pgdg94
609 k
postgresql94-libs x86_64 9.4.4-1PGDG.rhel7 pgdg94
208 k
postgresql94-server x86_64 9.4.4-1PGDG.rhel7 pgdg94
3.9 M
Installing for dependencies:
postgresql94 x86_64 9.4.4-1PGDG.rhel7 pgdg94
1.0 M

Transaction Summary
=================================================================================
Install 3 Packages (+1 Dependent package)

BTW Mark, you can use yumdownloader with the same list of packages to
download all the rpms on a machine with access to the internet and then
pass the rpms over to the final server (I imagine that's the problem you
are trying to circumvent).

Regards,

--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Jeff Frost 2015-10-07 15:00:05 super slow build host
Previous Message Jeff Frost 2015-09-29 17:22:55 Re: Download question