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#