Bug 30303

Summary: Source RPM corrupted
Product: [Retired] Red Hat Linux Reporter: Ganesh Sittampalam <ganesh>
Component: tetexAssignee: Tim Waugh <twaugh>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-02 16:37:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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
get:

$ 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.