repo package update and psycopg2 - Mailing list pgsql-pkg-yum

From Cheng Zhou
Subject repo package update and psycopg2
Date
Msg-id CAB5R=3wq50SB5=dVgYD0uu=epCvvx4arxiTMbikNcY29q4wHLA@mail.gmail.com
Whole thread Raw
List pgsql-pkg-yum
I got the repo package update but I think I'm seeing an unintended consequence. I have psycopg2 installed and when I went to update it, it pulled the version of the package from pgdg11, which then pulled in libs from pgdg11 as well. I wasn't expecting that. Was this behavior intentional? What if I don't want postgresql11-libs?

yum transaction attached (this was on a server that previously had postgresql94-libs installed)

sudo yum update python-psycopg2
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package python-psycopg2.x86_64 0:2.7.5-1.rhel7 will be updated
---> Package python-psycopg2.x86_64 0:2.7.5-1.rhel7.1 will be an update
--> Processing Dependency: postgresql11-libs for package: python-psycopg2-2.7.5-1.rhel7.1.x86_64
--> Running transaction check
---> Package postgresql11-libs.x86_64 0:11.2-2PGDG.rhel7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================
 Package                                      Arch                              Version                                       Repository                         Size
======================================================================================================================================================================
Updating:
 python-psycopg2                              x86_64                            2.7.5-1.rhel7.1                               pgdg11                            155 k
Installing for dependencies:
 postgresql11-libs                            x86_64                            11.2-2PGDG.rhel7                              pgdg11                            360 k

Transaction Summary
======================================================================================================================================================================
Install             ( 1 Dependent package)
Upgrade  1 Package

Total download size: 515 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/2): postgresql11-libs-11.2-2PGDG.rhel7.x86_64.rpm                                                                                           | 360 kB  00:00:00     
(2/2): python-psycopg2-2.7.5-1.rhel7.1.x86_64.rpm                                                                                              | 155 kB  00:00:00     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                 629 kB/s | 515 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : postgresql11-libs-11.2-2PGDG.rhel7.x86_64                                                                                                          1/3 
  Updating   : python-psycopg2-2.7.5-1.rhel7.1.x86_64                                                                                                             2/3 
  Cleanup    : python-psycopg2-2.7.5-1.rhel7.x86_64                                                                                                               3/3 
  Verifying  : python-psycopg2-2.7.5-1.rhel7.1.x86_64                                                                                                             1/3 
  Verifying  : postgresql11-libs-11.2-2PGDG.rhel7.x86_64                                                                                                          2/3 
  Verifying  : python-psycopg2-2.7.5-1.rhel7.x86_64                                                                                                               3/3 

Dependency Installed:
  postgresql11-libs.x86_64 0:11.2-2PGDG.rhel7                                                                                                                         

Updated:
  python-psycopg2.x86_64 0:2.7.5-1.rhel7.1                                                                                                                            

Complete!

pgsql-pkg-yum by date:

Previous
From: Michael Vermaes
Date:
Subject: Re: New repo RPMs
Next
From: Ian Barwick
Date:
Subject: Re: New repo RPMs