Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs

From: Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
To: Vitaly Tskhovrebov <vitaly(at)tskhovrebov(dot)ru>
Cc: Jeff Frost <jeff(at)pgexperts(dot)com>, John R Pierce <pierce(at)hogranch(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs
Date: 2013-12-07 04:01:15
Message-ID: 52A29D8B.3010308@catalyst.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 07/12/13 12:36, Vitaly Tskhovrebov wrote:
> That's because I created this yum repo file myself, as this host
> cannot have access to internet. Also, I mirrored yum.postgresql.org
> into my network so box can access it, no mystery here. Enable=0 that's
> why switch is needed.
>
> Of course you have this dependency shown as you already have openssl
> 1.0.1e installed. But should you try to list them on machine with
> lower version - it will never mention you need 1.0.1e at all.
>

Right - therein would appear to lie the problem. Using EC2 again:

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)

$ yum --disablerepo="*" --enablerepo=pgdg92 deplist
postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
Loaded plugins: amazon-id, rhui-lb, security
Finding dependencies:
package: postgresql92-server.x86_64 9.2.6-1PGDG.rhel6
dependency: libssl.so.10(libssl.so.10)(64bit)
Unsatisfied dependency <========================
...

Which is exactly your problem, you need access to the repos [1] (or you
need to mirror them), since everything is fine in that case:

$ yum deplist postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
Loaded plugins: amazon-id, rhui-lb, security
Finding dependencies:
package: postgresql92-server.x86_64 9.2.6-1PGDG.rhel6
dependency: libssl.so.10(libssl.so.10)(64bit)
provider: openssl.x86_64 1.0.1e-15.el6
provider: openssl.x86_64 1.0.1e-16.el6_5
...

I don't know if it is feasible/possible/legal to mirror Redhat repos
(I'm merely messing with Redhat to help you - I normally use Ubuntu).

I would suggest that if you are avoiding use of the repos because of
lack of subscription then moving to Centos would make sense - these days
running a Linux distribution *without* access to updates etc is really
not a great idea!

Cheers

Mark

[1] specifically: rhui-REGION-rhel-server-releases

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mark Kirkwood 2013-12-07 04:14:24 Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs
Previous Message cbfgterfdy 2013-12-07 00:03:38 BUG #8662: psql -H and ts_headline