Fedora Linux Support Community & Resources Center
  #1  
Old 25th March 2004, 08:03 AM
vherva Offline
Registered User
 
Join Date: Nov 2003
Posts: 6
glibc rpm upgrade FUBAR

This is a longish story, and I'm not sure where I should report this bug... Anyway,
I was upgrading my Fedora Core Development installation with yum command

yum --exclude=xorg\* --exclude=anaconda --exclude=gdm --exclude=kdebase --exclude=kde\* --exclude=chkfontpath --exclude=XFree86\* --exclude=epiphany --exclude=gkrellm --exclude=rpmdb-fedora update

in preparation to move from XFree86 to x-org. At the time, I only had Fedora Devel base path in my yum.conf. yum downloaded the rpms slowly, but hell broke loose when rpm begun installing the first packages. Basically, glibc-common and
glibc didn't install properly:

glibc-common 100 % done 4/208
error: unpacking of archive failed on file /usr/lib/locale/zh_CN/LC_PAPER: cpio link exists
warning: /etc/ld.so.conf created as /etc/ld.so.conf.rpmnew

glibc 100 % done 5/208
error: unpacking of archive failed on file /lib/ld-2.3.3.so: cpio: open

and after that, most of the rpm installs were fubar, because rpm could not execute
anything due to missing ls-linux.so.2:

pango 100 % done 7/208
error: %post(pango-1.4.0-1) scriptlet failed, exit status 255

I had left yum running by itself (as the upgrade took about 5 hours), so it
kept on going these fubared installs for about 100 rpm's before it mis-upgraded python
and sigbus'ed:

zsh: bus error yum --exclude=xorg\* --exclude=anaconda --exclude=gdm --excl

I found out that /lib/ld-linux.so.2, /lib/ld-2.2.3.so and /lib/tls/libc.so.6 were
missing. Through various LD_LIBRARY_PATH, LD_PRELOAD, "/backup/lib/ld-linux.so.2 /bin/cp ..." and ash.static hacks I was able to restore so much glibc libraries that I could try
to reinstall the rpm's.

I verified the glibc rpm signatures, and md5 sums were ok. Installing glibc-utils-2.3.3-18, glibc-headers-2.3.3-18, glibc-2.3.3-18, glibc-devel-2.3.3-18, glibc-common-2.3.3-18 didn't prove easy, though. I got the same errors and lost the libraries again. The same story when trying to the previous glibc-2.3.3-16.

This is using rpm-4.3-0.22 and rpm-4.3-0.20 (it was upgraded in the process.) I reinstalled
rpm-4.3-0.22 with rpm -Uvh --force before retrying.)

Basically it, appeared that rpm had become completely unable to handle cases where it should replace a file with a link, replace a running binary/library, or anything non-trivial. After I did rm -rf /usr/lib/locale and some other offending files, I was able to install
glibc*. However, the same problems continued when I reinstalled the misinstalled rpm's:

python 100 % done 18/208
error: unpacking of archive failed on file /usr/bin/python: cpio: link
gcc-c++ 100 % done 82/208
error: unpacking of archive failed on file /usr/bin/c++: cpio: link
e2fsprogs-devel 100 % done 69/208
error: unpacking of archive failed on file /usr/share/man/man3/uuid_generate.3.gz
emacs 100 % done 96/208
error: unpacking of archive failed on file /usr/bin/emacs: cpio: link

and reinstalling SysVinit complained that /sbin/init textfile was busy. Well, duh!

(Sorry for the possibly inexact error messages, the rxvt where I cut'n'pasted these from
was a bit garbled.)

So, all in all, I'm not sure if this is a bug in the rpm packages, rpm itself, yum, or perhaps in cpio. I would suspect rpm. But is quite serious.
Reply With Quote
  #2  
Old 25th March 2004, 11:16 AM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
Is this Test1 or rawhide? What repositories are you using?
__________________
http://blog.suretecsystems.com
Reply With Quote
  #3  
Old 25th March 2004, 12:13 PM
vherva Offline
Registered User
 
Join Date: Nov 2003
Posts: 6
Rawhide (aka development).

I only had these development mirrors in yum.conf at the time:

[development]
name=Fedora Core $releasever - Development Tree
failovermethod=priority
baseurl=ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/core/development/i386/
ftp://ftp.chl.chalmers.se/pub/fedora...elopment/i386/
http://download.fedora.redhat.com/pu...elopment/i386/

Occasionally, I've installed some Livna and Freshrpms stuff, but not this time. (I wanted to keep the upgrade clean as I was aiming for XFree86 -> x-org transition.)
Reply With Quote
  #4  
Old 25th March 2004, 12:17 PM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
Just a quick thought. Do you have plenty of space in /var/tmp and /tmp / etc.?
__________________
http://blog.suretecsystems.com
Reply With Quote
  #5  
Old 25th March 2004, 12:59 PM
vherva Offline
Registered User
 
Join Date: Nov 2003
Posts: 6
About 2.2G free on rootfs (/var, /tmp, /lib, /usr all reside there).
Reply With Quote
  #6  
Old 26th March 2004, 10:24 AM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
I'm not sure then.
__________________
http://blog.suretecsystems.com
Reply With Quote
  #7  
Old 26th March 2004, 11:05 AM
vherva Offline
Registered User
 
Join Date: Nov 2003
Posts: 6
Where should I report this?

I opened up a bugzilla entry for rpm
(http://bugzilla.redhat.com/bugzilla/....cgi?id=119122), but no-one seems interested. I'm not even sure if this was an rpm bug.
Reply With Quote
  #8  
Old 26th March 2004, 11:41 AM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
You've done the right thing. Just keep an eye on bugzilla.
__________________
http://blog.suretecsystems.com
Reply With Quote
Reply

Tags
fubar, glibc, rpm, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 10 Upgrade :glibc not found Error rajnish Installation and Live Media 1 27th December 2008 08:48 AM
yum update glibc conflict after FC3->FC4 upgrade AaronHarwood Installation and Live Media 0 12th March 2006 01:47 PM
"yum install glibc-devel" = Error: glibc-common conflicts with glibc < 2.3.6 nat101l Using Fedora 22 10th November 2005 06:16 PM
upgrade glibc pagla_ghoda Using Fedora 1 14th September 2005 09:43 PM


Current GMT-time: 08:32 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat