缺少Perl的依赖关系实际上并不缺不缺、关系、Perl

2023-09-11 08:29:54 作者:全网最靓的仔

我试图在亚马逊网络服务的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.

 
精彩推荐
图片推荐