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

Bug #1111762 reported by Bik
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
zoneminder (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

ubuntu 12.04.1 LTS
OS type 64-bit
Processor Intel Core2 Quad CPU Q8200 @ 2.33Ghz x 4

$ sudo apt-get install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libemail-date-format-perl libgnutls-openssl27 libjs-mootools libmime-lite-perl
  libmime-types-perl libphp-serialization-perl libsys-mmap-perl php5
The following NEW packages will be installed:
  libemail-date-format-perl libgnutls-openssl27 libjs-mootools libmime-lite-perl
  libmime-types-perl libphp-serialization-perl libsys-mmap-perl php5 zoneminder
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,304 kB of archives.
After this operation, 8,468 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls-openssl27 amd64 2.12.14-5ubuntu3.1 [21.6 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ precise/universe libemail-date-format-perl all 1.002-1 [6,354 B]
Get:3 http://in.archive.ubuntu.com/ubuntu/ precise/universe libjs-mootools all 1.4.2~debian1-1 [231 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ precise/universe libmime-lite-perl all 3.028-1 [67.6 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ precise/main libmime-types-perl all 1.32-1 [29.1 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ precise/universe libphp-serialization-perl all 0.34-1 [11.1 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu/ precise/universe libsys-mmap-perl amd64 0.16-1build1 [17.8 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main php5 all 5.3.10-1ubuntu3.5 [1,072 B]
Get:9 http://in.archive.ubuntu.com/ubuntu/ precise/universe zoneminder amd64 1.25.0-1 [1,918 kB]
Fetched 2,304 kB in 11s (193 kB/s)
Selecting previously unselected package libgnutls-openssl27.
(Reading database ... 385367 files and directories currently installed.)
Unpacking libgnutls-openssl27 (from .../libgnutls-openssl27_2.12.14-5ubuntu3.1_amd64.deb) ...
Selecting previously unselected package libemail-date-format-perl.
Unpacking libemail-date-format-perl (from .../libemail-date-format-perl_1.002-1_all.deb) ...
Selecting previously unselected package libjs-mootools.
Unpacking libjs-mootools (from .../libjs-mootools_1.4.2~debian1-1_all.deb) ...
Selecting previously unselected package libmime-lite-perl.
Unpacking libmime-lite-perl (from .../libmime-lite-perl_3.028-1_all.deb) ...
Selecting previously unselected package libmime-types-perl.
Unpacking libmime-types-perl (from .../libmime-types-perl_1.32-1_all.deb) ...
Selecting previously unselected package libphp-serialization-perl.
Unpacking libphp-serialization-perl (from .../libphp-serialization-perl_0.34-1_all.deb) ...
Selecting previously unselected package libsys-mmap-perl.
Unpacking libsys-mmap-perl (from .../libsys-mmap-perl_0.16-1build1_amd64.deb) ...
Selecting previously unselected package php5.
Unpacking php5 (from .../php5_5.3.10-1ubuntu3.5_all.deb) ...
Selecting previously unselected package zoneminder.
Unpacking zoneminder (from .../zoneminder_1.25.0-1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libgnutls-openssl27 (2.12.14-5ubuntu3.1) ...
Setting up libemail-date-format-perl (1.002-1) ...
Setting up libjs-mootools (1.4.2~debian1-1) ...
Setting up libmime-lite-perl (3.028-1) ...
Setting up libmime-types-perl (1.32-1) ...
Setting up libphp-serialization-perl (0.34-1) ...
Setting up libsys-mmap-perl (0.16-1build1) ...
Setting up php5 (5.3.10-1ubuntu3.5) ...
Setting up zoneminder (1.25.0-1) ...
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
failure

invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
                                                              Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: zoneminder 1.25.0-1
ProcVersionSignature: Ubuntu 3.2.0-36.57-generic 3.2.35
Uname: Linux 3.2.0-36-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
AptOrdering: zoneminder: Configure
Architecture: amd64
Date: Thu Jan 31 23:55:13 2013
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release amd64 (20110720.1)
MarkForUpload: True
SourcePackage: zoneminder
Title: package zoneminder 1.25.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bik (bikramjit-ganguly) wrote :
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
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.