Bug 61633

Summary: glibc 2.2.5-27 upgrade from 2.2.4-20 fails
Product: [Retired] Red Hat Raw Hide Reporter: sean <seandarcy>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: ajschult784, fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-05 14:02:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sean 2002-03-22 14:03:43 UTC
Description of Problem:

[root@localhost i386]# ls *2.2.5*
glibc-2.2.5-27.i386.rpm         glibc-debug-static-2.2.5-27.i386.rpm 
glibc-utils-2.2.5-27.i386.rpm
glibc-common-2.2.5-27.i386.rpm  glibc-devel-2.2.5-27.i386.rpm        
nscd-2.2.5-27.i386.rpm
glibc-debug-2.2.5-27.i386.rpm   glibc-profile-2.2.5-27.i386.rpm
[root@localhost i386]# rpm -Fvh  *2.2.5*
Preparing...                ########################################### [100%]
   1:glibc-common           ########################################### [ 20%]
   2:glibc                  warning: /usr/lib/gconv/gconv-modules created as
/usr/lib/gconv/gconv-modules.rpmnew
########################################### [ 40%]
/usr/sbin/iconvconfig: /lib/ld-linux.so.2: version `GLIBC_2.1.1' not found
(required by /lib/i686/libc.so.6)
/usr/sbin/iconvconfig: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found
(required by /lib/i686/libc.so.6)
/usr/sbin/iconvconfig: /lib/ld-linux.so.2: version `GLIBC_2.2' not found
(required by /lib/i686/libc.so.6)
error: execution of %post scriptlet from glibc-2.2.5-27 failed, exit status 1
/bin/sh: /lib/i686/libc.so.6: version `GLIBC_PRIVATE' not found (required by
/lib/libdl.so.2)
/bin/sh: /lib/ld-linux.so.2: version `GLIBC_2.1.1' not found (required by
/lib/i686/libc.so.6)
/bin/sh: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by
/lib/i686/libc.so.6)
/bin/sh: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by
/lib/i686/libc.so.6)
error: execution of %pre scriptlet from glibc-devel-2.2.5-27 failed, exit status
1
error:   install: %pre scriptlet failed (2), skipping glibc-devel-2.2.5-27
   3:glibc-profile          ########################################### [ 60%]
/bin/sh: /lib/i686/libc.so.6: version `GLIBC_PRIVATE' not found (required by
/lib/libdl.so.2)
/bin/sh: /lib/ld-linux.so.2: version `GLIBC_2.1.1' not found (required by
/lib/i686/libc.so.6)
/bin/sh: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by
/lib/i686/libc.so.6)
/bin/sh: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by
/lib/i686/libc.so.6)
error: execution of %pre scriptlet from nscd-2.2.5-27 failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping nscd-2.2.5-27


Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Jakub Jelinek 2002-04-05 14:02:37 UTC
Well, the main problem is that you are overriding i686 glibc with i386 one.
Generally there shouldn't be any reason to do that, plus there is some rpm
bug which causes /lib/i686 directory not to be removed.
I added some code to remove the files in glibc-2.2.5-25.i386.rpm, but they
were removing only the same version, not any older version, so i686 -> i386
"upgrades" would work e.g. from glibc-2.2.5-25 to glibc-2.2.5-30, but not
glibc-2.2.4-xx to gilbc-2.2.5-yy.
Should be fixed in glibc-2.2.5-31, but I'd suggest you to install the correct
architecture instead.

Comment 2 Andrew Schultz 2002-05-03 18:09:06 UTC
I got the same messages (to the best of my memory) upgrading (Alpha) from
glibc-2.2.4-24 to glibc-2.2.5-34.  I think it also complained about ld-linux.so
and libc.so being "truncated".

The problem was that libc.so.6.1 was still linked to libc.2.2.4.so.  Linking it
to libc.2.2.5.so instead fixed everything.  All the other libs were properly linked.

We had similar problems upgrading from RH 7.0 to 7.1, although I think the
problem there was sometimes ld-linux.so.2 being linked to the old (non-existent)
2.1 lib.