Bug 30303 - Source RPM corrupted
Source RPM corrupted
Product: Red Hat Linux
Classification: Retired
Component: tetex (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-03-02 10:29 EST by Ganesh Sittampalam
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-02 11:37:59 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 Ganesh Sittampalam 2001-03-02 10:29:55 EST
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 11:37:55 EST
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 11:58:32 EST
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.