从稳定的 Debian 8 安装开始,我在以下链接中执行了安装步骤:
https://zoneminder.readthedocs.io/en/stable/installationguide/debian.html https://wiki.zoneminder.com/Debian_8_64-bit_with_Zoneminder_1.29.0_the_Easy_Way
但发生的事情是这样的:
添加 jessie 向后移植:
# vi /etc/apt/sources.list
deb http://http.debian.net/debian jessie-backports main
开始安装:
# 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)
我尝试卸载并重新安装 javascript-common (以及很多其他措施)但无济于事。
知道如何解决这个问题吗?
谢谢,格雷格
答案1
感谢您的帮助,非常感谢。我终于能够追踪到 javascript-common(ZoneMinder 的依赖项)的安装后脚本,该脚本假设 apache 2.4(此处仍然运行 apache 2.2)。通过对脚本进行一些修改,它终于安装了。