package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Installing mythtv and mysql-dfsg 5.1 failed to install. Using ultimate edition 2.7 (Ubuntu 10.04 64 bit)
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 (not installed)
ProcVersionSign
Uname: Linux 2.6.32-29-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sat Mar 12 14:23:15 2011
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 (not installed) failed to install/upgrade: 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