Code: Select all
$ sudo apt-get install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.31-14 wwwconfig-common libjs-mootools javascript-common linux-headers-2.6.31-14-generic
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
zoneminder
0 upgraded, 1 newly installed, 0 to remove and 145 not upgraded.
Need to get 0B/1,430kB of archives.
After this operation, 6,263kB of additional disk space will be used.
Selecting previously deselected package zoneminder.
(Reading database ... 143592 files and directories currently installed.)
Unpacking zoneminder (from .../zoneminder_1.24.1-1ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up zoneminder (1.24.1-1ubuntu2) ...
Can't open config file '/etc/zm/zm.conf': No such file or directory at /usr/share/perl5/ZoneMinder/Config.pm line 100
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/bin/zmupdate.pl line 49.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 49.
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)