dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured

dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured

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

E: Sub-process /usr/bin/dpkg returned an error code (1)

解决方法:

删除mysql前 先删除一下 /var/lib/mysql 还有 /etc/mysql

sudo rm /var/lib/mysql/ -R

sudo rm /etc/mysql/ -R

sudo apt-get autoremove mysql* --purge

sudo apt-get remove apparmor

sudo apt-get install mysql-server mysql-common

dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured

时间: 2024-10-24 03:04:11

dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured的相关文章

dpkg: error processing package bluez (--configure) 解决方法【转】

转自:http://blog.csdn.net/heray1990/article/details/47803541 在 Ubuntu 执行 sudo apt-get upgrade 时,出现了如下的报错: Setting up bluez (4.101-0ubuntu13.1) ... reload: Job is not running: dbus invoke-rc.d: initscript dbus, action "force-reload" failed. start:

如何解决dpkg: error processing install-info

正在设置 install-info (5.2.0.dfsg.1-2) ... /etc/environment: line 2: CLASS_PATH: command not found dpkg: error processing package install-info (--configure): 子进程 已安装 post-installation 脚本 返回了错误号 127 E: Sub-process /usr/bin/dpkg returned an error code (1)

mysql error: (2006, 'MySQL server has gone away')

max_allowed_packet=16M wait_timeout=400000 interactive_timeout = 400000 vim /etc/my.cnf  mysqld 中加入上面的内容. mysql error: (2006, 'MySQL server has gone away')

ThinkPHP出现General error: 2006 MySQL server has gone away的解决方法

错误: #13 {main}SQLSTATE[HY000]: General error: 2006 MySQL server has gone awayFILE: \ThinkPHP\Library\Think\Db\Driver.class.php(169) 原因分析: 本次错误提示是在cli模式运行,隔一段时间就会出现,查询资料后发现mysql默认没隔8个小时(2880000秒)就会断开 解决方案,解决方式找了三个 方法1 配置mysql.cnf(windows系统则是my.ini),指定

mysql导入大批量数据时,出现ERROR : (2006, 'MySQL server has gone away')

mysql导入数据时,出现ERROR : (2006, 'MySQL server has gone away') 解决方案:官方解释是适当增大 max_allowed_packet 参数可以使client端到server端传递大数据时,系统能够分配更多的扩展内存来处理. 设置 max_allowed_packet = 256M (1024*1024*256) set global max_allowed_packet=268435456; 使用set global命令修改 max_allowe

dpkg: dependency problems prevent configuration of python-gi

Ubuntu server 12.04因为尝试安装过xfce,导致sudo apt-get install xxx 都会返回,如: 1 [email protected]:~$ sudo apt-get install phpunit 2 Reading package lists... Done 3 Building dependency tree 4 Reading state information... Done 5 phpunit is already the newest versi

error processing package oracle-java8-installer问题解决

ubuntu通过ppa源安装jdk时遇到如下问题: download failedOracle JDK 8 is NOT installed.dpkg: error processing package oracle-java8-installer (--configure): subprocess installed post-installation script returned error exit status 1Errors were encountered while proces

MySQL错误ERROR: 2006(MySQL server has gone away)的问题解决

MySQL偶尔报2006错误已处理(ERROR: 2006, 'MySQL server has gone away'). 经过日志分析,这次报错的原因是单个SQL的数据太大,超过了默认值1M,将参数max_allowed_packed调整为16M不再报错.

MySQL server has gone away

General error: 2006 MySQL server has gone away 发布: 来源: 添加日期:2014-10-02 23:00:56 浏览:146 评论:0 如果我们单看mysql提示MySQL server has gone away就是由于种种原因导致mysql当机了,导致MySQL server has gone away的原因有很多种,下面我来总结一下. 我自己人的经历:先简单介绍一下这个新手卡录入后台,这个后台是提供给产品人员使用,可以向某个游戏的某个特定分区