Bug 738823 - xzcat complains that compressed data is corrupt, xz -c works fine
Summary: xzcat complains that compressed data is corrupt, xz -c works fine
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xz
Version: 15
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-15 21:51 UTC by Orion Poplawski
Modified: 2013-07-02 23:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-15 22:08:20 UTC


Attachments (Terms of Use)

Description Orion Poplawski 2011-09-15 21:51:22 UTC
Description of problem:

# file initrd.img
initrd.img: XZ compressed data
# xzcat initrd.img > /tmp/initrd.raw
xzcat: initrd.img: Compressed data is corrupt
# xz -c < initrd.img > /tmp/initrd.raw
#

xzcat does produce about 12MB of output.

Version-Release number of selected component (if applicable):
xz-5.0.3-1.fc15.i686

Also seen on EL6 with xz-4.999.9-0.3.beta.20091007git.el6.x86_64

Comment 1 Orion Poplawski 2011-09-15 22:06:26 UTC
Okay, user error there.  unxz -c gives the same error (corrupt).  Not sure what is up with it complaining about being corrupt though.

Comment 2 Orion Poplawski 2011-09-15 22:08:20 UTC
Apparently it is a series of xz images...


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