package mysql-server-5.1 5.1.61-0ubuntu0.11.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 100
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
unable to install mysql server 5.1
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: mysql-server-5.1 5.1.61-
ProcVersionSign
Uname: Linux 2.6.38-13-generic i686
AptOrdering:
mysql-server-5.1: Install
mysql-server-5.1: Configure
Architecture: i386
Date: Fri Apr 20 14:40:34 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 100
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: mysql-5.1
Title: package mysql-server-5.1 5.1.61-
UpgradeStatus: No upgrade log present (probably fresh install)
Hi thomas, thanks for taking the time to file a bug!
I think you may have accidentally removed a symlink from /etc/init.d:
mysql stop/waiting
invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
This symlink is needed for compatibility with things that still use the direct path to the init.d script to stop/start/etc.
You can restore it with
ln -s /lib/init/ upstart- job /etc/init.d/mysql
Please try that and then run
sudo dpkg --configure -a
To complete your package installation.
If the problem persists, please report back here the results of the dpkg --configure -a command. For now, I'll close this as Invalid, but feel free to re-open it as New.