Discussion Locked

tar on solaris 2.7

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have solaris 2.7, I am trying to untar mysql-3.22.32

when I use tar that comes with solaris 2.7 I get the messege (directory checksum error)

I tried to untar the public version of tar but not luck, I still get the same message (directory checksum error).

(this is what/how I do it tar -vxf mysql-3)

11 replies

by cavedweller

I have seen this type of problem when a binary file has been ftp'd in ascii mode. If that doesn't work sometimes opening the tar file with winzip on an NT machine does.

by dattatray_b

Dear friend,

ftp that tar file with out typing bin before transfering to sun box and then try to extract it it will work..( you must have typed bin before transfering the file on sun box..

Pl. try it and send me a maill

regards

Datattray V. Bhagwat

by dattatray_b

Dear friend,

ftp that tar file with out typing bin before transfering to sun box and then try to extract it it will work..( you must have typed bin before transfering the file on sun box..

Pl. try it and send me a maill

regards

Datattray V. Bhagwat

by kshum

Unfortunately, the tar provided from Sun has some sort of bug in it where it can't untar really large files. You need to use the GNU tar to untar mysql tarball.

by x95tobos

Kshum is right (#4 answer); unfortunately, you need to build yourself the GNU tar:

- grab the gcc binary distribution for Solaris and install it
- grab the latest GNU tar from ftp.gnu.org, and build it using gcc

If this sounds too complicated, try to find a friend who knows his ways in Linux/Unix

This discussion is closed to new replies.