Bug 725470

Summary: incompatible packages
Product: Red Hat Enterprise Linux 6 Reporter: lalford
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-25 19:41:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description lalford 2011-07-25 15:11:03 UTC
Description of problem:
yum update fails due to incompatible packages.


Version-Release number of selected component (if applicable):
RHEL 6.1

  
Actual results:
from the update window...
ERROR with rpm_check_debug vs depsolve:
libcrypto.so.10()(64bit) is needed by bind-libs-32:9.7.3-2.el6_1.P3.2.x86_64
libcrypto.so.10()(64bit) is needed by bind-utils-32:9.7.3-2.el6_1.P3.2.x86_64
Please report this error at https://bugzilla.redhat.com/enter_bug.cgi?product=Red$20Hat$20Enterprise$20Linux$206&component=yum


Expected results:
successful package update


Additional info:

Comment 2 James Antill 2011-07-25 18:40:02 UTC
 What is the version of yum?
 What is the full output of yum?
 What does "yum check" say?

Comment 3 lalford 2011-07-25 19:03:12 UTC
Sure, sorry for the initially minimal information. Here's what I've got.

1) I'm trying to update the following 2 packages for security updates.
bind-libs
bind-utils

2) For sanity, I ran the following before doing another update.
yum clean all; rpm --rebuilddb;

3) yum --version
3.2.29
  Installed: rpm-4.8.0-16.el6.x86_64 at 2011-06-20 18:21
  Built    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2011-03-09 06:32
  Committed: Panu Matilainen <pmatilai> at 2011-03-09

  Installed: yum-3.2.29-17.el6.noarch at 2011-06-20 18:21
  Built    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2011-04-28 17:43
  Committed: James Antill <james.antill> at 2011-04-28

4) yum list | egrep "bind-(libs|util)"
bind-libs.x86_64        32:9.7.3-2.el6_1.P1.1
bind-utils.x86_64       32:9.7.3-2.el6_1.P1.1
bind-libs.i686          32:9.7.3-2.el6_1.P3.2
bind-libs.x86_64        32:9.7.3-2.el6_1.P3.2
bind-utils.x86_64       32:9.7.3-2.el6_1.P3.2

5) full output of "yum -v update bind-libs bind-utils"
Loading "rhnplugin" plugin
Loading "refresh-packagekit" plugin
Config time: 0.045
Yum Version: 3.2.29
Setting up Package Sacks
Looking for repo options for [corporate-rhel-x86_64-workstation-6]
pkgsack time: 0.162
rpmdb time: 0.000
Setting up Update Process
Building updates object
up:Obs Init time: 0.078
up:simple updates time: 0.020
up:obs time: 0.002
up:condense time: 0.000
updates time: 0.366
Not Updating Package that is already updated: bind-libs.x86_64 32:9.7.3-2.el6_1.P1.1
Not Updating Package that is already updated: bind-libs.x86_64 32:9.7.3-2.el6_1.P1.1
Not Updating Package that is already updated: bind-libs.x86_64 32:9.7.3-2.el6_1.P1.1
Not Updating Package that is already updated: bind-utils.x86_64 32:9.7.3-2.el6_1.P1.1
Not Updating Package that is already updated: bind-utils.x86_64 32:9.7.3-2.el6_1.P1.1
Resolving Dependencies
--> Running transaction check
---> Package bind-libs.x86_64 32:9.7.3-2.el6_1.P1.1 will be updated
Checking deps for bind-libs.x86_64 32:9.7.3-2.el6_1.P1.1 - ud
---> Package bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2 will be an update
Checking deps for bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2 - u
---> Package bind-utils.x86_64 32:9.7.3-2.el6_1.P1.1 will be updated
Checking deps for bind-utils.x86_64 32:9.7.3-2.el6_1.P1.1 - ud
---> Package bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2 will be an update
Checking deps for bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2 - u
looking for ('bind-libs', 'EQ', ('32', '9.7.3', '2.el6_1.P3.2')) as a requirement of bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2 - u
--> Finished Dependency Resolution
Dependency Process ending
Depsolve time: 0.397

Dependencies Resolved

================================================================================
 Package
    Arch   Version               Repository                                Size
================================================================================
Updating:
 bind-libs
    x86_64 32:9.7.3-2.el6_1.P3.2 corporate-rhel-x86_64-workstation-6 838 k
 bind-utils
    x86_64 32:9.7.3-2.el6_1.P3.2 corporate-rhel-x86_64-workstation-6 177 k

Transaction Summary
================================================================================
Upgrade       2 Package(s)

