iconnor PPA is a lot more up to date, but he has been working on packaging
process so that may have caused your issue. He was working to line up
closer to official debian package. Might have better luck in the
zoneminder.com forum or #zoneminder irc. I will see if I can confirm this
error but maybe a version somewhere is out of sync as a fresh install would
have used create db script and not need to run that 1.26.5 sql update.

On Mon, Aug 24, 2015 at 12:20 AM, Ian Lisle <[email protected]> wrote:

> Sorry, was installed and working from iconnor PPA. Stopped working after
> update, so I installed the package, and manually cleared out all remaining
> traces of the install, including dropping the database and removing the db
> user, so as to get a completely fresh install from the Ubuntu official
> repository. The install fails at the last stage of db upgrade.
>
> Hope this helps.
> On 23 Aug 2015 15:15, "Steve Gilvarry" <[email protected]> wrote:
>
> > "Fresh install, manually cleared out all existing instances." Can you
> > elaborate on this as fresh install would not require manually clearing
> > existing instances, and the error indicates your database already
> > contains the field being added.
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1487857
> >
> > Title:
> >   package zoneminder 1.26.5-1ubuntu3 failed to install/upgrade:
> >   subprocess installed post-installation script returned error exit
> >   status 1
> >
> > Status in zoneminder package in Ubuntu:
> >   New
> >
> > Bug description:
> >   Fresh install, manually cleared out all existing instances.  Fails to
> >   install
> >
> >   ERROR 1060 (42S21) at line 8: Duplicate column name 'AlarmRefBlendPerc'
> >   Output:
> >   Command 'mysql -hlocalhost -uzmuser -pzmpass zm <
> > /usr/share/zoneminder/db/zm_update-1.26.5.sql' exited with status: 1
> >   dpkg: error processing package zoneminder (--configure):
> >    subprocess installed post-installation script returned error exit
> > status 1
> >   Processing triggers for ureadahead (0.100.0-16) ...
> >   Errors were encountered while processing:
> >    zoneminder
> >   E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> >   Description:  Ubuntu 14.04.3 LTS
> >   Release:      14.04
> >
> >   ProblemType: Package
> >   DistroRelease: Ubuntu 14.04
> >   Package: zoneminder 1.26.5-1ubuntu3
> >   ProcVersionSignature: Ubuntu 3.16.0-46.62~14.04.1-generic 3.16.7-ckt15
> >   Uname: Linux 3.16.0-46-generic x86_64
> >   ApportVersion: 2.14.1-0ubuntu3.12
> >   AptOrdering:
> >    zoneminder: Install
> >    zoneminder: Configure
> >   Architecture: amd64
> >   Date: Sun Aug 23 13:39:09 2015
> >   DuplicateSignature: package:zoneminder:1.26.5-1ubuntu3:subprocess
> > installed post-installation script returned error exit status 1
> >   ErrorMessage: subprocess installed post-installation script returned
> > error exit status 1
> >   InstallationDate: Installed on 2015-04-19 (125 days ago)
> >   InstallationMedia: It
> >   RelatedPackageVersions:
> >    dpkg 1.17.5ubuntu5.4
> >    apt  1.0.1ubuntu2.10
> >   SourcePackage: zoneminder
> >   Title: package zoneminder 1.26.5-1ubuntu3 failed to install/upgrade:
> > subprocess installed post-installation script returned error exit status
> 1
> >   UpgradeStatus: No upgrade log present (probably fresh install)
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/1487857/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to
> zoneminder in Ubuntu.
> Matching subscriptions: zm
> https://bugs.launchpad.net/bugs/1487857
>
> Title:
>   package zoneminder 1.26.5-1ubuntu3 failed to install/upgrade:
>   subprocess installed post-installation script returned error exit
>   status 1
>
> Status in zoneminder package in Ubuntu:
>   New
>
> Bug description:
>   Fresh install, manually cleared out all existing instances.  Fails to
>   install
>
>   ERROR 1060 (42S21) at line 8: Duplicate column name 'AlarmRefBlendPerc'
>   Output:
>   Command 'mysql -hlocalhost -uzmuser -pzmpass zm <
> /usr/share/zoneminder/db/zm_update-1.26.5.sql' exited with status: 1
>   dpkg: error processing package zoneminder (--configure):
>    subprocess installed post-installation script returned error exit
> status 1
>   Processing triggers for ureadahead (0.100.0-16) ...
>   Errors were encountered while processing:
>    zoneminder
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>   Description:  Ubuntu 14.04.3 LTS
>   Release:      14.04
>
>   ProblemType: Package
>   DistroRelease: Ubuntu 14.04
>   Package: zoneminder 1.26.5-1ubuntu3
>   ProcVersionSignature: Ubuntu 3.16.0-46.62~14.04.1-generic 3.16.7-ckt15
>   Uname: Linux 3.16.0-46-generic x86_64
>   ApportVersion: 2.14.1-0ubuntu3.12
>   AptOrdering:
>    zoneminder: Install
>    zoneminder: Configure
>   Architecture: amd64
>   Date: Sun Aug 23 13:39:09 2015
>   DuplicateSignature: package:zoneminder:1.26.5-1ubuntu3:subprocess
> installed post-installation script returned error exit status 1
>   ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
>   InstallationDate: Installed on 2015-04-19 (125 days ago)
>   InstallationMedia: It
>   RelatedPackageVersions:
>    dpkg 1.17.5ubuntu5.4
>    apt  1.0.1ubuntu2.10
>   SourcePackage: zoneminder
>   Title: package zoneminder 1.26.5-1ubuntu3 failed to install/upgrade:
> subprocess installed post-installation script returned error exit status 1
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/1487857/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487857

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to