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
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/
ProcVersionSign
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:
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/
UpgradeStatus: Upgraded to quantal on 2014-03-11 (0 days ago)
tags: | removed: need-duplicate-check |
Changed in dpkg (Ubuntu): | |
status: | New → Confirmed |
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 '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/ZoneMinde r/Config. pm line 89^M perl5/ZoneMinde r/Config. pm line 91.^M perl5/ZoneMinde r/Config. pm line 100.^M perl5/ZoneMinde r.pm line 33.^M perl5/ZoneMinde r.pm line 33.^M zoneminder for the images and/or events directory, which could^M zoneminder before installing zoneminder from the package.^M apt/archives/ zoneminder_ 1.25.0- 1.1ubuntu1_ i386.deb (--unpack):^M '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/ZoneMinde r/Config. pm line 89^M perl5/ZoneMinde r/Config. pm line 91.^M perl5/ZoneMinde r/Config. pm line 100.^M perl5/ZoneMinde r.pm line 33.^M perl5/ZoneMinde r.pm line 33.^M
Stopping ZoneMinder: DBI connect(
Can't call method "prepare_cached" on an undefined value at /usr/share/
BEGIN failed--compilation aborted at /usr/share/
Compilation failed in require at /usr/share/
BEGIN failed--compilation aborted at /usr/share/
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/
result in loss of data. Please move your data in each of these directories to^M
/var/cache/
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1^M
Starting ZoneMinder: DBI connect(
Can't call method "prepare_cached" on an undefined value at /usr/share/
BEGIN failed--compilation aborted at /usr/share/
Compilation failed in require at /usr/share/
BEGIN failed--compilation aborted at /usr/share/
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.