Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A little problem

Status
Not open for further replies.

ilc

Technical User
Sep 21, 2001
2
RO
Usage: tar {txruc}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exclude-file] [-I include-file] files ...
ns% tar -xvf psyBNC2.2.1BETA.tar.gz
tar: directory checksum error
ns% tar xvf psyBNC2.2.1BETA.tar.gz
tar: directory checksum error
ns% tar z psyBNC2.2.1BETA.tar.gz
tar: z: unknown option
Usage: tar {txruc}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exclude-file] [-I include-file] files ...
how do i unpack this file!!! on my Sunos shell
 
Some packdges like (Zope and Mysql), have trouble to untar with Sun tar, the solution is download and install Gnu tar, you can download Gnu tar in pkgadd format from:

however your problem seems to be that is a tar within a Gzip so you need first to ungzip:

# gzip -d psyBNC2.2.1BETA.tar.gz
this shoul return psyBNC2.2.1BETA.tar, then untar:
# tar xvf psyBNC2.2.1BETA.tar

Regards,

Carlos Almeida.
 
just an added comment....
if you do not have the gzip utility on your machine,
you can get it at for either a
sparc or intel processor.
 
Quicker method....

# gunzip -c psyBNC2.2.1BETA.tar.gz | tar xvf -

You still need to install gzip utilities, but this way is one command and doesn't uncompress the file onto your drive, it just redirects the uncompressed output to tar.
 
even quicker yet, gnu tar can gunzip and untar with one command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top