无法在 Ubuntu 12.04 LTS 下安装 mysql

无法在 Ubuntu 12.04 LTS 下安装 mysql

可能重复:
如何在 Ubuntu 12.04 上恢复 MySQL?

我在 Ubuntu 下尝试安装 MySQL 服务器时出现以下错误:

Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.5; however:
 Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error    from         a previous failure.
                          Errors were encountered while processing:
 mysql-server-5.5
 mysql-server
 E: Sub-process /usr/bin/dpkg returned an error code (1)

我尝试了在网上找到的各种解决方案,但都不起作用:我试过了apt-get purge mysql-server* mysql-common,我删除了所有目录,我试过通过安装apt-get install -f mysql-server,我检查过dpkg -S,还有dpkg --configure mysql-server-5.5

更多信息:

Kernel : 3.0.8+
Ubuntu 12.04 LTS
Hardware : MK802 ( a chip ARM )
login as root with password

答案1

尝试下载.deb从启动板下载文件并安装它。

相关内容