file.tar.gz -> file.tar.bz2 conversion

Alexander E. Patrakov patrakov at
Sun Aug 21 03:46:02 PDT 2005

Justin R. Knierim wrote:
> Alexander E. Patrakov wrote:
>> I have noticed that all package URLs in trunk are updated in order to 
>> point to $(HTTPBLFS)/.../$(DIR).tar.bz2 files. However, in many cases, 
>> upstream distributes only *.tar.gz files. How do you generate 
>> *.tar.bz2 from *.tar.gz? Attempts to zcat file.tar.gz | bzip2 
>> >file.tar.bz2 (in order to avoid expensive re-downloading of all 
>> packages) produce sha1sum mismatch. 
> Hi Alexander,
> I cannot speak for the BLFS packages, as I have no control over them, 
> but for the LFS packages, it is done exactly as you showed.  I have 
> tested the trunk livecd a bit, and besides (html_tidy) and a lex script 
> error when reaching klibc, I haven't seen any sha1sum mismatches.
> Which packages are giving you trouble?

Almost all BLFS packages, e.g. libjpeg.

Alexander E. Patrakov

More information about the livecd mailing list