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

Fetching with LWP:

https://cpan.metacpan.org/authors/id/D/DM/DMUEY/File-Copy-Recursive-0. +45.tar.gz/authors/01mailrc.txt.gz LWP failed with code[501] message[Protocol scheme 'https' is not suppo +rted (LWP::Protocol::https not installed)] Trying with /bin/wget -O "/root/.cpan/sources/authors/01mailrc.txt.gz.tmp18114 +" to get https://cpan.metacpan.org/authors/id/D/DM/DMUEY/File-Copy-Recursiv +e-0.45.tar.gz/authors/01mailrc.txt.gz --2022-03-24 15:40:59-- https://cpan.metacpan.org/authors/id/D/DM/DMU +EY/File-Copy-Recursive-0.45.tar.gz/authors/01mailrc.txt.gz Resolving cpan.metacpan.org (cpan.metacpan.org)... failed: Name or ser +vice not known. wget: unable to resolve host address ‘cpan.metacpan.org’ Function system("/bin/wget -O "/root/.cpan/sources/authors/01mailr +c.txt.gz.tmp18114" "https://cpan.metacpan.org/authors/id/D/DM/DMUEY/F +ile-Copy-Recursive-0.45.tar.gz/authors/01mailrc.txt.gz" ") returned status 4 (wstat 1024), left /root/.cpan/sources/authors/01mailrc.txt.gz.tmp18114 with size 0 Warning: no success downloading '/root/.cpan/sources/authors/01mai +lrc.txt.gz.tmp18114'. Giving up on it. Trying with /bin/wget -O "/root/.cpan/sources/authors/01mailrc.txt.gz.tmp18114 +" to get https://cpan.metacpan.org/authors/id/D/DM/DMUEY/File-Copy-Recursiv +e-0.45.tar.gz/authors/01mailrc.txt.gz --2022-03-24 15:40:59-- https://cpan.metacpan.org/authors/id/D/DM/DMU +EY/File-Copy-Recursive-0.45.tar.gz/authors/01mailrc.txt.gz Resolving cpan.metacpan.org (cpan.metacpan.org)... failed: Name or ser +vice not known. wget: unable to resolve host address ‘cpan.metacpan.org’ Function system("/bin/wget -O "/root/.cpan/sources/authors/01mailr +c.txt.gz.tmp18114" "https://cpan.metacpan.org/authors/id/D/DM/DMUEY/F +ile-Copy-Recursive-0.45.tar.gz/authors/01mailrc.txt.gz" ") returned status 4 (wstat 1024), left

Code tags added by GrandFather

  • Comment on When i am installing one Cpan module i am getting error like this.
  • Download Code

Replies are listed 'Best First'.
Re: When i am installing one Cpan module i am getting error like this.
by hippo (Archbishop) on Mar 24, 2022 at 13:26 UTC
    unable to resolve host address ‘cpan.metacpan.org’

    If your machine cannot resolve hostnames you are going to have a lot of problems. Talk to your systems administrator and fix the DNS resolution problem first.


    🦛

Re: When i am installing one Cpan module i am getting error like this.
by LanX (Saint) on Mar 24, 2022 at 13:57 UTC