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
$ 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:
or! just use the -format ustar when creating the tarball.
or! just scp over the unzipped directory and burn some candles or something.
Post a Comment