Unable to install ZM on CentOS - Missing Perl Packages

Forum for questions and support relating to the 1.30.x releases only.
Post Reply
cparent79
Posts: 2
Joined: Fri Sep 02, 2016 2:56 pm

Unable to install ZM on CentOS - Missing Perl Packages

Post by cparent79 » Fri Sep 02, 2016 3:09 pm

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

cparent79
Posts: 2
Joined: Fri Sep 02, 2016 2:56 pm

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

Post by cparent79 » Fri Sep 02, 2016 4:06 pm

DISREGARD. I'm an idiot. All is well :)

GAC
Posts: 2
Joined: Tue Sep 06, 2016 7:23 pm

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

Post by GAC » Tue Sep 06, 2016 7:25 pm

Hi,

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


Thanks,


GAC

User avatar
knight-of-ni
Posts: 2231
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

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

Post by knight-of-ni » Tue Sep 06, 2016 8:53 pm

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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

GAC
Posts: 2
Joined: Tue Sep 06, 2016 7:23 pm

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

Post by GAC » Tue Sep 06, 2016 9:51 pm

I had the default repositories but somehow i got those errors. Solved by adding the epel repository

yum install epel-release

User avatar
knight-of-ni
Posts: 2231
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

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

Post by knight-of-ni » Tue Sep 06, 2016 11:20 pm

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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests