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

Asked by diegoturcios

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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu mysql-5.5 Edit question
Assignee:
No assignee Edit question
Solved by:
diegoturcios
Solved:
Last query:
Last reply:
Revision history for this message
diegoturcios (diegoturcios) said :
#1

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

Revision history for this message
diegoturcios (diegoturcios) said :
#2

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

Revision history for this message
carmine garzillo (carminegarzillo) said :
#3

emacs-install: /usr/lib/emacsen-common/packages/install/ecb xemacs21 failed at /usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 19.
dpkg: errore nell'elaborare xemacs21-mule (--configure):
 il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
dpkg: problemi con le dipendenze impediscono la configurazione di ecb:
 ecb dipende da emacs23 | emacsen, ma:
  Il pacchetto emacs23 non è ancora configurato.
  Il pacchetto emacsen non è installato.
  Il pacchetto xemacs21-mule che fornisce emacsen non è ancora configurato.
  Il pacchetto emacs23 che fornisce emacsen non è ancora configurato.
dpkg: errore nell'elaborare ecb (--configure):
 problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di gcl:
 gcl dipende da emacs23 | emacsen, ma:
  Il pacchetto emacs23 non è ancora configurato.
  Il pacchetto emacsen non è installato.
  Il pacchetto xemacs21-mule che fornisce emacsen non è ancora configurato.
  Il pacchetto emacs23 che fornisce emacsen non è ancora configurato.
dpkg: errore nell'elaborare gcl (--configure):
 problemi con le dipendenze - lasciato non configurato
Segnalazione apport non scritta poiché il messaggio di errore indica la presenza di un fallimento precedente.
                             Segnalazione apport non scritta poiché è stato raggiunto il valore massimo di MaxReports
                                     Si sono verificati degli errori nell'elaborazione:
 emacs23
 xemacs21-mule
 ecb
 gcl
E: Sub-process /usr/bin/dpkg returned an error code (1)