我一直在尝试安装 Date::Manip perl 模块,但一直收到此错误
[root@localhost ~]# cpanm Date::Manip
! Finding Date::Manip on cpanmetadb failed.
! cannot open file '/root/.cpanm/sources/http%www.cpan.org/02packages.details.txt.gz':
No such file or directory opening compressed index
! Couldn't find module or a distribution Date::Manip
cpanmetadb 网站有什么问题?使用 cpanm 运行 --verbose 选项让我得到了这个输出
[root@localhost .cpanm]# cpanm Date::Manip --verbose
cpanm (App::cpanminus) 1.7001 on perl 5.010001 built for x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1380194227.8657
You have make /usr/bin/make
You have LWP 5.833
You have /bin/tar: tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.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 Date::Manip on cpanmetadb ...
! Finding Date::Manip on cpanmetadb failed.
Searching Date::Manip () on metacpan ...
! Could not find a release matching Date::Manip () on MetaCPAN.
Searching Date::Manip on mirror http://www.cpan.org ...
Downloading index file http://www.cpan.org/modules/02packages.details.txt.gz ...
Uncompressing index file...
! cannot open file '/root/.cpanm/sources/http%www.cpan.org
/02packages.details.txt.gz': No such file or directory opening compressed index
! Couldn't find module or a distribution Date::Manip