The problem is due to the zm database already exists in mysql. You need to delete it before installing zoneminder.
> sudo mysql -p <enter your mysql root password> mysql> DROP DATABASE zm; mysql> exit > sudo apt-get install zoneminder -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1035527 Title: package zoneminder 1.25.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/1035527/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs