Extracting patch.tar.bz2s

Björn Lindberg d95-bli at nada.kth.se
Thu Mar 29 01:25:32 PST 2001

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.


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