package mysql-server-5.1 5.1.41-3ubuntu7 failed to install/upgrade: subprocess installed post-installation script killed by signal (Interrupt)

Bug #527275 reported by JPSanchez
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.1 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Description: Ubuntu lucid (development branch)
Release: 10.04
Failed to install mysql-server 5.1

I used synaptic to insall LAMP. When it tried to install mysql-server-5.1 it stalled (about 51%) of the installation. I had to kill (Ctrl+C) the operation, and the rest of the installation continued.

ProblemType: Package
Architecture: i386
Date: Wed Feb 24 13:03:52 2010
DistroRelease: Ubuntu 10.04
ErrorMessage: subprocess installed post-installation script killed by signal (Interrupt)
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113)
Logs.var.log.kern.log:
 Feb 23 19:40:43 jp-desktop kernel: [38843.346848] type=1505 audit(1266975643.819:19): operation="profile_load" pid=6451 name="/usr/sbin/mysqld"
 Feb 23 20:00:28 jp-desktop kernel: [ 6.968210] type=1505 audit(1266976828.935:14): operation="profile_load" pid=815 name="/usr/sbin/mysqld"
 Feb 24 12:07:25 jp-desktop kernel: [ 8.858827] type=1505 audit(1267034845.839:14): operation="profile_load" pid=906 name="/usr/sbin/mysqld"
 Feb 24 12:43:32 jp-desktop kernel: [ 9.498379] type=1505 audit(1267037012.485:14): operation="profile_load" pid=953 name="/usr/sbin/mysqld"
MySQLVarLibDirListing: ['debian-5.1.flag', 'ib_logfile1', 'ibdata1', 'mysql', 'mysql_upgrade_info', 'ib_logfile0', 'phpmyadmin']
NonfreeKernelModules: nvidia
Package: mysql-server-5.1 5.1.41-3ubuntu7
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.41-3ubuntu7 failed to install/upgrade: subprocess installed post-installation script killed by signal (Interrupt)
Uname: Linux 2.6.32-14-generic i686

Revision history for this message
JPSanchez (pediatracancun) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Did you set a mysql root password?

Regards
chuck

==========

Feb 24 13:10:33 jp-desktop mysqld[5838]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
Feb 24 13:10:33 jp-desktop mysqld[5838]: To do so, start the server, then issue the following commands:
Feb 24 13:10:33 jp-desktop mysqld[5838]:
Feb 24 13:10:33 jp-desktop mysqld[5838]: /usr/bin/mysqladmin -u root password 'new-password'
Feb 24 13:10:33 jp-desktop mysqld[5838]: /usr/bin/mysqladmin -u root -h jp-desktop password 'new-password'

Changed in mysql-dfsg-5.1 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Wouter Deconinck (wdconinc) wrote :

I had the same problem. In my case, it seems that the cause was that apparmor was blocking mysql. I had to run sudo aa-complain mysql before I could finish the configuration. I do not remember ever enabling aa-enforce for mysql (or for anything else, in fact).

Steps to reproduce:
  sudo aa-enforce mysql
  sudo apt-get install --reinstall mysql-server-5.1

Result: apt-get will stall at
  Preconfiguring packages ...
  (Reading database ... 339276 files and directories currently installed.)
  Preparing to replace mysql-server-5.1 5.1.41-3ubuntu7 (using .../mysql-server-5.1_5.1.41-3ubuntu7_i386.deb) ...
while trying to execute 'stop mysql' in the prerm script.

Work-around:
  sudo aa-complain mysql
  sudo apt-get install --reinstall mysql-server-5.1
gives the expected result.

Revision history for this message
fhloston (fhloston) wrote :

Getting the error when upgrading to mythbuntu 10.04

Revision history for this message
Mathias Gug (mathiaz) wrote :

How long have you waited before killing the installation?

Revision history for this message
JPSanchez (pediatracancun) wrote : Re: [Bug 527275] Re: package mysql-server-5.1 5.1.41-3ubuntu7 failed to install/upgrade: subprocess installed post-installation script killed by signal (Interrupt)

On 03/30/2010 02:36 PM, Mathias Gug wrote:
> How long have you waited before killing the installation?
>
>
With the latest update the problem solved.
May have been some bug in the kernel?

--

<../Im%C3%A1genes/ni%C3%B1os_todo_mundo.jpg>

DR. JUAN PEDRO SANCHEZ CAMPODONICO
Av. Tulum SM 2, M1, L36, Loc 2 y 3
Cancún, Q. Roo
México, 77500
Cons: (998)887-8636
Cel: 998-577-4411
Email: <email address hidden> <mailto:<email address hidden>>

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks closing the bug then.

Regards
chuck

Changed in mysql-dfsg-5.1 (Ubuntu):
status: Incomplete → Fix Released
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.