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

From Jeff Frost
Subject Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs
Date
Msg-id 52A0E271.2070707@pgexperts.com
Whole thread Raw
In response to BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs  (vitaly@tskhovrebov.ru)
Responses Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs  (Vitaly Tskhovrebov <vitaly@tskhovrebov.ru>)
Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs  (John R Pierce <pierce@hogranch.com>)
List pgsql-bugs
On 12/05/13 10:02, vitaly@tskhovrebov.ru wrote:
> The following bug has been logged on the website:
>
> Bug reference:      8659
> Logged by:          Vitaly Tskhovrebov
> Email address:      vitaly@tskhovrebov.ru
> PostgreSQL version: 9.2.6
> Operating system:   RHEL6
> Description:
>
> Hello.
>
>
> I have updated Redhat 6 machine with postgresql 9.2.2 installed from pgdg92
> repo.
>
>
> My update attempts fails with errors in dependency resolution, complaining
> about libcrypto and libssl availability. However, here's what I found out:
>
>
> yum deplist --enablerepo=pg92 postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
> Loaded plugins: check_update, downloadonly, priorities, product-id,
> security
> Finding dependencies:
> package: postgresql92-server.x86_64 9.2.6-1PGDG.rhel6
>   dependency: libssl.so.10(libssl.so.10)(64bit)
>    Unsatisfied dependency
>
>
>   dependency: libssl.so.10()(64bit)
>    provider: openssl.x86_64 1.0.0-27.el6_4.2
>    provider: openssl.x86_64 1.0.0-20.el6_2.5
>   dependency: libcrypto.so.10(libcrypto.so.10)(64bit)
>    Unsatisfied dependency
>   dependency: libcrypto.so.10()(64bit)
>    provider: openssl.x86_64 1.0.0-27.el6_4.2
>    provider: openssl.x86_64 1.0.0-20.el6_2.5
>
>
>
>
> Looks like libcrypto.so.10()(64bit) is available, but
> libcrypto.so.10(libcrypto.so.10)(64bit) in the same time is not.

I just tested it on a freshly installed CentOS 6.4 host and it worked fine.
Is it possible that your openssl is installed from some other repository than RHN?

 sudo yum localinstall pgdg-centos92-9.2-6.noarch.rpm

[vagrant@jefftest ~]$ sudo yum install postgresql92-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.freedomvoice.com
 * extras: mirror.raystedman.net
 * updates: mirrors.kernel.org
pgdg92
                                             
| 2.8 kB     00:00
pgdg92/primary_db
                                             
| 149 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package postgresql92-server.x86_64 0:9.2.6-1PGDG.rhel6 will be installed
--> Processing Dependency: postgresql92 = 9.2.6-1PGDG.rhel6 for package:
postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for
package: postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package:
postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package:
postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
--> Running transaction check
---> Package openssl.x86_64 0:1.0.0-27.el6_4.2 will be updated
--> Processing Dependency: openssl = 1.0.0-27.el6_4.2 for package:
openssl-devel-1.0.0-27.el6_4.2.x86_64
---> Package openssl.x86_64 0:1.0.1e-16.el6_5 will be an update
---> Package postgresql92.x86_64 0:9.2.6-1PGDG.rhel6 will be installed
---> Package postgresql92-libs.x86_64 0:9.2.6-1PGDG.rhel6 will be installed
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.0-27.el6_4.2 will be updated
---> Package openssl-devel.x86_64 0:1.0.1e-16.el6_5 will be an update
--> Finished Dependency Resolution

Dependencies Resolved


=============================================================================================================================================================================================
 Package
Arch
Version
Repository                               Size

=============================================================================================================================================================================================
Installing:
 postgresql92-server
x86_64
9.2.6-1PGDG.rhel6
pgdg92                                  3.8 M
Installing for dependencies:
 postgresql92
x86_64
9.2.6-1PGDG.rhel6
pgdg92                                  971 k
 postgresql92-libs
x86_64
9.2.6-1PGDG.rhel6
pgdg92                                  187 k
Updating for dependencies:
 openssl
x86_64
1.0.1e-16.el6_5
updates                                 1.5 M
 openssl-devel
x86_64
1.0.1e-16.el6_5
updates                                 1.2 M

Transaction Summary

=============================================================================================================================================================================================
Install       3 Package(s)
Upgrade       2 Package(s)

Total download size: 7.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/5):
openssl-1.0.1e-16.el6_5.x86_64.rpm
                                      
| 1.5 MB     00:00
(2/5):
openssl-devel-1.0.1e-16.el6_5.x86_64.rpm
                                      
| 1.2 MB     00:00
(3/5):
postgresql92-9.2.6-1PGDG.rhel6.x86_64.rpm
                                      
| 971 kB     00:00
(4/5):
postgresql92-libs-9.2.6-1PGDG.rhel6.x86_64.rpm
                                      
| 187 kB     00:00
(5/5):
postgresql92-server-9.2.6-1PGDG.rhel6.x86_64.rpm
                                      
| 3.8 MB     00:01

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total
                                    
2.3 MB/s | 7.6 MB     00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   :
openssl-1.0.1e-16.el6_5.x86_64
                                                 
1/7
  Installing :
postgresql92-libs-9.2.6-1PGDG.rhel6.x86_64
                                                 
2/7
  Installing :
postgresql92-9.2.6-1PGDG.rhel6.x86_64
                                                 
3/7
  Installing :
postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
                                                 
4/7
  Updating   :
openssl-devel-1.0.1e-16.el6_5.x86_64
                                                 
5/7
  Cleanup    :
openssl-devel-1.0.0-27.el6_4.2.x86_64
                                                 
6/7
  Cleanup    :
openssl-1.0.0-27.el6_4.2.x86_64
                                                 
7/7
  Verifying  :
openssl-devel-1.0.1e-16.el6_5.x86_64
                                                 
1/7
  Verifying  :
postgresql92-libs-9.2.6-1PGDG.rhel6.x86_64
                                                 
2/7
  Verifying  :
openssl-1.0.1e-16.el6_5.x86_64
                                                 
3/7
  Verifying  :
postgresql92-server-9.2.6-1PGDG.rhel6.x86_64
                                                 
4/7
  Verifying  :
postgresql92-9.2.6-1PGDG.rhel6.x86_64
                                                 
5/7
  Verifying  :
openssl-1.0.0-27.el6_4.2.x86_64
                                                 
6/7
  Verifying  :
openssl-devel-1.0.0-27.el6_4.2.x86_64
                                                 
7/7

Installed:
  postgresql92-server.x86_64
0:9.2.6-1PGDG.rhel6
                                       


Dependency Installed:
  postgresql92.x86_64
0:9.2.6-1PGDG.rhel6
postgresql92-libs.x86_64
0:9.2.6-1PGDG.rhel6

Dependency Updated:
  openssl.x86_64
0:1.0.1e-16.el6_5
openssl-devel.x86_64
0:1.0.1e-16.el6_5

Complete!

pgsql-bugs by date:

Previous
From: vitaly@tskhovrebov.ru
Date:
Subject: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs
Next
From: Vitaly Tskhovrebov
Date:
Subject: Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs