[Bug 1291058] Re: 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

Brian Murray brian at ubuntu.com
Mon Aug 18 22:15:22 UTC 2014


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
Foundations Bugs, which is subscribed to dpkg in 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

Status in “zoneminder” package in Ubuntu:
  Confirmed

Bug description:
  Upgarde from Ubuntu 12.04.4 to 12.10 in the hope of fixing backuppc samba probelme when backing up Windows hosts.
  Upgarde reported zoneminder cannot be upgraded because it is configured alread
  After finished upgrade and restart in 12.10, zoneminder functioned as normal.
  lsb_release -rd
  Description:	Ubuntu 12.10
  Release:	12.10

  Zoneminder installed Version 1.25.0-1
  Latest Available Version 1.25.0-1.1ubuntu1

  ProblemType: Package
  DistroRelease: Ubuntu 12.10
  Package: zoneminder 1.25.0-1 [modified: usr/share/perl5/ZoneMinder/Memory.pm]
  ProcVersionSignature: Ubuntu 3.5.0-47.71-generic 3.5.7.30
  Uname: Linux 3.5.0-47-generic i686
  ApportVersion: 2.6.1-0ubuntu13
  Architecture: i386
  Date: Tue Mar 11 10:07:15 2014
  DuplicateSignature: package:zoneminder:1.25.0-1 [modified: usr/share/perl5/ZoneMinder/Memory.pm]:ErrorMessage: package zoneminder is already installed and configured
  ErrorMessage: ErrorMessage: package zoneminder is already installed and configured
  InstallationDate: Installed on 2012-11-26 (470 days ago)
  InstallationMedia: This
  MarkForUpload: True
  SourcePackage: dpkg
  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
  UpgradeStatus: Upgraded to quantal on 2014-03-11 (0 days ago)

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



More information about the foundations-bugs mailing list