小弟最近在安裝 mysql-server 失敗, 再次安裝時出現了以下訊息 , 請問一下大家可能是什麼原因造成 deb無法安裝完成 .. 謝謝
# apt-get install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
mysql-server
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2801kB of archives. After unpacking 7561kB will be used.
Preconfiguring packages ...
(Reading database ... 9726 files and directories currently installed.)
Unpacking mysql-server (from .../mysql-server_3.23.49-8.6_i386.deb) ...
useradd: unable to open password file
userdel: user mysql does not exist
dpkg: error processing /var/cache/apt/archives/mysql-server_3.23.49-8.6_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server_3.23.49-8.6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)