Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.41-3ubuntu12.10_amd64.deb) ...
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 104, <GEN0> line 7.
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /var/lib/mysql -g mysql -s /bin/false -u 121 mysql' returned error code 1. Exiting.
Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83.
Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.1_5.1.41-3ubuntu12.10_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Error from log:
Unpacking mysql-server-5.1 (from .../mysql- server- 5.1_5.1. 41-3ubuntu12. 10_amd64. deb) ... perl5/Debconf/ DbDriver/ Stack.pm line 104, <GEN0> line 7. perl5/Debconf/ Format/ 822.pm line 83. perl5/Debconf/ Format/ 822.pm line 84. apt/archives/ mysql-server- 5.1_5.1. 41-3ubuntu12. 10_amd64. deb (--unpack):
Use of uninitialized value $_[1] in join or string at /usr/share/
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /var/lib/mysql -g mysql -s /bin/false -u 121 mysql' returned error code 1. Exiting.
Use of uninitialized value $val in substitution (s///) at /usr/share/
Use of uninitialized value $val in concatenation (.) or string at /usr/share/
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1