in reply to Re^6: Installation error; INSTALL.pl program is unable to unzip downloaded file
in thread Installation error; INSTALL.pl program is unable to unzip downloaded file

Thank you very much,cookersjs! I make the minicpan works following your advice. I installed BioPerl successufly with local mirror of CPAN, but when I run perl INSTALL.PL to install VEP, it still report the same error log:

Destination directory ./Bio already exists. Do you want to overwrite it (if updating VEP this is probably OK) (y/n +)? y - fetching BioPerl curl: (6) Couldn't resolve host 'github.com' - unpacking ./Bio/tmp/release-1-6-924.zip format error: file is too short at /home/schexy/localperl/lib/perl5/Archive/Zip/Archive.pm line 692. Archive::Zip::Archive::_findEndOfCentralDirectory(Archive::Zip +::Archive=HASH(0x133dea0), IO::File=GLOB(0x133dd20)) called at /home/ +schexy/localperl/lib/perl5/Archive/Zip/Archive.pm line 591 Archive::Zip::Archive::readFromFileHandle(Archive::Zip::Archiv +e=HASH(0x133dea0), IO::File=GLOB(0x133dd20), "/home/schexy/software/e +nsembl-tools-release-87/scripts/varian"...) called at /home/schexy/lo +calperl/lib/perl5/Archive/Zip/Archive.pm line 559 Archive::Zip::Archive::read(Archive::Zip::Archive=HASH(0x133de +a0), "/home/schexy/software/ensembl-tools-release-87/scripts/varian". +..) called at /home/schexy/localperl/lib/perl5/Archive/Extract.pm lin +e 1153 Archive::Extract::_unzip_az(Archive::Extract=HASH(0x189b718)) +called at /home/schexy/localperl/lib/perl5/Archive/Extract.pm line 43 +1 Archive::Extract::extract(Archive::Extract=HASH(0x189b718), "t +o", "./Bio/tmp/") called at INSTALL.pl line 1526 main::unpack_arch("./Bio/tmp/release-1-6-924.zip", "./Bio/tmp/ +") called at INSTALL.pl line 639 main::bioperl() called at INSTALL.pl line 246 main::api() called at INSTALL.pl line 221 Unable to read '/home/schexy/software/ensembl-tools-release-87/scripts +/variant_effect_predictor/Bio/tmp/release-1-6-924.zip' at INSTALL.pl +line 1526. Unable to unzip '/home/schexy/software/ensembl-tools-release-87/script +s/variant_effect_predictor/Bio/tmp/release-1-6-924.zip':

It seems like the problem is the INSTALL.PL cannot find my installed BioPerl, so it goes to github to download. Could you please give me some suggestions about how to fix this? Looking forward to hearing from you. Thanks again!

  • Comment on Re^7: Installation error; INSTALL.pl program is unable to unzip downloaded file
  • Download Code

Replies are listed 'Best First'.
Re^8: Installation error; INSTALL.pl program is unable to unzip downloaded file
by marto (Cardinal) on Apr 25, 2017 at 09:30 UTC

    "Thank you very much,cookersjs! I make the minicpan works following your advice."

    Wrong person. If you are going to use a tool at least read the documentation. For example, the --NO_BIOPERL and --NO_UPDATE options. The script does not seem to check for an existing BioPerl installation. It seems to try to pull other things down from github, which won't work if you're off line. Consider just manually installing this.

      Oh, I must appreciate you at first. But the core problem lies in "INSTALL.pl" will update the ./Bio, nomatter use --NO_BIOPERL and --NO_UPDATE or not. The zip file(whatever it is) in ./Bio/tmp will be empty as soon as "INSTALL.pl" update ./Bio. Would you please give me directions on fixing the trouble,Dear marto ?

        The options I mentioned work for me, as I suggested you'll need to download the other things this install script uses, transfer them to your offline server and manually complete the remaining steps.