Total size: 1.0 M
Is this ok [y/N]: Downloading Packages:
using local copy of 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64
using local copy of 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64
Running rpm_check_debug
Member: bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2 - u
Adding Package 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64 in mode u
Member: bind-libs.x86_64 32:9.7.3-2.el6_1.P1.1 - ud
Member: bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2 - u
Adding Package 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64 in mode u
Member: bind-utils.x86_64 32:9.7.3-2.el6_1.P1.1 - ud
ERROR with rpm_check_debug vs depsolve:
libcrypto.so.10()(64bit) is needed by bind-libs-32:9.7.3-2.el6_1.P3.2.x86_64
libcrypto.so.10()(64bit) is needed by bind-utils-32:9.7.3-2.el6_1.P3.2.x86_64
** Found 94 pre-existing rpmdb problem(s), 'yum check' output follows:
MySQL-python-1.2.3-0.3.c1.1.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
MySQL-python-1.2.3-0.3.c1.1.el6.x86_64 has missing requires of libssl.so.10()(64bit)
32:bind-libs-9.7.3-2.el6_1.P1.1.x86_64 has missing requires of libcrypto.so.10()(64bit)
32:bind-utils-9.7.3-2.el6_1.P1.1.x86_64 has missing requires of libcrypto.so.10()(64bit)
cba8-9.0-0.25.i386 has missing requires of libcrypto.so.4
cba8-9.0-0.25.i386 has missing requires of libpam.so.0
cba8-9.0-0.25.i386 has missing requires of libssl.so.4
cyrus-sasl-2.1.23-8.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
cyrus-sasl-md5-2.1.23-8.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
ekiga-3.2.6-3.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
ekiga-3.2.6-3.el6.x86_64 has missing requires of libssl.so.10()(64bit)
evolution-data-server-2.28.3-15.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
evolution-data-server-2.28.3-15.el6.x86_64 has missing requires of libssl.so.10()(64bit)
fipscheck-1.2.0-5.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
firefox-default-certs-3.6-1.noarch has missing requires of firefox
flash_plugin-10.3-1.noarch has missing requires of firefox
gnome-vfs2-2.24.2-6.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
gnome-vfs2-2.24.2-6.el6.x86_64 has missing requires of libssl.so.10()(64bit)
gnome-vfs2-smb-2.24.2-6.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
gnome-vfs2-smb-2.24.2-6.el6.x86_64 has missing requires of libssl.so.10()(64bit)
gstreamer-plugins-bad-free-0.10.19-2.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
gstreamer-plugins-bad-free-0.10.19-2.el6.x86_64 has missing requires of libssl.so.10()(64bit)
1:hpijs-3.10.9-3.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
hplip-libs-3.10.9-3.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
4:htdig-3.2.0-0.10.b6.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
4:htdig-3.2.0-0.10.b6.el6.x86_64 has missing requires of libssl.so.10()(64bit)
httpd-tools-2.2.15-9.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
httpd-tools-2.2.15-9.el6.x86_64 has missing requires of libssl.so.10()(64bit)
libarchive-2.8.3-2.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
libmsn-4.0-0.15.beta8.1.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
libmsn-4.0-0.15.beta8.1.el6.x86_64 has missing requires of libssl.so.10()(64bit)
libssh2-1.2.2-7.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
libssh2-1.2.2-7.el6.x86_64 has missing requires of libssl.so.10()(64bit)
m2crypto-0.20.2-7.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
m2crypto-0.20.2-7.el6.x86_64 has missing requires of libssl.so.10()(64bit)
mysql-5.1.52-1.el6_0.1.x86_64 has missing requires of libcrypto.so.10()(64bit)
mysql-5.1.52-1.el6_0.1.x86_64 has missing requires of libssl.so.10()(64bit)
mysql-connector-odbc-5.1.5r1144-7.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
mysql-connector-odbc-5.1.5r1144-7.el6.x86_64 has missing requires of libssl.so.10()(64bit)
mysql-libs-5.1.52-1.el6_0.1.x86_64 has missing requires of libcrypto.so.10()(64bit)
mysql-libs-5.1.52-1.el6_0.1.x86_64 has missing requires of libssl.so.10()(64bit)
mysql-server-5.1.52-1.el6_0.1.x86_64 has missing requires of libcrypto.so.10()(64bit)
mysql-server-5.1.52-1.el6_0.1.x86_64 has missing requires of libssl.so.10()(64bit)
1:net-snmp-5.5-31.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
1:net-snmp-libs-5.5-31.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
ntp-4.2.4p8-2.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
opal-3.6.6-4.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
opal-3.6.6-4.el6.x86_64 has missing requires of libssl.so.10()(64bit)
1:openoffice.org-core-3.2.1-19.6.el6_0.5.x86_64 has missing requires of libcrypto.so.10()(64bit)
1:openoffice.org-core-3.2.1-19.6.el6_0.5.x86_64 has missing requires of libssl.so.10()(64bit)
openssh-5.3p1-52.el6_1.2.x86_64 has missing requires of libcrypto.so.10()(64bit)
openssh-clients-5.3p1-52.el6_1.2.x86_64 has missing requires of libcrypto.so.10()(64bit)
openssh-server-5.3p1-52.el6_1.2.x86_64 has missing requires of libcrypto.so.10()(64bit)
perl-Crypt-SSLeay-0.57-16.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
perl-Crypt-SSLeay-0.57-16.el6.x86_64 has missing requires of libssl.so.10()(64bit)
perl-DBD-MySQL-4.013-3.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
perl-DBD-MySQL-4.013-3.el6.x86_64 has missing requires of libssl.so.10()(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libcrypto.so.10()(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libssl.so.10()(64bit)
postgresql-libs-8.4.7-2.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
postgresql-libs-8.4.7-2.el6.x86_64 has missing requires of libssl.so.10()(64bit)
ptlib-2.6.5-3.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
ptlib-2.6.5-3.el6.x86_64 has missing requires of libssl.so.10()(64bit)
pyOpenSSL-0.10-2.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
pyOpenSSL-0.10-2.el6.x86_64 has missing requires of libssl.so.10()(64bit)
python-2.6.6-20.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
python-2.6.6-20.el6.x86_64 has missing requires of libssl.so.10()(64bit)
python-qpid-qmf-0.10-10.el6.x86_64 has missing requires of libqpidclient.so.5()(64bit)
python-qpid-qmf-0.10-10.el6.x86_64 has missing requires of libqpidcommon.so.5()(64bit)
python-qpid-qmf-0.10-10.el6.x86_64 has missing requires of libqpidmessaging.so.3()(64bit)
python-qpid-qmf-0.10-10.el6.x86_64 has missing requires of libqpidtypes.so.1()(64bit)
python-qpid-qmf-0.10-10.el6.x86_64 has missing requires of qpid-cpp-client = ('0', '0.10', None)
qca-ossl-2.0.0-0.8.beta3.1.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
qca-ossl-2.0.0-0.8.beta3.1.el6.x86_64 has missing requires of libssl.so.10()(64bit)
qpid-qmf-0.10-10.el6.x86_64 has missing requires of libqpidclient.so.5()(64bit)
qpid-qmf-0.10-10.el6.x86_64 has missing requires of libqpidcommon.so.5()(64bit)
qpid-qmf-0.10-10.el6.x86_64 has missing requires of libqpidmessaging.so.3()(64bit)
qpid-qmf-0.10-10.el6.x86_64 has missing requires of libqpidtypes.so.1()(64bit)
qpid-qmf-0.10-10.el6.x86_64 has missing requires of qpid-cpp-client = ('0', '0.10', None)
1:qt-4.6.2-17.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
1:qt-4.6.2-17.el6.x86_64 has missing requires of libssl.so.10()(64bit)
1:qt-mysql-4.6.2-17.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
1:qt-mysql-4.6.2-17.el6.x86_64 has missing requires of libssl.so.10()(64bit)
rdesktop-1.6.0-8.el6_0.1.x86_64 has missing requires of libcrypto.so.10()(64bit)
redland-1.0.7-11.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
redland-1.0.7-11.el6.x86_64 has missing requires of libssl.so.10()(64bit)
14:tcpdump-4.0.0-3.20090921gitdf3cb4.1.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
wget-1.12-1.4.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
wget-1.12-1.4.el6.x86_64 has missing requires of libssl.so.10()(64bit)
wireshark-1.4.6-1.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
1:wpa_supplicant-0.6.8-10.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
1:wpa_supplicant-0.6.8-10.el6.x86_64 has missing requires of libssl.so.10()(64bit)
xorg-x11-server-Xorg-1.7.7-29.el6.x86_64 has missing requires of libcrypto.so.10()(64bit)
yelp-2.28.1-8.el6.x86_64 has missing requires of gecko-libs >= ('0', '1.9.2', None)
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2011-07-25-14-57iEHE1M.yumtx

Comment 4 James Antill 2011-07-25 19:41:30 UTC
 With the full output, including the auto-check, the problem is pretty obvious:

> ERROR with rpm_check_debug vs depsolve:
> libcrypto.so.10()(64bit) is needed by bind-libs-32:9.7.3-2.el6_1.P3.2.x86_64
> libcrypto.so.10()(64bit) is needed by bind-utils-32:9.7.3-2.el6_1.P3.2.x86_64
> ** Found 94 pre-existing rpmdb problem(s), 'yum check' output follows:
> [...]
> 32:bind-libs-9.7.3-2.el6_1.P1.1.x86_64 has missing requires of libcrypto.so.10()(64bit)
> 32:bind-utils-9.7.3-2.el6_1.P1.1.x86_64 has missing requires of libcrypto.so.10()(64bit)

 Here you have a problem where whatever is providing "libcrypto.so.10()(64bit)" is not installed for some reason (yum history, may help find out why). You can probably just run "yum install 'libcrypto.so.10()(64bit)'", to fix it ... but there is some problem with qpid etc. too ... so you might want to "yum history redo" something.

 All this means that yum sees an update from A-1 to A-2, and both require XYZ, ergo. given the assumption that A-1 was installed A-2 should be fine to install. rpm does not have this optimization, and so just sees that XYZ isn't installed and A-2 requires it.

Comment 5 lalford 2011-07-25 21:08:40 UTC
Thanks for the context James. For anyone else who stumbles across this, here's how I got rpm happy again. I don't know these tools very well so the "yum history redo" commands may accomplish a similar goal (didn't work for me though the way I tried it).

1) Trying to install "libcrypto.so.10" didn't work because it's provided by openssl and yum already thought that was installed.

> yum install libcrypto.so.10
Loaded plugins: refresh-packagekit, rhnplugin
Setting up Install Process
Package openssl-1.0.0-10.el6_1.4.i686 already installed and latest version
Nothing to do

> rpm -ql openssl | grep libcrypto.so.10
/usr/lib/.libcrypto.so.10.hmac
/usr/lib/libcrypto.so.10

2) The brute force approach, remove and reinstall bind-utils (which depends on bind-libs which depends on libcrypto.so.10, and thus openssl). Reinstalling caused yum to figure out the dependencies correctly, install openssl again (even though it was showing installed already before). After this, all is happy again.

> yum remove bind-utils
> yum install bind-utils
Loaded plugins: downloadonly, refresh-packagekit, rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2 will be installed
--> Processing Dependency: bind-libs = 32:9.7.3-2.el6_1.P3.2 for package: 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64
--> Processing Dependency: libcrypto.so.10()(64bit) for package: 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64
--> Running transaction check
---> Package bind-libs.x86_64 32:9.7.3-2.el6_1.P1.1 will be updated
---> Package bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2 will be an update
---> Package openssl.x86_64 0:1.0.0-10.el6_1.4 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================
 Package                         Arch                        Version                                       Repository                                                     Size
===============================================================================================================================================================================
Installing:
 bind-utils                      x86_64                      32:9.7.3-2.el6_1.P3.2                         swrx-corporate-rhel-x86_64-workstation-6                      177 k
Installing for dependencies:
 openssl                         x86_64                      1.0.0-10.el6_1.4                              swrx-corporate-rhel-x86_64-workstation-6                      1.4 M
Updating for dependencies:
 bind-libs                       x86_64                      32:9.7.3-2.el6_1.P3.2                         swrx-corporate-rhel-x86_64-workstation-6                      838 k

Transaction Summary
===============================================================================================================================================================================
Install       2 Package(s)
Upgrade       1 Package(s)

Total size: 2.3 M
Total download size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
openssl-1.0.0-10.el6_1.4.x86_64.rpm                                                                                                                     | 1.4 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : openssl-1.0.0-10.el6_1.4.x86_64                                                                                                                             1/4 
  Updating   : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64                                                                                                                      2/4 
  Installing : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64                                                                                                                     3/4 
  Cleanup    : 32:bind-libs-9.7.3-2.el6_1.P1.1.x86_64                                                                                                                      4/4 

Installed:
  bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2                                                                                                                                      

Dependency Installed:
  openssl.x86_64 0:1.0.0-10.el6_1.4                                                                                                                                            

Dependency Updated:
  bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2                                                                                                                                       

Complete!

Comment 6 James Antill 2011-07-26 14:14:12 UTC
Note that the two commands:

  yum install 'libcrypto.so.10()(64bit)'
  yum install 'libcrypto.so.10()'

...are not the same, the former will install the .x86_64 version ... while the later will install the .i686 version.