All was well until this bit: Setting up zoneminder (1.24.2-1) ... Starting ZoneMinder: Can't locate ZoneMinder.pm in @INC (@INC contains: /usr/local/share/perl/5.10.0 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/bin/zmpkg.pl line 46. BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46. failure
invoke-rc.d: initscript zoneminder, action "start" failed. dpkg: error processing zoneminder (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: zoneminder E: Sub-process /usr/bin/dpkg returned an error code (1)