How to script automate unTAR of packages

Mikie kmb at
Mon Dec 28 10:49:44 PST 2009

Hello list,

I have made a script file at:

... to unTAR my packages so I don't have to do it manually.

When I run it I get:

tar: /mnt/lfs/sources/zlib-1.2.3.tar.bz2\r: Cannot open: No such file or
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

etc ..... for each package.

What am I doing wrong?


More information about the lfs-support mailing list