> /etc/init.d/mysql is part of the package mysql-server-5.1. You > only have mysql-server-core-5.1 installed, so I suspect the > script remains from a removed, but not purged package.
> mysql-server-5.1 is correctly depending on mysql-client-5.1, but > mysql-server-core-5.1 is not. I think the proper way to fix this > is not only let the init script check for the presence of mysqld, > but also for mysqladmin. The diagnosis above is almost correct, with the exception of what to check in the beginning of the init script. What that check is supposed to achieve is finding out if the package mysql-server-5.1 is installed or not, which should be done by checking for a file included in that package (mysqldamin is in mysql-client-5.1, checking for that would cause the same failure when both -core and -client are installed). The obvious candidate is /usr/bin/mysql_safe, which is what the maintainer has already commited into the mysql SVN repository, as visible at http://svn.debian.org/wsvn/pkg-mysql/?op=comp&compare[]=%2fmysql-dfsg-...@1897&compare[]=%2fmysql-dfsg-...@1898 I'm not sure why the maintainer has neither tagged this bug as pending or uploaded a fixed version.. -- Arto Jantunen -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org