Yum - resolving missing dependencies that are not missing

I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following:

sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm: VirtualBox-4.3-4.3.2_90405_el6-1.i686
Marking /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm to be installed
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox-4.3.i686 0:4.3.2_90405_el6-1 set to be updated
--> Processing Dependency: python(abi) = 2.6 for package: VirtualBox-4.3
--> Processing Dependency: libcrypto.so.10 for package: VirtualBox-4.3
--> Processing Dependency: libcurl.so.4 for package: VirtualBox-4.3
--> Processing Dependency: libpython2.6.so.1.0 for package: VirtualBox-4.3
--> Processing Dependency: libssl.so.10 for package: VirtualBox-4.3
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.11) for package: VirtualBox-4.3
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.9) for package: VirtualBox-4.3
--> Processing Dependency: libxml2.so.2(LIBXML2_2.4.30) for package: VirtualBox-4.3
--> Processing Dependency: libxml2.so.2(LIBXML2_2.6.0) for package: VirtualBox-4.3
--> Processing Dependency: libxml2.so.2(LIBXML2_2.6.8) for package: VirtualBox-4.3
--> Finished Dependency Resolution
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libxml2.so.2(LIBXML2_2.6.0) is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libstdc++.so.6(GLIBCXX_3.4.9) is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: python(abi) = 2.6 is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libcrypto.so.10 is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libxml2.so.2(LIBXML2_2.6.8) is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libpython2.6.so.1.0 is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libssl.so.10 is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libcurl.so.4 is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libstdc++.so.6(GLIBCXX_3.4.11) is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)
VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686 has depsolving problems
  --> Missing Dependency: libxml2.so.2(LIBXML2_2.4.30) is needed by package VirtualBox-4.3-4.3.2_90405_el6-1.i686 (/VirtualBox-4.3-4.3.2_90405_el6-1.i686)

Packages skipped because of dependency problems:
    VirtualBox-4.3-4.3.2_90405_el6-1.i686 from /VirtualBox-4.3-4.3.2_90405_el6-1.i686

The problem is that the dependencies about which it is complaining are installed and available. What am I missing? TIA.

You mentioned that you're running RHEL5, but the VirtualBox package you're attempting to install is for RHEL6 (VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm). If you go to their download repository, they do have a version for RHEL5.

Doh!!!! How did I not notice that? Thanks.

---------- Post updated at 09:15 AM ---------- Previous update was at 08:54 AM ----------

Rats!!! Same problem but just 1 dependency.

sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el5-1.i386.rpm
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el5-1.i386.rpm: VirtualBox-4.3-4.3.2_90405_el5-1.i386
Marking /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el5-1.i386.rpm to be installed
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox-4.3.i386 0:4.3.2_90405_el5-1 set to be updated
--> Processing Dependency: libpython2.4.so.1.0 for package: VirtualBox-4.3
--> Finished Dependency Resolution
VirtualBox-4.3-4.3.2_90405_el5-1.i386 from /VirtualBox-4.3-4.3.2_90405_el5-1.i386 has depsolving problems
  --> Missing Dependency: libpython2.4.so.1.0 is needed by package VirtualBox-4.3-4.3.2_90405_el5-1.i386 (/VirtualBox-4.3-4.3.2_90405_el5-1.i386)

Packages skipped because of dependency problems:
    VirtualBox-4.3-4.3.2_90405_el5-1.i386 from /VirtualBox-4.3-4.3.2_90405_el5-1.i386

Is python-libs installed?

What's the output of:

rpm -qi python-libs

(the below is from a 64-bit install of CentOS 5.10, but I imagine the 32-bit version is available in your 32-bit repo...)

[root@centos510 ~]# yum provides */libpython2.4*
python-libs-2.4.3-56.el5.x86_64 : The libraries for python runtime
Repo        : base
Matched from:
Filename    : /usr/lib64/libpython2.4.so.1.0
Filename    : /usr/lib64/libpython2.4.so

Thanks again for the reply. It must be but the issue I think is 64 bit vs 32 bit library. I can't find the 32 bit libraries.

Name        : python-libs                  Relocations: (not relocatable)                                            
Version     : 2.4.3                             Vendor: Red Hat, Inc.                                                
Release     : 46.el5                        Build Date: Thu 22 Dec 2011 12:13:59 PM EST                              
Install Date: Tue 28 May 2013 12:13:55 PM EDT      Build Host: x86-001.build.bos.redhat.com                          
Group       : Applications/System           Source RPM: python-2.4.3-46.el5.src.rpm                                  
Size        : 22010716                         License: PSF - see LICENSE                                            
Signature   : DSA/SHA1, Wed 18 Jan 2012 06:30:09 AM EST, Key ID 5326810137017186                                     
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>                                                    
URL         : http://www.python.org/
Summary     : The libraries for python runtime
Description :
The python interpreter can be embedded into applications wanting to
use python as an embedded scripting language.  The python-libs package
provides the libraries needed for this.

It should be in the repo. It's unlikely Yum would have installed a 64-bit package on a 32-bit system (there's wouldn't be any 64-bit binaries in a 32-bit repo).

# yum search python-libs

Did you try to reinstall it?

# yum reinstall python-libs

(although, again, I only have the 64-bit version at hand)

Perhaps I am not being clear. It is the 32 bit libraries I need for the 32 version of VirtualBox. Even though I am on a 64 bit platform, I need a 32 bit version of Windows. To do that I need to install the 32 bit version of VirtualBox. If the 32 bit version of the python libraries are in the repository, I don't know how to tell yum to install it rather than the 64 bit version.

Are you positive about that? I would think you could run a 64 or 32 bit guest in a 64-bit host.

Oh no, you are clear. It's my misunderstanding, I missed that part. Sorry. Corona should be correct, mind.

Trying to find a mirror.

This has a copy of the RPM, but it's CentOS 5.10. It would be handy to have a Fedora 32-bit Yum base.repo file.

http://mirror2.hs-esslingen.de/centos/5.10/os/i386/CentOS/

edit: You updated your earlier post from FC Yum output to RHEL Yum output, and removed other info?

I thought so too but I cannot get a 32 bit guest (Win 7) to install on the 64 bit VB. It is only a guess because the installer hangs or crashes on the first reboot. Since there are no error messages or any other indication of anything wrong, other than the hang, I decided to try the 32 bit version of VB.

There's been a few threads here about that, VB's default guest settings for graphics are pretty minimal and insufficient for a windows 7 guest. Experiment with them before giving up.

I'll play around a bit but I really don't know what settings might effect what I'm seeing.

this page has a little information, look for the picture with 'enable 3d acceleration' and 'video memory'

2 Likes

Wow!! Bizarre but that worked. Thanks.

1 Like