package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #383839 reported by Steve Riddett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.0 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Sorry if this is a dupe. I really can't tell if it is or not.

This report was semi-automatically generated.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess new pre-removal script returned error exit status 1
NonfreeKernelModules: nvidia
Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Steve Riddett (tmb-steve) wrote :
Revision history for this message
Mathias Gug (mathiaz) wrote :

Relevant error message:

Preparing to replace mysql-server 5.1.30really5.0.75-0ubuntu10 (using .../mysql-server_5.1.30really5.0.75-0ubuntu10.2_all.deb) ...
 * Stopping MySQL database server mysqld
   ...fail!
invoke-rc.d: initscript mysql, action "stop" failed.

Could you post the content of /var/log/daemon.log around the time of the upgrade to identify why mysqld failed to be stopped?

Changed in mysql-dfsg-5.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Riddett (tmb-steve) wrote :

This looks relevant: Let me know if you need more.

Jun 5 15:59:09 steve-blackubu904 /etc/mysql/debian-start[2479]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Jun 5 15:59:09 steve-blackubu904 /etc/mysql/debian-start[2479]: Running 'mysqlcheck'...
Jun 5 15:59:09 steve-blackubu904 /etc/mysql/debian-start[2479]: /usr/bin/mysqlcheck: Got error: 1045: Access denied for user 'debian-sys-maint'@'localhost' (using password: YES) when trying to connect
Jun 5 15:59:09 steve-blackubu904 /etc/mysql/debian-start[2479]: FATAL ERROR: Upgrade failed
Jun 5 15:59:09 steve-blackubu904 /etc/mysql/debian-start[2496]: Checking for insecure root accounts.

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

Relevant error message:

Jun 5 15:59:09 steve-blackubu904 /etc/mysql/debian-start[2479]: /usr/bin/mysqlcheck: Got error: 1045: Access denied for user 'debian-sys-maint'@'localhost' (using password: YES) when trying to connect

The debian-sys-maint user is required by the init script.

Revision history for this message
Steve Riddett (tmb-steve) wrote :

That's great - thanks for your help.

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.