MySQL Update

Chris Jeffries chris at candm.org.uk
Wed Nov 12 13:51:53 UTC 2008


Sorry. I overlooked to include the install log.....


Preconfiguring packages ...
(Reading database ... 156891 files and directories currently installed.)
Preparing to replace mysql-server 5.0.51a-3ubuntu5.1
(using .../mysql-server_5.0.51a-3ubuntu5.3_all.deb) ...
 * Stopping MySQL database server mysqld
   ...fail!
invoke-rc.d: initscript mysql, action "stop" failed.
invoke-rc.d returned 1
There is a MySQL server running, but we failed in our attempts to stop
it.
Stop it yourself and try again!
dpkg: error
processing /var/cache/apt/archives/mysql-server_5.0.51a-3ubuntu5.3_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
dpkg: considering removing mysql-server in favour of
mysql-server-5.0 ...
dpkg: yes, will remove mysql-server in favour of mysql-server-5.0.
Preparing to replace mysql-server-5.0 5.0.51a-3ubuntu5.1
(using .../mysql-server-5.0_5.0.51a-3ubuntu5.3_i386.deb) ...
 * 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!
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: error
processing /var/cache/apt/archives/mysql-server-5.0_5.0.51a-3ubuntu5.3_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
 * Stopping MySQL database server mysqld
   ...fail!
invoke-rc.d: initscript mysql, action "stop" failed.
 * Starting MySQL database server mysqld
   ...done.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using
password: YES)'
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server_5.0.51a-3ubuntu5.3_all.deb
 /var/cache/apt/archives/mysql-server-5.0_5.0.51a-3ubuntu5.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:









More information about the ubuntu-users mailing list