Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

q. regarding yum install - no package available

EdStevensJun 6 2011 — edited Jun 8 2011
Configuring OL 5.6 under VMworkstation on my laptop.

Created vm and am going through pre-reqs for installing Oracle rdbms 11.2. As standard practice I configured to go to oracle's public yum server and installed 'oracle-validated'. Then I double-checked the required packages listed in the Installation Guide. Two of them still weren't installed, so I tried to go for them individually with 'yum install <pkg name>. The first, numactl-devel, installed fine. However ...
[root@lnxsrv01 tmp]# yum install compat-libstdc++
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
No package compat-libstdc++ available.
Nothing to do
yet when I go to http://public-yum.oracle.com/repo/OracleLinux/OL5/6/base/i386/, I see 'compat-libstdc++-33-3.2.3-61.i386.rpm' listed just fine.

my config - /etc/yum.repos.d/public-yum-el5-6.repo has enabled:
[ol5_u6_base]
name=Oracle Linux $releasever - U6 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/6/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
So what am I missing that it insists this package is not available?

Comments

GokhanAtil
Hi Ed,

Please issue the following command and check the name of the package:
yum repolist | grep compat-libstdc
then try to install it again.

Regards

Gokhan
EdStevens
Gokhan Atil wrote:
Hi Ed,

Please issue the following command and check the name of the package:
yum repolist | grep compat-libstdc
then try to install it again.

Regards

Gokhan
Doesn't come up on the list . . .

Note: I always get the message about ULN support. Not surprising since I don't have a support contract on this, but it doesn't stop me from getting other packages.
[root@lnxsrv01 ~]# yum repolist | grep compat-libstdc
This system is not registered with ULN.
ULN support will be disabled.
[root@lnxsrv01 ~]#
Dude!
There are different versions available. Try specifying the version number:

yum install compat-libstdc++-33-3.2.3-61

or use wildcard to install all of them:

yum install compat-libstdc++*

Edited by: Dude on Jun 7, 2011 10:55 PM
GokhanAtil
Ed, I'll try to install this package when I'm home (5-6 hours later). Unfortunately I do not access any Oracle Linux system right now.

By the way, I get the same message about ULN support, so I know that it's not relevant with your problem.

Regards

Gokhan
GokhanAtil
Hi Ed,

You should use yum list (not repolist - my bad). Here it is:
[root@oelgrid ~]# yum list | grep compat-libstdc
This system is not registered with ULN.
ULN support will be disabled.
compat-libstdc++-296.i386                2.96-138                    installed  
compat-libstdc++-33.i386                 3.2.3-61                    installed  

[root@oelgrid ~]# yum install compat-libstdc++-33.i386
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Package compat-libstdc++-33-3.2.3-61.i386 already installed and latest version
Nothing to do
Regards

Gokhan Atil
EdStevens
Gokhan Atil wrote:
Hi Ed,

You should use yum list (not repolist - my bad). Here it is:
[root@oelgrid ~]# yum list | grep compat-libstdc
This system is not registered with ULN.
ULN support will be disabled.
compat-libstdc++-296.i386                2.96-138                    installed  
compat-libstdc++-33.i386                 3.2.3-61                    installed  

[root@oelgrid ~]# yum install compat-libstdc++-33.i386
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Package compat-libstdc++-33-3.2.3-61.i386 already installed and latest version
Nothing to do
Regards

Gokhan Atil
Interesting. I got exactly the same results. So in the end, it looks like perhaps the required package is installed ... though the installation guide specified
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)

So ....
[root@lnxsrv01 tmp]# rpm -q compat-libstdc++
package compat-libstdc++ is not installed

[root@lnxsrv01 tmp]# rpm -q compat-libstdc
package compat-libstdc is not installed

[root@lnxsrv01 ~]# yum list | grep compat-libstdc
This system is not registered with ULN.
ULN support will be disabled.
compat-libstdc++-296.i386                2.96-138                    installed
compat-libstdc++-33.i386                 3.2.3-61                    installed
[root@lnxsrv01 ~]# yum install compat-libstdc
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
No package compat-libstdc available.
Nothing to do

[root@lnxsrv01 tmp]# yum install compat-libstdc++-33.i386
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Package compat-libstdc++-33-3.2.3-61.i386 already installed and latest version
Nothing to do
GokhanAtil
So in the end, it looks like perhaps the required package is installed
Yes it seems so.

On the other hand, I don't know why "rpm -q compat-libstdc++" says the package is not installed.

Regards

Gokhan
Dude!
I think I figured out how oracle-validated installs all the required packages - they are simply package dependencies: E.g:

# yum deplist oracle-validated

shows a list, including:

dependency: libstdc++.so.5()(64bit)
provider: compat-libstdc++-33.x86_64 3.2.3-61
provider: compat-libstdc++-33.x86_64 3.2.3-61

dependency: libstdc++.so.5
provider: compat-libstdc++-33.i386 3.2.3-61
provider: compat-libstdc++-33.i386 3.2.3-61
EdStevens
Gokhan Atil wrote:
So in the end, it looks like perhaps the required package is installed
Yes it seems so.

On the other hand, I don't know why "rpm -q compat-libstdc++" says the package is not installed.

Regards

Gokhan
Is rpm getting its info from a different source than yum ... seems I read somewhere that one of them keeps a repository of what it has installed???
Dude!
There is no package named "compat-libstdc++" - its called "compat-libstdc++-33"
# yum list compat-libstdc++-33
Loaded plugins: security
Installed Packages
compat-libstdc++-33.i386                               3.2.3-61                              installed
compat-libstdc++-33.x86_64                             3.2.3-61                              installed

# rpm -q compat-libstdc++-33
compat-libstdc++-33-3.2.3-61
compat-libstdc++-33-3.2.3-61
or list them all and use grep:
# yum list | grep compat-libstdc
compat-libstdc++-296.i386                 2.96-138                   installed  
compat-libstdc++-33.i386                  3.2.3-61                   installed  
compat-libstdc++-33.x86_64                3.2.3-61                   installed  
GokhanAtil
Is rpm getting its info from a different source than yum ... seems I read somewhere that one of them keeps a repository of what it has installed???
Ed, both of them should read the package names from /var/log/rpmpkgs

As Dude said, it's about the package name. "compat-libstdc++-33" is not same with "compat-libstdc++". "rpm -q compat-libstdc++-33" works without problem.

You should issue the following if you don't type the full name of the package:
rpm -qa compat-libstdc*
Regards

Gokhan
1 - 11
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 6 2011
Added on Jun 6 2011
11 comments
13,647 views