apl has asked for the wisdom of the Perl Monks concerning the following question:

I need to install MIME-Base64 before I can install URI(among others) before I can install the LWP CPAN module. I saved MIME-Base64-3.07.tar.tar to my Unix host. However, when I try to tar -xvf MIME-Base64-3.07.tar.tar I get tar: directory checksum error.

The module was downloaded to a Solaris box by clicking on the module name on the CPAN site and then hitting save.

Have you encountered it problem before? How did you resolve it? [I did delete the file and downloaded a second (then a third) time, to no avail.]

Thanks in advance.

Later: Thanks Joost, you hit the nail on the head.

Replies are listed 'Best First'.
Re: Problem unTARing MIME-Base64
by Joost (Canon) on Aug 27, 2007 at 15:29 UTC
Re: Problem unTARing MIME-Base64
by FunkyMonk (Bishop) on Aug 27, 2007 at 15:24 UTC
    I just tried it and it was OK here. Try a different mirror?
    zippy:~/projects/tmp$ wget http://search.cpan.org/CPAN/authors/id/G/GA +/GAAS/MIME-Base64-3.07.tar.gz ... zippy:~/projects/tmp$ tar xfz MIME-Base64-3.07.tar.gz zippy:~/projects/temp$ ls -l total 24 drwxr-xr-x 3 xxx xxx 4096 Nov 30 2005 MIME-Base64-3.07 -rw-r--r-- 1 xxx xxx 15548 Nov 30 2005 MIME-Base64-3.07.tar.gz ...

Re: Problem unTARing MIME-Base64
by dwm042 (Priest) on Aug 27, 2007 at 16:35 UTC
    This is a known issue. IE saves tar.gz files as tar.tar files, so you can rename the file to .tar.gz or not, but you need to GNU unzip the archive first.

    Then tar will work just fine.