I can confirm this bug, and that the solution from brian works. I have
summed it up, changed the bug description and set status to in progress,
since with this solution I was able to successfully upgrade Mysql.
Cheers Lanoxx
---Solution---
If the user is not in the database you can fix it with
*** This bug is a duplicate of bug 153868 ***
https://bugs.launchpad.net/bugs/153868
** This bug has been marked a duplicate of bug 153868
package mysql-server failed to install/upgrade - Access denied for user
'debian-sys-maint'@'localhost'
--
package mysql-server-5.1 5.1.37-1ubuntu5
The update appear to be failing because MySQL cannot be shutdown. I just
tried again and this time explicitly tried to first stop MySQL:
-- snip --
b...@apollo:~$ sudo /etc/init.d/mysql stop
* Stopping MySQL database server mysqld
OK, it looks like this user needs to be in MySQL's user table.
b...@apollo:/etc/mysql$ sudo cat debian.cnf
# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host = localhost
user = debian-sys-maint
password = XX
socket = /var/run/mysqld/mysqld.sock
@ Brian, you are right. I am right now able to pull up the web page
where I read about debian-sys-maint users, it said that Ubuntu uses
debian-sys-maint to update/upgrade MySQL installations. The bad thing
that happened with me was the update went fine and my MySQL
installation, MySQL.users table,
I just got this when running Update Manager.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION=Ubuntu 9.10
$ uname -a
Linux apollo 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010
x86_64 GNU/Linux
Changes for the versions:
As far as I can tell, my database files are not corrupted, and yet the
installation failed anyway.
I explicitly stopped MySQL with the following command:
sudo /etc/init.d/mysql stop
then tried the upgrade again, and it still failed with the same message
(see the bug summary).
--
package
I too faced this issue, last time my MySQL somehow got updated and I wasn't
able to login to MySQL server. MySQL db was corrupted, I had to kill MySQL
and then run mysqlupgrade script. Do I reply to your email or comment on
bugs.launchpad? I just noticed your email.
On 11 February 2010 02:12, Ben
Thanks closing then.
regards
chuck
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Status: Incomplete = Invalid
--
package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess
installed pre-removal script returned error exit status 1
https://bugs.launchpad.net/bugs/501655
You
I solved the problem. My mysql files and tabled where cirrupted so
mysqld had no chance to be stopped. That is why reinstallation crashed
--
package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess
installed pre-removal script returned error exit status 1
Hi,
I was wondering if you were still having this problem.
Regards
chuck
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Importance: Undecided = Low
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Status: New = Incomplete
--
package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade:
** Attachment added: .etc.apparmor.d.usr.sbin.mysqld.txt
http://launchpadlibrarian.net/37289959/.etc.apparmor.d.usr.sbin.mysqld.txt
** Attachment added: AptOrdering.txt
http://launchpadlibrarian.net/37289960/AptOrdering.txt
** Attachment added: Dependencies.txt
12 matches
Mail list logo