• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1634
  • Last Modified:

Installing/Updating Packages on Red Hat 5

Trying to install Oracle 11gr2 on Red Hat 5.  Some checks fail saying i need:
package gcc-4.1.2(x86-64)
package glibc-devel-2.5(x86_64)
package glibc-headers-2.5
package gcc-c+++-4.1.2(x86_64)

I put in yum install and get these messages.  What do I need to do to get the packages I want installed?

[root@bbtestdb2 ~]# yum install glibc-devel-2.5
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: glibc-headers = 2.5-81.el5_8.4 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package glibc-devel.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Finished Dependency Resolution
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

[root@bbtestdb2 ~]#
[root@bbtestdb2 ~]# yum install glibc-headers-2.5
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Finished Dependency Resolution
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@bbtestdb2 ~]#
0
xoxomos
Asked:
xoxomos
  • 6
  • 3
  • 3
  • +1
1 Solution
 
farzanjCommented:
You first need to install gcc and g++

yum install gcc g++ glibc
0
 
xoxomosAuthor Commented:
[root@bbtestdb2 ~]# yum install gccg++glibc
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package gccg++glibc available.
Nothing to do
0
 
xoxomosAuthor Commented:
[root@bbtestdb2 ~]#
[root@bbtestdb2 ~]# yum install gcc g++ glibc
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package g++ available.
Package glibc-2.5-81.el5_8.4.x86_64 already installed and latest version
Package glibc-2.5-81.el5_8.4.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-52.el5_8.1 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: glibc-headers = 2.5-81.el5_8.4 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Finished Dependency Resolution
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
farzanjCommented:
Sorry package name is:
gcc-c++

So do
yum install gcc-c++

Second package is
gcc

So
yum install gcc
0
 
xoxomosAuthor Commented:
[root@bbtestdb2 ~]# yum install gcc-c++
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.1.2-52.el5_8.1 set to be updated
--> Processing Dependency: gcc = 4.1.2-52.el5_8.1 for package: gcc-c++
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-52.el5_8.1 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: glibc-headers = 2.5-81.el5_8.4 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Finished Dependency Resolution
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

[root@bbtestdb2 ~]# yum install gcc
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-52.el5_8.1 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: glibc-headers = 2.5-81.el5_8.4 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.5-81.el5_8.4 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Finished Dependency Resolution
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
glibc-headers-2.5-81.el5_8.4.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.4.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
0
 
farzanjCommented:
Did you try:

yum install kernel-devel
0
 
joolsCommented:
It says use the package-cleanup --problems option at the bottom of the output
0
 
1ly4meCommented:
Have you added any recent repos?
Disable any newly added or anything you're not using.
0
 
joolsCommented:
I'm guessing that the kernel-headers package is specifically excluded so it wont be downloaded and that may be why the dependencies fail.

see if yo have an exclude option in your /etc/yum.conf file.
0
 
xoxomosAuthor Commented:
You mean like the 'exclude=kernel*????
0
 
xoxomosAuthor Commented:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

exclude=kernel*

tsflags=repackage

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# Default.
# installonly_limit = 3

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
0
 
joolsCommented:
yes, it was excluding the kernel-headers that was required.
0
 
xoxomosAuthor Commented:
Mil gracias.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now