The initial error is actually with the zoneminder package.

Preparing to replace zoneminder 1.25.0-1 (using 
.../zoneminder_1.25.0-1.1ubuntu1_i386.deb) ...^M
Stopping ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) 
failed: Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 
89^M
Can't call method "prepare_cached" on an undefined value at 
/usr/share/perl5/ZoneMinder/Config.pm line 91.^M
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 
100.^M
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.^M
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.^M
Compilation failed in require at /usr/bin/zmpkg.pl line 37.^M
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.^M
Zoneminder already stopped^M
^M
Aborting installation of zoneminder due to non-default symlinks in^M
/usr/share/zoneminder for the images and/or events directory, which could^M
result in loss of data. Please move your data in each of these directories to^M
/var/cache/zoneminder before installing zoneminder from the package.^M
dpkg: error processing 
/var/cache/apt/archives/zoneminder_1.25.0-1.1ubuntu1_i386.deb (--unpack):^M
 subprocess new pre-installation script returned error exit status 1^M
Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) 
failed: Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 
89^M
Can't call method "prepare_cached" on an undefined value at 
/usr/share/perl5/ZoneMinder/Config.pm line 91.^M
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 
100.^M
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.^M
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.^M
Compilation failed in require at /usr/bin/zmpkg.pl line 37.^M
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.^M
failure^M
^M
invoke-rc.d: initscript zoneminder, action "start" failed.^M
invoke-rc.d: release upgrade in progress, error is not fatal^M

The already installed and configured bug (from dpkg) is well known and
another duplicate is unnecessary, so I'm moving this to the zoneminder
package.

** Package changed: dpkg (Ubuntu) => zoneminder (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1291058

Title:
  package zoneminder 1.25.0-1 [modified:
  usr/share/perl5/ZoneMinder/Memory.pm] failed to install/upgrade:
  ErrorMessage: package zoneminder is already installed and configured

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/1291058/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to