Comment 32 for bug 153868

Revision history for this message
Ju (julianomfferreira) wrote : Re: [Bug 153868] Re: package mysql-server failed to install/upgrade - Access denied for user 'debian-sys-maint'@'localhost'

Lanoxx,

I'm not sure if there's a bug in my situation because when I upgraded to
mysql-server-5.1 the process don't override my /etc/mysql/my.cnf and my
router change my IP to 192.168.1.101 when It has been configured to
192.168.1.100. So after I write in /etc/rc.local the ifconfig 192.168.1.100
 command the problem never happen again!!

Thanks for your help!!

Have a nice weekend!!

On Fri, Feb 12, 2010 at 10:25 AM, LanoxxthShaddow <email address hidden> wrote:

> maybe the script could somehow check if the password in
> /etc/mysql/debian.cnf is still the same as in the mysql database, or if
> that doesnt work, then try to login as root and prompt the user for a
> password? After all this bug has been in existance now for two years and
> keeps surfacing all the time?
>
> Also the pre-removal script could give a more descriptive error such as:
> login with "debian-sys-maint" failed, check credentials.
>
> Oh, bug #501655 seems to be a duplicate.
> Cheers Lanoxx
>
> --
> package mysql-server failed to install/upgrade - Access denied for user
> 'debian-sys-maint'@'localhost'
> https://bugs.launchpad.net/bugs/153868
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “mysql-dfsg-5.0” package in Ubuntu: Triaged
> Status in “mysql-dfsg-5.1” package in Ubuntu: Triaged
>
> Bug description:
> I was just trying to update mysql-server, but it says, that "error: 'Access
> denied for user 'debian-sys-maint'@'localhost' (using password: YES)'"
>
> ProblemType: Package
> Architecture: i386
> Date: Thu Oct 18 13:33:13 2007
> DistroRelease: Ubuntu 7.10
> ErrorMessage: subprocess new pre-removal script returned error exit status
> 1
> Package: mysql-server-5.0 5.0.45-1ubuntu2
> PackageArchitecture: i386
> SourcePackage: mysql-dfsg-5.0
> Title: package mysql-server-5.0 5.0.45-1ubuntu2 failed to install/upgrade:
> subprocess new pre-removal script returned error exit status 1
> Uname: Linux lap 2.6.22-14-generic #1 SMP Wed Oct 10 06:00:47 GMT 2007 i686
> GNU/Linux
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/153868/+subscribe
>

--
Atenciosamente,
Juliano Maciel Ferreira
Software Developer - E-Programs
(48) 8403-5974 - skype: julianomfferreira