package zoneminder 1.25.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1035527 reported by Freddy Valdenegro
110
This bug affects 13 people
Affects Status Importance Assigned to Milestone
zoneminder (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

hhh

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: zoneminder 1.25.0-1
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic-pae 3.2.21
Uname: Linux 3.2.0-27-generic-pae i686
ApportVersion: 2.0.1-0ubuntu12
AptOrdering:
 starvoyager: Remove
 zoneminder: Configure
Architecture: i386
Date: Tue Aug 7 21:11:08 2012
DuplicateSignature:
 Setting up zoneminder (1.25.0-1) ...
 ERROR 1146 (42S02) at line 1: Table 'zm.Config' doesn't exist
 dpkg: error processing zoneminder (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
SourcePackage: zoneminder
Title: package zoneminder 1.25.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Freddy Valdenegro (fvalden) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zoneminder (Ubuntu):
status: New → Confirmed
Revision history for this message
Juan Pablo Martí (yampilop) wrote :

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

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.