LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2012, 03:11 AM   #1
salman108
LQ Newbie
 
Registered: Dec 2012
Posts: 14

Rep: Reputation: Disabled
Cannot update glibc-common-XXX rpm


Hello,

I am trying to update the glibc-2.5-81.x86_64.rpm rpm. on RHEL 5

Quote:
[root@INIPAPPPSV01 rpms_pmr]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)

Quote:
[root@INIPAPPPSV01 rpms_pmr]# rpm -Uvh glibc-2.5-81.x86_64.rpm
warning: glibc-2.5-81.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1d1e034b
error: Failed dependencies:
glibc-common = 2.5-81 is needed by glibc-2.5-81.x86_64
Which leads to the dependencies.

Quote:
[root@INIPAPPPSV01 rpms_pmr]# rpm -Uvh glibc-common-2.5-81.x86_64.rpm
warning: glibc-common-2.5-81.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1d1e034b
error: Failed dependencies:
glibc-common = 2.5-58 is needed by (installed) glibc-2.5-58.x86_64
glibc-common = 2.5-58 is needed by (installed) glibc-2.5-58.i686
Now, When i try to install the 58, i get a whole lot of dependencies.
Which is natural, because glibc is used by every one.

Quote:
[root@INIPAPPPSV01 rpms_pmr]# rpm -Uvh glibc-common-2.5-58.x86_64.rpm
warning: glibc-common-2.5-58.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1d1e034b
Preparing... ########################################### [100%]
package glibc-common-2.5-58.x86_64 is already installed
file /usr/bin/gencat from install of glibc-common-2.5-58.x86_64 conflicts with file from package glibc-common-2.5-58.x86_64
file /usr/bin/getconf from install of glibc-common-2.5-58.x86_64 conflicts with file from package glibc-common-2.5-58.x86_64
......................... etc etc etc
I understand this is a critical library, However I need to update this library for another software to work properly.

This is a production server, and I can not connect this to the internet.

At present, following are the patch levels.
Quote:
[root@INIPAPPPSV01 rpms_pmr]# rpm -qa | grep glibc-
glibc-headers-2.5-58
glibc-2.5-58
compat-glibc-headers-2.3.4-2.26
glibc-common-2.5-58
compat-glibc-2.3.4-2.26
glibc-devel-2.5-58
glibc-devel-2.5-58
glibc-2.5-58
compat-glibc-2.3.4-2.26
Please advise how this can be resolved.

Best Regards.

Last edited by salman108; 12-18-2012 at 03:12 AM.
 
Old 12-18-2012, 05:13 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,619

Rep: Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266
Welcome to LQ.

Please use "chain install" :

# rpm -Uvh <package.rpm> <package.rpm> <package.rpm> <package.rpm>

Latest is : glibc-2.5-81.el5_8.7.x86_64.rpm
glibc-common-2.5-81.el5_8.7.x86_64.rpm
glibc-devel-2.5-81.el5_8.7.x86_64.rpm
glibc-headers-2.5-81.el5_8.7.x86_64.rpm

.
 
Old 12-18-2012, 05:21 AM   #3
salman108
LQ Newbie
 
Registered: Dec 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Hello,

I have tried that.

Quote:
[root@INIPAPPPSV01 rpms_pmr]# rpm -Uvh glibc-2.5-81.x86_64.rpm glibc-common-2.5-81.x86_64.rpm glibc-common-2.5-58.x86_64.rpm
warning: glibc-2.5-81.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1d1e034b
warning: package glibc-common = 2.5-81 was already added, skipping glibc-common < 2.5-58
error: Failed dependencies:
glibc-common = 2.5-58 is needed by (installed) glibc-2.5-58.i686
[root@INIPAPPPSV01 rpms_pmr]#
Where as glibc-2.5-58 is already installed.

Quote:
[root@INIPAPPPSV01 rpms_pmr]# rpm -qa | grep glibc-common
glibc-common-2.5-58

Last edited by salman108; 12-18-2012 at 05:23 AM.
 
Old 12-18-2012, 08:35 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,619

Rep: Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266
Quote:
# rpm -Uvh glibc-2.5-81.x86_64.rpm glibc-common-2.5-81.x86_64.rpm glibc-common-2.5-58.x86_64.rpm
You are missing the update for the installed 32bits (i686) glibc package.
Must be updated too / included in your package install.

