Bug 28470

Summary: glibc-common fails initial installation
Product: [Retired] Red Hat Linux Reporter: Need Real Name <jared>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: bill.stephens, fweimer, pekkas
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: 2001-02-22 22:19:06 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 Need Real Name 2001-02-20 17:00:19 UTC
I took a standard Red Hat 7 CD and created a kickstart file and my own comps file so that I could install via NFS mount.  Things worked great until yesterday when I downloaded the new glibc and glibc-common RPMs.

I had some problems with Locale and when checking the file /tmp/install.log on my new installed System, I found the following at the top of it:

Installing glibc-common.
unpacking of archive failed: cpio: Missing hard link
Installing setup.
Installing filesystem.
Installing basesystem.
Installing glibc.                                                         
You have probably fixed this already in the beta, but it appears to me after a quick look that glibc-common should depend on basesystem being installed, as is the case for glibc.

Comment 1 Bill Nottingham 2001-02-20 22:49:11 UTC
Which glibc-common package?

Comment 2 Need Real Name 2001-02-20 23:10:11 UTC
Sorry, 2.2-12.  I got them from the updates directory for Red Hat 7.

Comment 3 Need Real Name 2001-02-22 18:18:32 UTC
I downloaded the source RPM for glibc-2.2-12 from the updates directory.

I modified the spec file so that glibc-common depended on basesystem and rebuilt
the RPM.  Even though glibc-common was installed after basesystem, the same
error occured.

Comment 4 Need Real Name 2001-02-22 22:19:02 UTC
I fixed my problem, but I don't think I have found the optimal solution.

In addition to adding a requirement to have basesystem installed, I commented
out the whole section on Hard linking identical locale files together.

This caused the RPM to increase to 8 MB from ~5.5, which is why I don't think it
was optimal.

After the automatic installation of glibc-common failed, I was able to
successfully install it from the command line on tty2 before the end of
installation reboot.  This means it is probably as much an installation problem
as it is a problem with the glibc-common RPM.

Comment 5 Jakub Jelinek 2001-02-23 12:52:58 UTC
The bug is in rpm, which does not handle %lang() marked files hardlinked
together between different languages if %_install_langs at install time is not
all. This has been fixed in rawhide (and latest beta release) by not marking
the files with %lang() for the time being.
rpm will be fixed eventually but glibc needs to wait until rpm provides that
as a feature set it can depend on.

Comment 6 Pekka Savola 2001-02-27 09:59:15 UTC
I got hit by this too. :-(

Comment 7 LENHOF 2001-04-09 10:09:01 UTC
I have the same problem

Installing glibc-common.
unpacking of archive failed: cpio: Missing hard link

And for now I solved it using a post install after the reboot of my kickstart
installation

NB : In order to avoid some errors on time-zone I rebuilt images of RedHat
installation after making some changes in /usr/lib/anaconda-runtime/upd-instroot
(Changed 2 lines with GLIBC in )




Comment 8 Bill Stephens 2001-04-19 17:22:05 UTC
*** Bug 36635 has been marked as a duplicate of this bug. ***