Page 1 of 1

Installation failed on Ubuntu 16.04

Posted: Mon Sep 04, 2017 5:54 pm
by yakuraku
Hi,

I tried to install Zoneminder with the guide provided here:https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

It works until "apt install zoneminder" with failes with:

Code: Select all

# apt install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  fcgiwrap
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/5801 kB of archives.
After this operation, 36.5 MB of additional disk space will be used.
Selecting previously unselected package zoneminder.
(Reading database ... 101476 files and directories currently installed.)
Preparing to unpack .../zoneminder_1.30.4-xenial1_amd64.deb ...
Unpacking zoneminder (1.30.4-xenial1) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up zoneminder (1.30.4-xenial1) ...
ERROR 1819 (HY000) at line 562: Your password does not satisfy the current policy requirements
dpkg: error processing package zoneminder (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
It is a clean installation of Ubuntu 16.04 especial for Zoneminder.
I used the PPA: ppa:iconnor/zoneminder

Any clue what is going wrong here?

Re: Installation failed on Ubuntu 16.04

Posted: Mon Sep 04, 2017 6:04 pm
by yakuraku
Ok, found the reason myself.
I activated password validation in mysql, which was obviously not a compatible setting for the installtion of zoneminder.

I removed it in the mysql-console with: uninstall plugin validate_password;

This may be fixed in the script (use a strong password is always a good idea!), or added in the installation wiki.

Re: Installation failed on Ubuntu 16.04

Posted: Mon Sep 04, 2017 7:12 pm
by Baylink
Aha!

:-)

It's not 100% you're getting the package from the PPA from that scrool, either...