当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求助,安装mysql失败
帖子发表于 : 2015-11-06 9:33 

注册: 2015-09-09 12:52
帖子: 5
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
新买的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:~#


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求助,安装mysql失败
帖子发表于 : 2015-11-06 9:48 
头像

注册: 2011-03-20 13:12
帖子: 4519
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
引用:
说是少了bsdutils,但是我google了好久,没找到

这样不行么?
代码:
sudo apt-get install --reinstall bsdutils
sudo apt-get install --reinstall mysql-server


参考
http://askubuntu.com/questions/506243/mysql-strange-installations-problems-logger-command-not-found
http://ubuntuforums.org/showthread.php?t=2246433


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 求助,安装mysql失败
帖子发表于 : 2015-11-06 10:15 

注册: 2015-09-09 12:52
帖子: 5
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
vickycq 写道:
引用:
说是少了bsdutils,但是我google了好久,没找到

这样不行么?
代码:
sudo apt-get install --reinstall bsdutils
sudo apt-get install --reinstall mysql-server


参考
http://askubuntu.com/questions/506243/mysql-strange-installations-problems-logger-command-not-found
http://ubuntuforums.org/showthread.php?t=2246433

OK了,谢谢啦、 :em03


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 求助,安装mysql失败
帖子发表于 : 2015-11-06 10:19 

注册: 2015-09-09 12:52
帖子: 5
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
vickycq 写道:
引用:
说是少了bsdutils,但是我google了好久,没找到

这样不行么?
代码:
sudo apt-get install --reinstall bsdutils
sudo apt-get install --reinstall mysql-server


参考
http://askubuntu.com/questions/506243/mysql-strange-installations-problems-logger-command-not-found
http://ubuntuforums.org/showthread.php?t=2246433

搞定了,谢谢啦。 :em06


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 求助,安装mysql失败
帖子发表于 : 2015-11-06 10:21 

注册: 2015-09-09 12:52
帖子: 5
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
搞定了,谢谢楼上啦 :em06


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 0 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译