jayanthi radhakrishnan wrote:
> Hi ,
>
> When i download coreutils-8.22.tar.xz , it gets downloaded as
> coreutils-8.22.tar.tar.
> So , I get this error,
>
> tar -xf coreutils-8.22.tar.tar
> tar: directory checksum error
> Is the tar file correct?
It appears that your browser has mangled the name. Try renaming the
file to the proper name.
mv coreutils-8.22.tar.tar coreutils-8.22.tar.xz
Try using 'file' on it to identify the file.
$ file coreutils-8.22.tar.xz
coreutils-8.22.tar.xz: XZ compressed data
If your tar is GNU tar and compiled with compression support then this
will unpack it in one step.
tar xJvf coreutils-8.22.tar.xz
Otherwise do it in two steps.
unxz coreutils-8.22.tar.xz
tar xvf coreutils-8.22.tar
Bob