欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 运维知识 > 数据库 >内容正文

数据库

ubuntu dpkg mysql_ubuntu-12.04 – 在Ubuntu 12.04上无法启动MySQL5.5 – “dpkg:依赖问题”...

发布时间:2024/8/23 数据库 54 豆豆
生活随笔 收集整理的这篇文章主要介绍了 ubuntu dpkg mysql_ubuntu-12.04 – 在Ubuntu 12.04上无法启动MySQL5.5 – “dpkg:依赖问题”... 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

这似乎是12.04上的一个常见问题。我在

this thread尝试过,包括:

sudo apt-get clean

sudo apt-get autoclean

sudo apt-get remove --purge mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5

sudo apt-get install mysql-server

我仍然得到相同的旧错误。安装/启动MySql5.5如下所示:

apt-get install -f 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 0 not upgraded.

2 not fully installed or removed.

After this operation, 0 B of additional disk space will be used.

Do you want to continue [Y/n]? Y

Setting up mysql-server-5.5 (5.5.24-0ubuntu0.12.04.1) ...

120907 21:37:15 [Note] Plugin 'FEDERATED' is disabled.

120907 21:37:15 InnoDB: The InnoDB memory heap is disabled

120907 21:37:15 InnoDB: Mutexes and rw_locks use GCC atomic builtins

120907 21:37:15 InnoDB: Compressed tables use zlib 1.2.3.4

120907 21:37:15 InnoDB: Initializing buffer pool, size = 128.0M

120907 21:37:15 InnoDB: Completed initialization of buffer pool

120907 21:37:15 InnoDB: highest supported file format is Barracuda.

120907 21:37:15 InnoDB: Waiting for the background threads to start

120907 21:37:16 InnoDB: 1.1.8 started; log sequence number 154164236

120907 21:37:16 InnoDB: Starting shutdown...

120907 21:37:16 InnoDB: Shutdown completed; log sequence number 154164236

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

另外,dpkg-reconfigure mysql-server-5.5返回/ usr / sbin / dpkg-reconfigure:mysql-server-5.5已损坏或未完全安装

这里的最终目标是安装和配置Gitorious以使用Redmine,但我相信这个问题被隔离到Ubuntu 12.04和MySql5.5

总结

以上是生活随笔为你收集整理的ubuntu dpkg mysql_ubuntu-12.04 – 在Ubuntu 12.04上无法启动MySQL5.5 – “dpkg:依赖问题”...的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。