I *think* you need to follow the following (it did work for someone else)
Stuff from << on is just for comments

In the terminal window do the following
mysql -uroot -p  (return)   << gets you into the mysql shell with admin
privs if you do not know the password try your root pwd
GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' IDENTIFIED BY
"zmpass";  << should/must be case sensitive just copy and paste

Quit    << gets you OUT of mysql

sudo apt-get upgrade  << you will be prompted for the password

After a few minutes and lots of activity you should/may need to reboot

Then you should not see the error message

Hope this helps

Let me know if you have any more questions

Jim Sterling (still a new-be after more years then I can remember)



On 5/7/12 5:31 PM, "Dave Lentz" <[email protected]> wrote:

>** Summary changed:
>
>- package zoneminder 1.25.0-1 failed to install/upgrade: subprocess
>installed post-installation script returned error exit status 1
>+ package zoneminder 1.25.0-1 failed to install/upgrade: subprocess
>installed post-installation script returned error exit status 1 [ERROR
>1142 (42000) at line 10: CREATE command denied to user
>'zmuser'@'localhost']
>
>-- 
>You received this bug notification because you are subscribed to a
>duplicate bug report (989259).
>https://bugs.launchpad.net/bugs/940632
>
>Title:
>  package zoneminder 1.25.0-1 failed to install/upgrade: subprocess
>  installed post-installation script returned error exit status 1 [ERROR
>  1142 (42000) at line 10: CREATE command denied to user
>  'zmuser'@'localhost']
>
>Status in ³zoneminder² package in Ubuntu:
>  Confirmed
>Status in ³zoneminder² package in Debian:
>  New
>
>Bug description:
>  no further information
>
>  ProblemType: Package
>  DistroRelease: Ubuntu 12.04
>  Package: zoneminder 1.25.0-1
>  ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
>  Uname: Linux 3.2.0-17-generic x86_64
>  NonfreeKernelModules: nvidia
>  ApportVersion: 1.93-0ubuntu2
>  AptOrdering:
>   libapr1: Install
>   zoneminder: Configure
>   libapr1: Configure
>  Architecture: amd64
>  Date: Fri Feb 24 22:29:28 2012
>  ErrorMessage: subprocess installed post-installation script returned
>error exit status 1
>  SourcePackage: zoneminder
>  Title: package zoneminder 1.25.0-1 failed to install/upgrade:
>subprocess installed post-installation script returned error exit status 1
>  UpgradeStatus: Upgraded to precise on 2012-02-24 (0 days ago)
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/940632/+subscrip
>tions

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

Title:
  package zoneminder 1.25.0-1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1 [ERROR
  1142 (42000) at line 10: CREATE command denied to user
  'zmuser'@'localhost']

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

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

Reply via email to