Installing rpm packages

Hi guys, I am trying to install some packages for my oracle 11g r2 installation, the below error shows up when I try below:

warning: glibc-devel-2.5-24.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
        glibc-headers is needed by glibc-devel-2.5-24.i386
        glibc-headers = 2.5-24 is needed by glibc-devel-2.5-24.i386
[root@localhost packages]# rpm -i glibc-headers-2.5-24.i386.rpm
warning: glibc-headers-2.5-24.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
        file /usr/include/scsi from install of glibc-headers-2.5-24 conflicts with file from package kernel-headers-2.2.1-1
        file /usr/include/scsi/scsi.h from install of glibc-headers-2.5-24 conflicts with file from package kernel-headers-2.2.1-1
        file /usr/include/scsi/scsi_ioctl.h from install of glibc-headers-2.5-24 conflicts with file from package kernel-headers-2.2.1-1
        file /usr/include/scsi/sg.h from install of glibc-headers-2.5-24 conflicts with file from package kernel-headers-2.2.1-1
[root@localhost packages]#

try

yum search glibc

then

yum install glibc*

or

 yum install glibcEXACTPACKAGENAME

OR
Download gcc_rpm file and install it.

.

I did this:

[root@localhost packages2]# yum search glibc
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
yp-tools.i386 : NIS (or YP) client programs.
glibc.i686 : The GNU libc libraries.
nss_db.i386 : An NSS library for the Berkeley DB.
kernel-headers.i386 : Header files for the Linux kernel for use by glibc
glibc-common.i386 : Common binaries and locale data for glibc
glibc-utils.i386 : Development utilities from GNU C library
[root@localhost packages2]# yum install glibc
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package glibc available.
Nothing to do
[root@localhost packages2]# yum install glibcEXACTPACKAGENAME
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package glibcEXACTPACKAGENAME available.
Nothing to do

RPM Search RedHat 7.X gcc 2.96 rpm

thanks!
can I install this file? this is what you mean?

NO
You need glib (Library) . Not gcc (compiler for c & c++)

.

hey you have to install the exact package name (NOT the word as it is.. :slight_smile: )

try

yum install glibc*
       --> * is important

.

---------- Post updated at 03:48 PM ---------- Previous update was at 03:44 PM ----------

By glibcEXACTPACKAGENAME i mean is :

glibc.i686 or kernel-headers.i386 or glibc-common.i386 or glibc-utils.i386

you try the following alone.

yum install glibc*

if any other dependencies in any packages.

do the same for those packages also. You will get it. Good luck.

.

I'm really trying to do what you told me, thanks for the helps! but it seems that Im getting a lot of messy conflicts in my every other pckage! see this:

file /usr/bin/gencat from install of glibc-common-2.5-58.el5_6.3 conflicts with file from package glibc-common-2.5-24

I guess I should so something like updating or so! ? can you advice?

thanks again

What package you are trying to install..??

What is your EXACT NEED ??

Hi again,
I should install these packages: (for oracle installation)

binutils-2.17.50.0.6 compat-libstdc++-33-3.2.3 elfutils-libelf-0.125 elfutils-libelf-devel-0.125 elfutils-libelf-devel-static-0.125 gcc-4.1.2 gcc-c++-4.1.2 glibc-2.5-24 glibc-common-2.5 glibc-devel-2.5 ksh-20060214 libaio-0.3.106 libaio-devel-0.3.106 libgcc-4.1.2 libgomp-4.1.2 libstdc++-4.1.2 libstdc++-devel-4.1.2 make-3.81 sysstat-7.0.2

I have installed many of them by downloading them from net but I guess Im having
difficulties with the gcc and compilers or so..
I exactly now want to install the below packages:

gcc-4.1.2-42.el5.i386.rpm
gcc-c++-4.1.2-42.el5.i386.rpm
glibc-devel-2.5-24.i386.rpm
glibc-headers-2.5-24.i386.rpm
glib-devel-1.2.10-20.el5.i386.rpm

I know its a trivial task but please help me as this is driving me nut!
I hate all these dependencies! I'm not used to RHEL, I used to wok with debian

thanks friend!

Your os ?

Give me output of following commands

uname -a
rpm -qa | grep release

---------- Post updated at 05:47 PM ---------- Previous update was at 05:43 PM ----------

try everything with yum command

yum install binutils* compat-libstdc* elfutils-libe* elfutils-libelf-deve* elfutils-libelf-devel-static* gcc ... etc

if conflicts..
check already installed one is newer / not
if Old
uninstall and install new package.
end :slight_smile:

By from the net, do you mean the official Red Hat repositories using yum, or do you mean that you got these RPMs from somewhere else on the Internet and used the rpm command to install them?