Problem installing ZoneMinder under Debian 8

Forum for questions and support relating to the 1.29.x releases only.
Locked
gbeddow
Posts: 5
Joined: Wed Dec 14, 2016 8:35 pm

Problem installing ZoneMinder under Debian 8

Post by gbeddow »

Hi,

I tried the installation steps in these links:
https://zoneminder.readthedocs.io/en/st ... ebian.html
viewtopic.php?t=24349
https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way

But here's what happens:

Code: Select all

# vi /etc/apt/sources.list
(add jessie-backports)

# apt-get update

# apt-get install zoneminder
...
Preparing to unpack .../zoneminder_1.29.0+dfsg-1~bpo8+1_armel.deb ...
Unpacking zoneminder (1.29.0+dfsg-1~bpo8+1) ...
...
dpkg: dependency problems prevent configuration of zoneminder:
zoneminder depends on javascript-common; however:
  Package javascript-common is not configured yet.
dpkg: error processing package zoneminder (--configure):
dependency problems - leaving unconfigured
...
Errors were encountered while processing:javascript-common
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've tried uninstalling and reinstalling javascript-common (and a LOT of other measures) to no avail.

Any idea how to fix this?

Thanks,
Greg
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Problem installing ZoneMinder under Debian 8

Post by bbunge »

Just ran the install procedure with no errors:

https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way
gbeddow
Posts: 5
Joined: Wed Dec 14, 2016 8:35 pm

Re: Problem installing ZoneMinder under Debian 8

Post by gbeddow »

Thanks for the help, much appreciated. I was finally able to track this down to a post-install script for javascript-common (dependency of ZoneMinder) that was assuming apache 2.4 (still running apache 2.2 here). With a bit of hacking on the script it finally installed.
Locked