我有一台CentOS 7 VM。我安装了" cpan-CPAN"来自百胜。我跑了" cpan"并让它自己配置。我用sudo运行它,虽然我后来意识到我没有必要这样做,如果我后来选择" sudo"安装模式。
完成配置后,我输入了#34;安装Archive :: Zip"。它给了我这个:
cpan[1]> install Archive::Zip
Fetching with HTTP::Tiny:
http://cpan.mmgdesigns.com.ar/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
gzip: /root/.cpan/sources/authors/01mailrc.txt.gz: not in gzip format
............................................................................DONE
Fetching with HTTP::Tiny:
http://cpan.mmgdesigns.com.ar/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
gzip: /root/.cpan/sources/modules/02packages.details.txt.gz: not in gzip format
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Could not split line[" </td>\cM"]
Could not split line[" </tr>\cM"]
Could not split line[" </tbody>\cM"]
Could not split line[" </table>\cM"]
Giving up parsing your /root/.cpan/sources/modules/02packages.details.txt.gz, too many errorsReading '/root/.cpan/sources/authors/01mailrc.txt.gz'
gzip: /root/.cpan/sources/authors/01mailrc.txt.gz: not in gzip format
............................................................................DONE
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
gzip: /root/.cpan/sources/modules/02packages.details.txt.gz: not in gzip format
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Could not split line[" </td>\cM"]
Could not split line[" </tr>\cM"]
Could not split line[" </tbody>\cM"]
Could not split line[" </table>\cM"]
Giving up parsing your /root/.cpan/sources/modules/02packages.details.txt.gz, too many errorsTerminal does not support GetHistory.
Lockfile removed.
此时我该怎么做?
答案 0 :(得分:1)
CPAN镜像(http://cpan.mmgdesigns.com.ar)向您返回HTML输出,而不是下载02packages.details.txt.gz
,可能是404错误消息。
也许CPAN镜像不再提供CPAN文件,或者您可能在代理服务器后面而且您的代理服务器不想提供来自...的文件...阿根廷,是吗?