Page 1 of 1

Unable to install ZM on CentOS - Missing Perl Packages

Posted: Fri Sep 02, 2016 3:09 pm
by cparent79
Hi everyone, I'm new here, but not new to linux. I'm wondering if I'm missing some key detail here. I thought the ZMRepo was a complete turnkey solution. I've got a fresh minimal install of CentOS 7 (also tried on fedora and OEL 6 and 7 distros) I'm receiving an error that certain perl packages are missing during the install -

Code: Select all

---> Package perl-Class-Load.noarch 0:0.10-1.el6 will be installed
--> Processing Dependency: perl(Try::Tiny) for package: perl-Class-Load-0.10-1.el6.noarch
--> Processing Dependency: perl(Package::Stash) for package: perl-Class-Load-0.10-1.el6.noarch
---> Package perl-Params-Util.x86_64 0:1.00-3.el6 will be installed
---> Package perl-Sub-Install.noarch 0:0.925-6.el6 will be installed
--> Finished Dependency Resolution
Error: Package: perl-Class-Load-0.10-1.el6.noarch (zmrepo)
           Requires: perl(Package::Stash)
Error: Package: perl-Class-Load-0.10-1.el6.noarch (zmrepo)
           Requires: perl(Try::Tiny)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
I didn't see a list of required packages mentioned on https://zmrepo.zoneminder.com/.

I tried adding the required packages using cpan but it just turned into one broken dependency mess after another.

Any guidance greatly appreciated.

Thank you

Re: Unable to install ZM on CentOS - Missing Perl Packages

Posted: Fri Sep 02, 2016 4:06 pm
by cparent79
DISREGARD. I'm an idiot. All is well :)

Re: Unable to install ZM on CentOS - Missing Perl Packages

Posted: Tue Sep 06, 2016 7:25 pm
by GAC
Hi,

What was your solution, I have exactly the same issue.


Thanks,


GAC

Re: Unable to install ZM on CentOS - Missing Perl Packages

Posted: Tue Sep 06, 2016 8:53 pm
by knight-of-ni
The packages yum claims are missing can be found in the base CentOS repository. This is the repository that comes preconfigured with every default installation of CentOS.

Re: Unable to install ZM on CentOS - Missing Perl Packages

Posted: Tue Sep 06, 2016 9:51 pm
by GAC
I had the default repositories but somehow i got those errors. Solved by adding the epel repository

yum install epel-release

Re: Unable to install ZM on CentOS - Missing Perl Packages

Posted: Tue Sep 06, 2016 11:20 pm
by knight-of-ni
Something else I noticed, the OP claims to be running CentOS7 (el7) but his yum output is from a machine running CentOS6 (el6)
This does not add up.