Missing Perl Dependencies not actually missing

Moderator: crythias

Locked
tmoore82
Znuny newbie
Posts: 27
Joined: 11 Nov 2013, 16:35
Znuny Version: 3.2.12
Real Name: Tyler Moore
Company: Installed Building Products

Missing Perl Dependencies not actually missing

Post by tmoore82 »

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:

Code: Select all

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:

Code: Select all

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?


cross-posted on stackoverflow: http://stackoverflow.com/questions/3068 ... ly-missing
OTRS v. 3.3.3, Cent OS 6.4, MySQL 5.1.71
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Missing Perl Dependencies not actually missing

Post by jojo »

you mix rpm dependdencies with PERL dependencies.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tmoore82
Znuny newbie
Posts: 27
Joined: 11 Nov 2013, 16:35
Znuny Version: 3.2.12
Real Name: Tyler Moore
Company: Installed Building Products

Re: Missing Perl Dependencies not actually missing

Post by tmoore82 »

I don't understand, jojo. Should I be trying to install perl(Archive::Zip) a different way? Or are you just saying that I've mislabeled my post?
OTRS v. 3.3.3, Cent OS 6.4, MySQL 5.1.71
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Missing Perl Dependencies not actually missing

Post by jojo »

you try to install via rpm. So it is checked if the needed modules are installed via rpm (suggested). You installed the modules via cpan so the rpm database does not know of it.

For further information please consult your linux admin
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tmoore82
Znuny newbie
Posts: 27
Joined: 11 Nov 2013, 16:35
Znuny Version: 3.2.12
Real Name: Tyler Moore
Company: Installed Building Products

Re: Missing Perl Dependencies not actually missing

Post by tmoore82 »

Ok. I think I understand. Unfortunately, I *am* my Linux admin. :) But that gives me something to go on. I'll see if I can figure out how to update my rpm database.
OTRS v. 3.3.3, Cent OS 6.4, MySQL 5.1.71
Locked