Extracting patch.tar.bz2s

Barb bjp at bejay.com
Thu Mar 29 04:55:41 PST 2001


This probably should be added to the book. Also maybe a bit of explanation
about applying patches in general. I know it would help me out.

Like, in glibc, where do I unzip the patch? In it's own directory or in the
glibc directory?

Barbara

At 11:25 AM 3/29/2001 +0200, you wrote:
>
>On Wed, 28 Mar 2001, Simon Perreault wrote:
>
>> On Wednesday 28 March 2001 22:33, Ms Mandi Blais wrote:
>> > Hi,
>> > I am probably  missing something obvious. Everytime I try to extract the
>> > patch files for various programs, I get a message saying that the archive
>> > is garbage. I have tried bzcat "filename" | tar xv and tar xIvpf
"filename"
>> > Thanks,
>> > Mandi
>>
>> Usually a patch is not tarred, only bzipped. So the correct command
would be
>>
>> bunzip2 patch.bz2
>
>Or like this:
>
>bzcat patch.bz2 | patch -p1
>
>to do it all in one step.
>
>
>Björn
>
>
>
>-- 
>Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
>and put unsubscribe in the subject header of the message
>
>

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list