Friday, May 7, 2010

solaris 10, why don't you unzip nicely?

so, i try to unzip an archive, provided to me by sun, and i get the joyous:
didn't find end-of-central-dir signature at end of central dir
that's sort of evil. what to do?
go to a linux box and...
$ unzip -q 10_Recommended.zip
$ tar cf - 10_Recommended | gzip > 10_Recommended.tgz
and then scp that junk over and use tar xvfz on that bad sun box. if you see this:
tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
oops. just use your friend:
/usr/sfw/bin/gtar
or! just use the -format ustar when creating the tarball.
or! just scp over the unzipped directory and burn some candles or something.

1 comment:

Unknown said...

Candle burning hmmmm - http://www.nydailynews.com/lifestyle/food/2010/05/07/2010-05-07_if_you_luv_the_smell_of_burger_white_castle_candles_selling_fast.html