[debian-mysql] Bug#577720: mysql-server-5.1: /etc/init.d/mysql still tries to start after uninstall

Thue Janus Kristensen thuejk at gmail.com
Tue Apr 13 21:17:10 UTC 2010


Package: mysql-server-5.1
Severity: normal

mysql-server-5.1 was automatically uninstalled during a routine
unstable "aptitude upgrade". This left "/etc/init.d/mysql" behind,
which I understand is in accordance with Debian policy for
configuration files.

However, /etc/init.d/mysql still tries to start mysql, without
realizing that the binaries are not longer present. Specifically, it
dies trying to run /usr/bin/mysqladmin .

The /etc/init.d/mysql script should do what other similar packages do,
and silently exit when it detects that it is not installed.

Regards, Thue

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mysql-server-5.1 depends on:
ii  adduser                 3.112            add and remove users and groups
ii  debconf [debconf-2.0]   1.5.31           Debian configuration management sy
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
pn  libdbi-perl             <none>           (no description available)
ii  libgcc1                 1:4.4.3-7        GCC support library
ii  libmysqlclient16        5.1.45-3         MySQL database client library
ii  libstdc++6              4.4.3-7          The GNU Standard C++ Library v3
ii  libwrap0                7.6.q-18         Wietse Venema's TCP wrappers libra
ii  lsb-base                3.2-23           Linux Standard Base 3.2 init scrip
pn  mysql-client-5.1        <none>           (no description available)
ii  mysql-common            5.1.45-3         MySQL database common files, e.g. 
ii  passwd                  1:4.1.4.2-1      change and administer password and
ii  perl                    5.10.1-12        Larry Wall's Practical Extraction 
ii  psmisc                  22.11-1          utilities that use the proc file s
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages mysql-server-5.1 recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
pn  libhtml-template-p <none>                (no description available)

Versions of packages mysql-server-5.1 suggests:
pn  tinyca                        <none>     (no description available)





More information about the pkg-mysql-maint mailing list