rpm -bp tetex.spec after installing tetex-1.0.6-11.src.rpm causes bzip2 to
complain about corrupted file
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
+ 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
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')
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.