求助,安装mysql失败

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
xddpzc
帖子: 5
注册时间: 2015-09-09 12:52
系统: ubuntu14.04

求助,安装mysql失败

#1

帖子 xddpzc » 2015-11-06 9:33

新买的VPS,安装mysql时,老是出现这样的错误,安装前已经运行apt-get update了。我同学以前帮我解决过一次,说是少了bsdutils,但是我google了好久,没找到,现在联系不上他,请帮帮忙,谢谢了。
root@ceshivps:~# 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 34 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.46-0ubuntu0.14.04.2) ...
/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
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 package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ceshivps:~#
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 求助,安装mysql失败

#2

帖子 vickycq » 2015-11-06 9:48

说是少了bsdutils,但是我google了好久,没找到
这样不行么?

代码: 全选

sudo apt-get install --reinstall bsdutils
sudo apt-get install --reinstall mysql-server
参考
http://askubuntu.com/questions/506243/m ... -not-found
http://ubuntuforums.org/showthread.php?t=2246433
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
xddpzc
帖子: 5
注册时间: 2015-09-09 12:52
系统: ubuntu14.04

Re: 求助,安装mysql失败

#3

帖子 xddpzc » 2015-11-06 10:15

vickycq 写了:
说是少了bsdutils,但是我google了好久,没找到
这样不行么?

代码: 全选

sudo apt-get install --reinstall bsdutils
sudo apt-get install --reinstall mysql-server
参考
http://askubuntu.com/questions/506243/m ... -not-found
http://ubuntuforums.org/showthread.php?t=2246433
OK了,谢谢啦、 :em03
xddpzc
帖子: 5
注册时间: 2015-09-09 12:52
系统: ubuntu14.04

Re: 求助,安装mysql失败

#4

帖子 xddpzc » 2015-11-06 10:19

vickycq 写了:
说是少了bsdutils,但是我google了好久,没找到
这样不行么?

代码: 全选

sudo apt-get install --reinstall bsdutils
sudo apt-get install --reinstall mysql-server
参考
http://askubuntu.com/questions/506243/m ... -not-found
http://ubuntuforums.org/showthread.php?t=2246433
搞定了,谢谢啦。 :em06
xddpzc
帖子: 5
注册时间: 2015-09-09 12:52
系统: ubuntu14.04

Re: 求助,安装mysql失败

#5

帖子 xddpzc » 2015-11-06 10:21

搞定了,谢谢楼上啦 :em06
回复