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

Bug #986085 reported by thomas
8
This bug affects 1 person
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-0ubuntu0.11.04.1
ProcVersionSignature: Ubuntu 2.6.38-13.56-generic 2.6.38.8
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-0ubuntu0.11.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 100
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
thomas (thomsebastin) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

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.

Changed in mysql-5.1 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.