Problems installing on ubuntu with apt-get

Forum for questions and support relating to the 1.24.x releases only.
Locked
RoySmith
Posts: 2
Joined: Mon Sep 06, 2010 2:57 pm

Problems installing on ubuntu with apt-get

Post by RoySmith »

I'm trying to install zone minder onto my ubuntu system using apt-get. When I run install, I get an error that /etc/zm/zm.conf doesn't exist. Anybody have a clue what I might be doing wrong here?

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)
Previous to discovering that there was an apt-get package, I made some attemptes to install it by downloading zoneminder_1.24.2-5_i386.deb and running dpkg. Maybe it's possible those earlier attempts left the system in an inconsistent state and now apt-get can't deal with it?
RoySmith
Posts: 2
Joined: Mon Sep 06, 2010 2:57 pm

Re: Problems installing on ubuntu with apt-get

Post by RoySmith »

Update here -- I backed off from the apt-get idea and just built from source. Up and running now.
Locked