package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit code 1

Bug #1036043 reported by diegotc on 2012-08-13

This bug report was converted into a question: question #206026: package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit code 1.

10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-5.5 (Ubuntu)
Undecided
Unassigned

Bug Description

My sql stop working.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: mysql-server-5.5 5.5.24-0ubuntu0.12.04.1
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
AptOrdering:
 mysql-server-5.5: Install
 mysql-server-5.5: Configure
Architecture: amd64
Date: Sun Aug 12 23:44:04 2012
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
Logs.var.log.daemon.log:

Logs.var.log.kern.log:

MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['ib_logfile1', 'pizarron', 'ibdata1', 'smarthboard', 'debian-5.5.flag', 'debian-5.1.flag', 'fedena_ultimate', 'mysql', 'ib_logfile0', 'spellingbee', 'test', 'cakephp', 'performance_schema', 'mysql_upgrade_info', 'UserExcel']
SourcePackage: mysql-5.5
Title: package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
UpgradeStatus: Upgraded to precise on 2012-05-25 (79 days ago)
modified.conffile..etc.apparmor.d.usr.sbin.mysqld: [modified]
mtime.conffile..etc.apparmor.d.usr.sbin.mysqld: 2012-08-09T23:13:51.993941

diegotc (diegoturcios) wrote :
Ursula Junque (ursinha) wrote :

From the logs (translated from spanish):

Setting up mysql-server-5.5 (5.5.24-0ubuntu0.12.04.1) ...
AppArmor parser error for / etc / apparmor.d / usr.sbin.mysqld in / etc / apparmor.d / usr.sbin.mysqld in Line 40: syntax error, unexpected TOK_END_OF_RULE, expecting TOK_MODE
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 code 1

summary: package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to
- install/upgrade: el subproceso instalado el script post-installation
- devolvió el código de salida de error 1
+ install/upgrade: subprocess installed post-installation script returned
+ error exit code 1
diegotc (diegoturcios) wrote :

This problem appears after a mysql update. I suppose I got problems during the installation.

This is the solution for solving this problem.
sudo apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5
sudo apt-get autoremove
sudo apt-get autoclean

sudo rm -rf /etc/mysql

sudo apt-get install mysql-server mysql-common mysql-client

This answer I got it thanks to askubuntu.com.
Link http://askubuntu.com/questions/175820/problems-with-mysql-after-update-ubuntu-12-04-problem-solve

Changed in mysql-5.5 (Ubuntu):
status: New → Invalid
mattcsully (matt-matt-sullivan) wrote :

Thank you diegotc! That fixed the issue!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers