package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
In Progress
|
Low
|
Unassigned |
Bug Description
Upgrading or shutting down mysql fails with exit status 1. This is due to a missing system-maintainer user in the mysql user database. To reproduce this bug, ensure that the user "debian-sys-maint" is not in the mysql.user database.
---Problem---
Changes for the versions:
5.1.37-1ubuntu5
5.1.37-1ubuntu5.1
Error alert said:
E: /var/cache/
bip@apollo:~$ sudo /etc/init.d/mysql stop
* Stopping MySQL database server mysqld [fail]
bip@apollo:~$ sudo /etc/init.d/mysql status
/usr/bin/
error: 'Access denied for user 'debian-
*bip@apollo:~$ sudo /etc/init.d/mysql status
/usr/bin/
error: 'Access denied for user 'debian-
-- snip --/usPreparing to replace mysql-server-5.1 5.1.37-1ubuntu5 (using .../mysql-
* Stopping MySQL database server mysqld
...fail!
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping MySQL database server mysqld
...fail!
Hi,
I was wondering if you were still having this problem.
Regards
chuck