Bug 33116 - installation fails due to cpio problem.
Summary: installation fails due to cpio problem.
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-03-25 14:27 UTC by David Lawrence
Modified: 2008-05-01 15:38 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2001-03-30 10:12:15 UTC

Attachments (Terms of Use)

Description Derek Tattersall 2001-03-25 14:27:08 UTC
[root@test131 rhn]# rpm -Uvh /mnt/redhat/test/qa0324.2/i386/RedHat/RPMS/e
Preparing...                ###########################################
   1:compat-egcs            error: unpacking of archive failed on file
+/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include: cpio: unlink
failed -
+Is a directory
[root@test131 rhn]#

Comment 1 Jakub Jelinek 2001-03-25 20:21:14 UTC
What were you upgrading from?
Packaging of egcs-6.2- was borken, but that
was never shipped anywhere outside of beta.

Comment 2 Derek Tattersall 2001-03-25 20:27:35 UTC
This occurred during a test of up2date/rhn.  The compat-egcs in the tree as of
yesterday was pushed to the rhn server used by QA.  I was upgrading from RHL7.0
to RHL7.0.95 (release candidate of sorts).  These messages then occurred.

Is there a newer compat-egcs that will be going on the CDs?  We are almost at
the time to cut the golden masters.

Comment 3 Jakub Jelinek 2001-03-26 14:42:57 UTC
I've just tried rpm -Uvh on a 7.0 box and without any problems upgraded
to the 7.1 rpms, so I guess RHN guys should look at this.
Note that /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 subtree does not
exist at all in 7.0 and is populated with symlinks on 7.1.

Comment 4 Jeff Johnson 2001-03-26 17:07:43 UTC
rpm does not support replacing directories with a symlink even if in a sub-tree.

Comment 5 Jakub Jelinek 2001-03-26 17:15:11 UTC
Yeah, but there are no files in
/usr/lib/gcc-lib/i386-redhat-linux/ other than 2.96 in 7.0 (ie. there is
neither a subdirectory nor a symlink egcs-2.91.66).
In the current compat-egcs there is /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66
directory with symlinks. I really have no idea why the error message appears.

Comment 6 Brock Organ 2001-03-27 23:50:37 UTC
this error also occurs for an upgrade from 6.2 ja -> qa0327.0 (ja) ...

Upgrading compat-egcs.
unpacking of archive failed on file
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include: cpio: unlink failed -
Is a directory

Comment 7 Brock Organ 2001-03-29 23:52:00 UTC
This occurs for compat-egcs-5.2-1.0.3a.1 ...

[root@test176 /tmp]# rpm -q compat-egcs
[root@test176 /tmp]# find /mnt/cdrom/ -name "compat-egcs*rpm"
[root@test176 /tmp]#

Comment 8 Jakub Jelinek 2001-03-30 10:12:10 UTC
Ouch, I forgot /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.1.96/include
used to be included in 6.2.
Please try compat-egcs-6.2- and related packages.
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.1.96/include is now back a directory
containing symlinks to the header files instead of a symlink to directory with
I've also included /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
script which should be sourced (using . ) into current shell to get the
transparent compatibility build environment (e.g. for Oracle).

Comment 9 Cristian Gafton 2001-07-26 00:54:40 UTC
I suspect this is a non issue after 7.1 - closing out, reopen if it still

Note You need to log in before you can comment on or make changes to this bug.