[debian-mysql] Bug#685865: thoughts

Nicholas Bamber nicholas at periapt.co.uk
Sat Sep 1 21:08:38 UTC 2012


severity 685865 normal
tag +wontfix -upstream
thanks



Andre,
	I've finally managed to read through the bug report after having a
difficult week or two. I would like to begin by reconstructing what
happened with your upgrade as indicated by term.log.

1.) From line 1180 to 1219 we see mysql-5.5 being unpacked
2.) From line 1264 to 1286 the actual installation happened and was
successful.
3.) From line 1332 it starts to purge mysql-server-5.5. (Why it should
do that is I think the principle mystery. And why a purge and not a remove?)
4.) Consequently at line 1333 it tries to stop the server. Unfortunately
it fails. This could be a bug but since I don't understand why it is
being removed in the first place I don't see it as an important one.
5.) At line 1339 it tries to start the server even though the stop
process clearly returned a failure and also even though it is apparently
trying to remove the package.
6.) At line 1340 it tries to remove mysql-workbench presumably because
it has decided to remove mysql.
7.) At line 1342 we get the glorious declaration "dpkg:
mysql-client-5.5: dependency problems, but removing anyway as you
requested:"
8.) At line 1345 it removes mysql-client-5.5.
9.) At line 1357 it reinstalls mysql-client-5.5.
10.) At line 1383 it tries again to install mysql-server-5.5. So first
of all it tries again to stop the server which again fails.
11.) From line 1393 it starts to get in a real mess. There is already a
mysqld process running which has a lock on the ./ibdata files and so on.
12.) By line 1717 the mysqld process has given up trying to register the
InnoDB engine. So now it becomes clear that the innodb comments are
symptons and not the root cause.


So it strongly seems to me that the questions that first need to be
answered are what did your package manager software think it was doing?
Until someone can demonstrate this problem using just apt or at least
explain why it tried to remove the mysql software after and as part of
an upgrade I am downgrading and marking it "will not fix". I await
further information.



More information about the pkg-mysql-maint mailing list