Missing Perl dependencies not actually missing

六眼飞鱼酱① 提交于 2019-12-20 07:33:30

问题


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

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?


回答1:


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.



来源:https://stackoverflow.com/questions/30687167/missing-perl-dependencies-not-actually-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!