My el5 ( 5.8 ), 64bits :
$ rpm -qa | grep glibc
glibc-headers-2.5-81.el5_8.7
glibc-common-2.5-81.el5_8.7
glibc-devel-2.5-81.el5_8.7
glibc-2.5-81.el5_8.7 → → this is glibc.x86_64
glibc-devel-2.5-81.el5_8.7
glibc-2.5-81.el5_8.7 → → this is glibc.i686
 
Old 12-19-2012, 03:10 AM   #5
salman108
LQ Newbie
 
Registered: Dec 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by knudfl View Post
You are missing the update for the installed 32bits (i686) glibc package.
Must be updated too / included in your package install.

My el5 ( 5.8 ), 64bits :
$ rpm -qa | grep glibc
glibc-headers-2.5-81.el5_8.7
glibc-common-2.5-81.el5_8.7
glibc-devel-2.5-81.el5_8.7
glibc-2.5-81.el5_8.7 → → this is glibc.x86_64
glibc-devel-2.5-81.el5_8.7
glibc-2.5-81.el5_8.7 → → this is glibc.i686
Hello,

Thanks for the reply, I tried downloading the 32bit libraries, and installing however that doesn't work either.
Im lost now.
 
Old 12-19-2012, 03:27 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,619

Rep: Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266
# 5
Quote:
I tried downloading the 32bit libraries,
It's about one package only : glibc-2.5-81.el5*i686,
and you will have to include it in the chain install (6 packages) :

# rpm -Uvh <package> <package> <package> <package> <package> <package>
 
Old 12-19-2012, 06:39 AM   #7
salman108
LQ Newbie
 
Registered: Dec 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
ok, putting aside pride,

here is what is going on

Quote:
[root@INIPAPPPSV01 New]# rpm -Uvh glibc-2.5-81.x86_64.rpm glibc-common-2.5-81.x86_64.rpm glibc-common-2.5-58.x86_64.rpm glibc-2.5-81.el5_8.7.i686.rpm glibc-common-2.5-81.
el5_8.7.i386.rpm glibc-common-2.5-58.x86_64.rpm
warning: glibc-2.5-81.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1d1e034b
warning: package glibc-common = 2.5-81 was already added, skipping glibc-common < 2.5-58
warning: glibc-2.5-81.el5_8.7.i686.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
warning: glibc-common-2.5-81.el5_8.7.i386.rpm: Header V3 DSA signature: NOKEY, key ID 192a7d7d
warning: package glibc-common = 2.5-81 was already added, skipping glibc-common < 2.5-58
error: Failed dependencies:
glibc = 2.5-58 is needed by (installed) glibc-headers-2.5-58.x86_64
glibc = 2.5-58 is needed by (installed) glibc-devel-2.5-58.x86_64
glibc = 2.5-58 is needed by (installed) glibc-devel-2.5-58.i386
glibc = 2.5-58 is needed by (installed) nscd-2.5-58.x86_64
[root@INIPAPPPSV01 New]#
Is the problem with the sequence of rpms ? or is any thing else missing ?
 
Old 12-19-2012, 06:48 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,619

Rep: Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266
# 7
Quote:
# rpm -Uvh glibc-2.5-81.x86_64.rpm \
glibc-common-2.5-81.x86_64.rpm \
glibc-common-2.5-58.x86_64.rpm \
glibc-2.5-81.el5_8.7.i686.rpm \
glibc-common-2.5-81.el5_8.7.i386.rpm \
glibc-common-2.5-58.x86_64.rpm
If this is your command line, I can see two errors :
1) The 'glibc-devel' and 'glibc-headers' packages are missing.
2) Update 2.5-81 is not the same as 2.5-81.el5_8.7 :
All packages must be the same 'update version'.

.
 
Old 12-19-2012, 06:59 AM   #9
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Use
#yum upgrade -y

Why install manually?
or get all the rpms and

rpm -Uvh *.rpm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
http://www.spamhaus.org/query/bl?xxx.xxx.xxx.xxx (Server cannot send email now!) RMLinux Linux - Server 3 05-08-2009 02:06 AM
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
RH 9.0 glibc rpm says it needs glibc-common, but glibc-common is installed whitshade Red Hat 2 04-28-2007 05:49 PM
how to take a xxx.src.rpm --> xxx.rpm and install seastar Linux - Software 7 12-26-2003 11:51 AM
RPM Upgrade (glibc-common) Linux4BC Linux - General 2 08-04-2003 10:20 PM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration