我无法在ubuntu 9.10服务器计算机上安装mysql-server。当使用apt-get install mysql-server时,输出为:
# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 120 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up mysql-server-5.1 (5.1.37-1ubuntu5.4) ...
* Stopping MySQL database server
Mysqld [ OK ]
* Starting MySQL database server
mysqld [fail]
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--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.1; however:
Package mysql-server-5.1 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.1
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
我无法在任何地方找到令人满意的解决方案。许多站点要求重新安装它,但无法正常工作。
任何帮助将不胜感激。
谢谢..
尝试过使用智能吗?aptitude install mysql-server-5.1
—
Chris_O 2011年
是的..也尝试过,同样的错误。
—
Arihant
当SSH隧道使用端口3306时,安装mysql-server的症状非常相似。花了一段时间注意到,不会期望像这样的东西会破坏软件包的安装……
—
Famousgarkin