Hello to Everybody!

Forum for questions and support relating to the 1.25.x releases only.
Locked
nujinini
Posts: 2
Joined: Sat May 19, 2012 2:26 am

Hello to Everybody!

Post by nujinini »

Hi Guys!

I am a 50 year old linux enthusiast who happens to be interested in using zoneminder to help protect my home and family.

However, I tried to install it twice, using apt-get and synaptic but always end up with a broken package. I am using Ubuntu 11.10 by the way.

Pardon me also if I have posted this on the wrong page. I am still trying to familiarize myself in navigating inside this forum. And so, may I request the mods to kindly move it to the proper forum if ever.

Here are some outputs I got.

Code: Select all

jun@jun:~$ sudo su
[sudo] password for jun: 
root@jun:/home/jun# apt-get install zoneminder
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  mysql-server mysql-server-5.1
Suggested packages:
  tinyca
The following NEW packages will be installed:
  mysql-server mysql-server-5.1 zoneminder
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/7,938 kB of archives.
After this operation, 20.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 219266 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.62-0ubuntu0.11.10.1_i386.deb) ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /nonexistent -g mysql -s /bin/false -u 120 mysql' returned error code 1. Exiting.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.1_5.1.62-0ubuntu0.11.10.1_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.62-0ubuntu0.11.10.1_all.deb) ...
Selecting previously deselected package zoneminder.
Unpacking zoneminder (from .../zoneminder_1.24.4-1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-5.1_5.1.62-0ubuntu0.11.10.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@jun:/home/jun# 
I am looking forward to any help and so I thank you in advance!
Jim March
Posts: 88
Joined: Thu Oct 04, 2007 8:31 am

Re: Hello to Everybody!

Post by Jim March »

I've been fighting with ZM for ages. It turns out THE top solution is to upgrade to 12.04, because *finally* there's a real working easily installed copy of 1.25 there. You need to follow the directions at my post here:

http://www.zoneminder.com/forums/viewto ... 29&t=19172

Install 12.04, then Apache, then ZM through the standard Ubuntu install process, then do the tweaks listed there. It's by far the cleanest Zoneminder install available. Nothing else comes close.
nujinini
Posts: 2
Joined: Sat May 19, 2012 2:26 am

Re: Hello to Everybody!

Post by nujinini »

Thank you Jim March!

I tried to burn an ISO of 12.04 and installed it but so far it was very buggy. That was early this month though. I'll see if I can get a better beta version this time. Will get back to you for any feedback. Again, thanks!

regards,

nujinini
Jim March
Posts: 88
Joined: Thu Oct 04, 2007 8:31 am

Re: Hello to Everybody!

Post by Jim March »

It's out of beta and working - at least for most people. If you have an NVidia video card, you're going to want driver 295.49 instead of .40 - the .40 version was a complete fiasco and a half. .49 is available as .deb files...solves a lot of issues.
Locked