[Bug 860019] [NEW] package mysql-server-5.1 5.1.58-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Cat Red
860019 at bugs.launchpad.net
Mon Sep 26 20:40:06 UTC 2011
Public bug reported:
When trying to run mysql, I repeatedly got the error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
Since I couldn't seem to find any way to fix that problem, I attempted to remove and reinstall mysql:
>sudo apt-get remove mysql-server mysql-client mysql-common
>sudo apt-get install mysql-server mysql-client mysql-common
I'm running Ubuntu 11.10, and trying to install the default mysql, which
seems to be 5.1.58-ubuntu1.
I expected mysql to install. I got this error:
[...]
110926 16:28:55 [Note] Plugin 'FEDERATED' is disabled.
110926 16:28:55 InnoDB: Initializing buffer pool, size = 8.0M
110926 16:28:55 InnoDB: Completed initialization of buffer pool
110926 16:28:55 InnoDB: Started; log sequence number 0 44273
110926 16:28:55 InnoDB: Starting shutdown...
110926 16:29:01 InnoDB: Shutdown completed; log sequence number 0 44273
Skipping profile in /etc/apparmor.d/disable: usr.sbin.mysqld
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up mysql-client (5.1.58-1ubuntu1) ...
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.1; however:
Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
No apport report written because the error message indicates its a followup error from a previous failure.
ldconfig deferred processing now taking place
Errors were encountered while processing:
mysql-server-5.1
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: mysql-server-5.1 5.1.58-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Mon Sep 26 16:29:17 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: mysql-5.1
Title: package mysql-server-5.1 5.1.58-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to oneiric on 2011-09-13 (13 days ago)
modified.conffile..etc.mysql.conf.d.mysqld.safe.syslog.cnf: [deleted]
modified.conffile..etc.mysql.debian.start: [deleted]
** Affects: mysql-5.1 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package need-duplicate-check oneiric
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/860019
Title:
package mysql-server-5.1 5.1.58-1ubuntu1 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/860019/+subscriptions
More information about the Ubuntu-server-bugs
mailing list