• 公告栏使用li标签,同时你可以使用FontAwesome以及其他HTML语法
  • FontAwesome示例
  • 艺术家用谎言揭露真相, 政治家用谎言掩盖真相。 @《V怪客/V字仇杀队》

dpkg: error processing mysql-server-5.5 (–configure)

菜鸟Linux笔记 shaobo 84次浏览 793字 0个评论

rm -rf /var/lib/mysql /etc/mysql ~/.mysql
apt-get --yes autoremove --purge mysql-server-5.5
apt-get --yes autoremove --purge mysql-client-5.5
apt-get --yes autoremove --purge mysql-common

deluser mysql
apt-get autoclean
apt-get update && apt-get upgrade
apt-get install mysql-server-5.5 mysql-client-5.5

NOTE: when you get 'dpkg: error...' please run step below:
$ dpkg --configure -a

Setting up mysql-server-5.5 (5.5.41-0ubuntu0.14.04.1) ...
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not found
ATTENTION: An error has occured. More info is in the syslog!
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 236: logger: command not found

dpkg: error processing package mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 127
after installing bsdutils,

apt-get install bsdutils
mysql installation passed normally


喜欢 (0)

您必须 登录 才能发表评论!