Bug 186565 - premature end of file error reported
premature end of file error reported
Product: Fedora
Classification: Fedora
Component: cpio (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2006-03-24 09:07 EST by Steve Falco
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 2.6-15.FC5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-24 09:46:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Steve Falco 2006-03-24 09:07:16 EST
On an FC5 system, I downloaded mlocate-0.12-1.2.src.rpm and did the following steps:

rpm2cpio mlocate-0.12-1.2.src.rpm > ml
cpio -idv < ml

I got the error message "cpio: premature end of file"

If I do this on FC4, it works fine.  I did a cmp on the output of the rpm2cpio
for FC4 and FC5, and they matched perfectly, so the problem clearly lies in cpio.

Version-Release number of selected component (if applicable): cpio-2.6-14.FC5

How reproducible: always

Steps to Reproduce: shown above
Actual results: error message

Expected results: no error message

Additional info: "ldd /bin/cpio" gives the following:
        linux-gate.so.1 =>  (0x005bf000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00251000)
        libc.so.6 => /lib/libc.so.6 (0x007fc000)
        /lib/ld-linux.so.2 (0x007db000)
Comment 1 Peter Vrabec 2006-03-24 09:46:58 EST
update your cpio, it is fixed in cpio-2.6-15.FC5 
Comment 2 Steve Falco 2006-03-24 09:52:21 EST
Confirmed fixed, and thanks!

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