Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs - Mailing list pgsql-bugs

From Mark Kirkwood
Subject Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs
Date
Msg-id 52A29D8B.3010308@catalyst.net.nz
Whole thread Raw
In response to Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs  (Vitaly Tskhovrebov <vitaly@tskhovrebov.ru>)
Responses Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
List 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

pgsql-bugs by date:

Previous
From: Vitaly Tskhovrebov
Date:
Subject: Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs
Next
From: Mark Kirkwood
Date:
Subject: Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs