缺少Perl的依赖关系实际上并不缺 [英] Missing Perl dependencies not actually missing

查看:239
本文介绍了缺少Perl的依赖关系实际上并不缺的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在亚马逊网络服务的EC2实例安装OTRS帮助台。我下面的安装说明这里。但是,当我尝试安装OTRS,我得到以下错误:

I'm trying to install OTRS Help Desk on an EC2 instance of Amazon Web Services. I'm following the installation instructions here. But when I try to install otrs, I get the following errors:

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安装档案::邮编:

When I try to install Archive::Zip using cpan:

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).

任何想法,为什么它不能找到的依赖?

Any idea why it can't find the dependency?

推荐答案

正如上面点了意见,OTRS是一个rpm包,寻找其他转的。还有那和CPAN之间没有协调。因此,解决办法是找到使用类似 rpmfind.net 的.rpm的文件。在我的情况,然后我会使用的wget 下载RPM,然后我能够安装的依赖关系。

As the comments above point out, OTRS is an rpm package that looks for other rpm's. There's no coordination between that and CPAN. So the solution is to find the .rpm file using something like rpmfind.net. In my case, then I would use wget to download the rpm, and then I was able to install the dependencies.

这篇关于缺少Perl的依赖关系实际上并不缺的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