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.
Which glibc-common package?
Sorry, 2.2-12. I got them from the updates directory for Red Hat 7.
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.
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.
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.
I got hit by this too. :-(
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 )
*** Bug 36635 has been marked as a duplicate of this bug. ***