Bug 30303 - Source RPM corrupted
Summary: Source RPM corrupted
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: tetex   
(Show other bugs)
Version: 6.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-03-02 15:29 UTC by Ganesh Sittampalam
Modified: 2007-04-18 16:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-02 16:37:59 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Ganesh Sittampalam 2001-03-02 15:29:55 UTC
rpm -bp tetex.spec after installing tetex-1.0.6-11.src.rpm causes bzip2 to 
complain about corrupted file

Reproducible: Always
Steps to Reproduce:
1.download tetex-1.0.6-11.src.rpm from redhat main FTP site (or a mirror)
2.rpm -hiv ~/tetex-1.0.6-11.src.rpm
3.rpm -bp tetex.spec

Actual Results:  
+ bzip2 -cd /usr/src/redhat/SOURCES/teTeX-texmf-1.0.tar.bz2
+ tar xf - -C texmf
tar: Skipping to next file header

bzip2: Data integrity error when decompressing.
        Input file = /usr/src/redhat/SOURCES/teTeX-texmf-1.0.tar.bz2, 
output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to *attempt* to recover
data from undamaged sections of corrupted files.

tar: Archive - EOF not on block boundary
tar: Error is not recoverable: exiting now
Bad exit status from /var/tmp/rpm-tmp.29486 (%prep)

Expected Results:  a nice prepared source tree...

Some package versions...
[ganesh@munchkin ganesh]$ bzip2 --version
bzip2, a block-sorting file compressor.  Version 0.9.5c, 9-Aug-99.
[ganesh@munchkin ganesh]$ tar --version
tar (GNU tar) 1.13.11
[ganesh@munchkin ganesh]$ rpm --version
RPM version 3.0.5

Comment 1 Tim Waugh 2001-03-02 16:37:55 UTC
If you got the src.rpm from a CD-ROM, I would suspect bad media.  Here's what I

$ rpm -K tetex-0.6-11.src.rpm
tetex-0.6-11.src.rpm: md5 gpg OK

(I have imported the Red Hat security key with 'gpg --import RPM-GPG-KEY')

Comment 2 Ganesh Sittampalam 2001-03-02 16:58:32 UTC
Apologies, looks like I got a bad copy from a mirror once and then had it 
repeating when I tried with a fresh copy from ftp.redhat.com because I hadn't 
cleaned out the results of unpacking the first .src.rpm properly. Once I did a 
rpm --rmsource tetex I wasn't able to reproduce it again from anything.

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