Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 456029 - yum whatprovides only shows i386 version on x86_64 system
Summary: yum whatprovides only shows i386 version on x86_64 system
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-21 01:22 UTC by Jeroen van Meeuwen
Modified: 2014-01-21 23:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-21 02:24:02 UTC


Attachments (Terms of Use)

Description Jeroen van Meeuwen 2008-07-21 01:22:41 UTC
Description of problem:

executing yum whatprovides libstdc++.so.5 only lists the .i386 version on a
x86_64 system:

[jmeeuwen@ghandalf ~]$ yum whatprovides libstdc++.so.5
Loaded plugins: allowdowngrade, fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora-9-custom: pilot.genomicscenter.nl
 * fedora-9-livna: pilot.genomicscenter.nl
 * fedora-9-updates: www.kanarip.com
 * fedora-9: www.kanarip.com
compat-libstdc++-33.i386 : Compatibility standard C++ libraries


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

[jmeeuwen@ghandalf ~]$ rpm -qa yum*
yum-updatesd-0.9-1.fc9.noarch
yum-versionlock-1.1.14-4.fc9.noarch
yum-allowdowngrade-1.1.14-4.fc9.noarch
yum-metadata-parser-1.1.2-8.fc9.x86_64
yum-arch-2.2.2-2.fc7.noarch
yum-3.2.16-2.fc9.noarch
yum-packagekit-0.1.12-13.20080522.fc9.x86_64
yum-utils-1.1.14-4.fc9.noarch
yum-fastestmirror-1.1.14-4.fc9.noarch

How reproducible:

$ yum whatprovides libstdc++.so.5
(...)
compat-libstdc++-33.i386 : Compatibility standard C++ libraries

$ yum whatprovides /usr/lib64/libstdc++.so.5
(...)
compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries

Steps to Reproduce:
1. yum clean all
2. yum whatprovides libstdc++.so.5
3.
  
Actual results:

only the i386 version of compat-libstdc++-33 is listed

Expected results:

both the i386 and x86_64 version of compat-libstdc++-33 should be listed

Additional info:

Installed packages include:
[jmeeuwen@ghandalf ~]$ rpm -qa compat-libstdc*
compat-libstdc++-33-3.2.3-63.x86_64

removing that package and redoing the whatprovides libstdc++.so.5 doesn't help.

Running machine:

[jmeeuwen@ghandalf ~]$ uname -a
Linux ghandalf.kanarip.com 2.6.25-14.fc9.x86_64 #1 SMP Thu May 1 06:06:21 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux

Comment 1 seth vidal 2008-07-21 02:24:02 UTC
repoquery -q --provides compat-libstdc++-33.x86_64
compat-libstdc++-33 = 3.2.3-61
libstdc++.so.5()(64bit)
libstdc++.so.5(CXXABI_1.2)(64bit)
libstdc++.so.5(CXXABI_1.2.1)(64bit)
libstdc++.so.5(CXXABI_1.2.2)(64bit)
libstdc++.so.5(GLIBCPP_3.2)(64bit)
libstdc++.so.5(GLIBCPP_3.2.1)(64bit)
libstdc++.so.5(GLIBCPP_3.2.2)(64bit)
libstdc++.so.5(GLIBCPP_3.2.3)(64bit)
libstdc++.so.5(GLIBCPP_3.2.4)(64bit)

repoquery -q --provides compat-libstdc++-33.i386  
compat-libstdc++-33 = 3.2.3-61
libstdc++.so.5
libstdc++.so.5(CXXABI_1.2)
libstdc++.so.5(CXXABI_1.2.1)
libstdc++.so.5(CXXABI_1.2.2)
libstdc++.so.5(GLIBCPP_3.2)
libstdc++.so.5(GLIBCPP_3.2.1)
libstdc++.so.5(GLIBCPP_3.2.2)
libstdc++.so.5(GLIBCPP_3.2.3)
libstdc++.so.5(GLIBCPP_3.2.4)


whatprovides checks provides and it checks files IF the full pathname is given.
otherwise, it's just a normal provide check.

compat-libstdc++.x86_64 does not provide libstdc++.so.5 it provides
libstdc++.so.5()(64bit)




Note You need to log in before you can comment on or make changes to this bug.