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

Bug #1291058 reported by microbert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zoneminder (Ubuntu)
Confirmed
Undecided
Unassigned

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)

Revision history for this message
microbert (u-seibold) wrote :
tags: removed: need-duplicate-check
Anders (eddiedog988)
Changed in dpkg (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

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.

affects: dpkg (Ubuntu) → zoneminder (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.