Installation failed on Ubuntu 16.04

Forum for questions and support relating to the 1.30.x releases only.
Locked
yakuraku
Posts: 7
Joined: Mon Sep 04, 2017 5:50 pm

Installation failed on Ubuntu 16.04

Post 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?
yakuraku
Posts: 7
Joined: Mon Sep 04, 2017 5:50 pm

Re: Installation failed on Ubuntu 16.04

Post 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.
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Installation failed on Ubuntu 16.04

Post by Baylink »

Aha!

:-)

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