package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

Bug #465665 reported by Kris
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.1 (Ubuntu)
Invalid
Low
Unassigned

Bug Description

I was installing using "tasksel install lamp-server"

ProblemType: Package
Architecture: i386
Date: Sat Oct 31 00:00:52 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: mysql-server-5.1 (not installed)
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic-pae
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Uname: Linux 2.6.31-14-generic-pae i686

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

Hi,

The DpkgTerminalLog seems to be have cut off. I was wondering if you ran out of disk space?

Regards
chuck

Changed in mysql-dfsg-5.1 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
TonyC (tony-cola) wrote :

I just got the same error. The only difference is that I was not using tasksel, but had just typed the following command:
 sudo apt-get install lamp-server^
Seems very likely that this is the same error though. In response to the disk space question above, I have almost 100gigs of free space, and I have 3gigs of ram, so disk space should not have been a problem.

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

Could you please provide the following information:

 * content of /var/log/daemon.log related to mysql processes:

    /var/log/daemon.log

 * apparmor audit messages related to mysqld:

    /var/log/kern.log

 * mysqld apparmor profile:

    /etc/apparmor.d/usr.sbin.mysqld

 * list of mysqld apparmor profiles:

    ls -l /etc/apparmor.d/usr.sbin.mysqld*

 * mysql configuration stripped of private information (such as password):

    /etc/mysql/my.cnf

 * extra mysql configuration from the conf.d directory:

    /etc/mysql/conf.d/

 * directory listing of mysql datadir (by default /var/lib/mysql):

    ls -l /var/lib/mysql

Revision history for this message
loke (developer-loke) wrote :

Sorry, I do not have any of that any more, because I was able to install it with some tweaking. The problem was that the mysql service was not stoppable, even after rebooting. So I just killed the process, and then the process went OK.

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

Closing then.

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