LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error in installing (glibc-headers) packages (https://www.linuxquestions.org/questions/linux-newbie-8/error-in-installing-glibc-headers-packages-4175446250/)

raja.sa 01-18-2013 06:47 PM

error in installing (glibc-headers) packages
 
Hi all ..

im trying to install oracle 11g r2 using red hat 5 OS

when i tried to install these packages i got an error msg:

rpm -Uvh glibc-devel-2.*
rpm -Uvh glibc-headers-2.*

the error msgs were :

#rpm -Uvh glibc-headers-2.*
warning: glibc-headers-2.5-34.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
kernel-headers is needed by glibc-headers-2.5-34.x86_64
kernel-headers >= 2.2.1 is needed by glibc-headers-2.5-34.x86_64

--------------

# rpm -Uvh glibc-devel-2.*
warning: glibc-devel-2.5-34.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
glibc-headers is needed by glibc-devel-2.5-34.i386
glibc-headers = 2.5-34 is needed by glibc-devel-2.5-34.i386
glibc-headers is needed by glibc-devel-2.5-34.x86_64
glibc-headers = 2.5-34 is needed by glibc-devel-2.5-34.x86_64

-----------
kindly ... can anyone help me plz ...
thnx all :)

knudfl 01-18-2013 08:58 PM

Welcome to LQ.

The packages you are trying to install are three years old.
The current update version : glibc-2.5-81.el5_8.7
And : One package is missing : 'kernel-headers'.

How about : # yum install glibc-devel.i386

If you want to use 'rpm -Uvh', please use chain install :
# rpm -Uvh <package>.rpm <package>.rpm <package>.rpm
Required when the packages depend on each other : "Circular dependency".

-

raja.sa 01-19-2013 07:11 AM

thnk you knudfl for ur answer

i tried the following command

# rpm -Uvh gcc-4.*.rpm gcc-c++-4.*.rpm glibc-2.*.rpm glibc-common-2.*.rpm glibc-devel-2.*.rpm glibc-headers-2.*.rpm libaio-devel-0.*.rpm

and got this error :
# rpm -Uvh gcc-4.*.rpm gcc-c++-4.*.rpm glibc-2.*.rpm glibc-common-2.*.rpm glibc-devel-2.*.rpm glibc-headers-2.*.rpm libaio-devel-0.*.rpm
warning: gcc-4.1.2-44.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
kernel-headers is needed by glibc-headers-2.5-34.x86_64
kernel-headers >= 2.2.1 is needed by glibc-headers-2.5-34.x86_64
-----------------------
and tried the following command :
yum install glibc-devel.i386

and got this error:
# yum install glibc-devel.i386
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package glibc-devel.i386 available.
Nothing to do

-----------------

sorry for that ... could u tell me plz what should i do clearly because im a C# programmer and not familiar with linux OS and how can i get the last version of packages ... what should i do first to fix that problem :)

thank you guy :)

knudfl 01-19-2013 07:41 AM

# 3
Quote:

... what should i do first to fix that problem
Migrate the OS to the free version = CentOS
http://wiki.centos.org/HowTos/MigrationGuide
(The main action is to point the repo files to the identical CentOS packages.)


-


All times are GMT -5. The time now is 05:48 AM.