package mysql-server-5.0 5.0.51a-3ubuntu5 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I tried : "sudo apt-get install mysql-server" in the terminal, I got the following output back:
===
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 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up mysql-server-5.0 (5.0.51a-3ubuntu5) ...
* Stopping MySQL database server mysqld [ OK ]
Reloading AppArmor profiles : done.
* Starting MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.0 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.0; however:
Package mysql-server-5.0 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
===
ProblemType: Package
Architecture: i386
Date: Wed Apr 2 15:30:13 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: mysql-server-5.0 5.0.51a-3ubuntu5
PackageArchitec
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.0.51a-3ubuntu5 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.24-12-generic i686
Well, as i can see it is a problem starting mysql, which is run from the postint, so it can be an error with the config files, can you please restart mysql and check if it works?