Link to home
Start Free TrialLog in
Avatar of xoxomos
xoxomos

asked on

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 ~]#
Avatar of farzanj
farzanj
Flag of Canada image

You first need to install gcc and g++

yum install gcc g++ glibc
Avatar of xoxomos
xoxomos

ASKER

[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
Avatar of xoxomos

ASKER

[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
Sorry package name is:
gcc-c++

So do
yum install gcc-c++

Second package is
gcc

So
yum install gcc
Avatar of xoxomos

ASKER

[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.
Did you try:

yum install kernel-devel
It says use the package-cleanup --problems option at the bottom of the output
Have you added any recent repos?
Disable any newly added or anything you're not using.
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.
Avatar of xoxomos

ASKER

You mean like the 'exclude=kernel*????
Avatar of xoxomos

ASKER

[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
ASKER CERTIFIED SOLUTION
Avatar of Julian Parker
Julian Parker
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xoxomos

ASKER

Mil gracias.