unable to install zoneminder on my ubuntu>>>>>>Pls Help

Forum for questions and support relating to the 1.25.x releases only.
Locked
oouch
Posts: 4
Joined: Wed Feb 20, 2013 6:15 pm

unable to install zoneminder on my ubuntu>>>>>>Pls Help

Post by oouch »

test@ubuntu:~$ sudo apt-get install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
zoneminder
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,940 kB of archives.
After this operation, 6,790 kB of additional disk space will be used.
Selecting previously unselected package zoneminder.
(Reading database ... 158179 files and directories currently installed.)
Unpacking zoneminder (from .../zoneminder_1.25.0-1.1ubuntu1_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up zoneminder (1.25.0-1.1ubuntu1) ...
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
failure

invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
subprocess installed 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)
:idea: :idea:
davidsmoot
Posts: 15
Joined: Tue Feb 26, 2013 2:35 am

Re: unable to install zoneminder on my ubuntu>>>>>>Pls Help

Post by davidsmoot »

I had a similar error after I had compiled from source then tried to install the package. What worked for me was an apt-get remove followed by manually deleting the file and zoneminder directory at that location in your error message and then re-installing with an apt-get.

Good luck
Locked