Hi, Monks, I try to search and do not find any similar question online. It seems only I hit this problem.


I try to install Mail::GPG on a fresh Ubuntu 16.04, but it always timeout. (by cpan, by cpanm, by download and run make utilities ...).


Here is the log:

cpanm (App::cpanminus) 1.7043 on perl 5.022001 built for x86_64-linux- +gnu-thread-multi Work directory is /home/joe/.cpanm/work/1518276126.2703 You have make /usr/bin/make You have LWP 6.15 You have /bin/tar: tar (GNU tar) 1.28 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp +l.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Mail::GPG () on cpanmetadb ... --> Working on Mail::GPG Fetching http://www.cpan.org/authors/id/J/JR/JRED/Mail-GPG-1.0.11.tar. +gz -> OK Unpacking Mail-GPG-1.0.11.tar.gz Entering Mail-GPG-1.0.11 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04_01) Configuring Mail-GPG-v1.0.11 Running Makefile.PL * Checking for patched MIME-tools package... Not Ok! Please read the README file and apply the required MIME-tools patch before installing Mail::GPG. You can use Mail::GPG without this patch, but Mail::GPG then can't verify all MIME signed messages. * Checking for gpg program... Ok Checking if your kit is complete... Looks good Warning: prerequisite AnyEvent 0 not found. Warning: prerequisite GnuPG::Interface 0 not found. Warning: prerequisite MIME::Entity 5.419 not found. Warning: prerequisite MIME::Parser 5.419 not found. Generating a Unix-style Makefile Writing Makefile for Mail::GPG Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... ... ... ... ... ... ... Installing /usr/local/man/man3/GnuPG::PublicKey.3pm Installing /usr/local/man/man3/GnuPG::Options.3pm Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5. +22.1/perllocal.pod -> OK Successfully installed GnuPG-Interface-0.52 Installing /usr/local/share/perl/5.22.1/x86_64-linux-gnu-thread-multi/ +.meta/GnuPG-Interface-0.52/MYMETA.json Installing /usr/local/share/perl/5.22.1/x86_64-linux-gnu-thread-multi/ +.meta/GnuPG-Interface-0.52/install.json Searching MIME::Entity (5.419) on cpanmetadb ... Already tried MIME-tools-5.509. Skipping. Building and testing Mail-GPG-v1.0.11 cp lib/Mail/GPG/Result.pm blib/lib/Mail/GPG/Result.pm cp lib/Mail/GPG/Test.pm blib/lib/Mail/GPG/Test.pm cp lib/Mail/GPG.pm blib/lib/Mail/GPG.pm cp bin/mgpg-test blib/script/mgpg-test "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/mg +pg-test Manifying 2 pod documents PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/l +ib', 'blib/arch')" t/*.t t/01.base.t ....... ok

I only post the top and bottom of the log. I can post the full log if it helps.


In reply to install Mail::GPG timeout on Ubuntu 16.04 by khandielas

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.