缺少 Perl 依赖项实际上并没有丢失

Missing Perl dependencies not actually missing

我正在尝试在 Amazon Web Services 的 EC2 实例上安装 OTRS Help Desk。我正在按照安装说明 here 进行操作。但是当我尝试安装 otrs 时,出现以下错误:

Error: Package: otrs-4.0.8-02.noarch (/otrs-4.0.8-02.noarch)
       Requires: perl(Archive::Zip)
Error: Package: otrs-4.0.8-02.noarch (/otrs-4.0.8-02.noarch)
       Requires: perl(Template)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

当我尝试使用 cpan 安装 Archive::Zip 时:

cpan[2]> install Archive::Zip
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Sat, 06 Jun 2015 19:41:02 GMT
Archive::Zip is up to date (1.46).

知道为什么找不到依赖项吗?

正如上面的评论所指出的,OTRS 是一个寻找其他 rpm 的 rpm 包。那和 CPAN 之间没有协调。所以解决方案是使用类似 rpmfind.net 的方式找到 .rpm 文件。在我的例子中,我会使用 wget 下载 rpm,然后我能够安装依赖项。